Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 292.3 MB / 308.1 MB, free: 4.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001403/0.001403, allocations: 176.5 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.59/1.59, allocations: 205 MB / 0.6353 GB, free: 9.793 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 91.27 kB / 0.748 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001266, allocations: 55.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3513, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.007145/0.3585, allocations: 3.107 MB / 0.9853 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004356/0.3629, allocations: 1.977 MB / 0.9872 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000346/0.3633, allocations: 4 kB / 0.9872 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.001349/0.3647, allocations: 263.1 kB / 0.9874 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0007599/0.3654, allocations: 183.2 kB / 0.9876 GB, free: 4.828 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009028/0.3664, allocations: 211.5 kB / 0.9878 GB, free: 4.621 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000741/0.3671, allocations: 450.7 kB / 0.9882 GB, free: 4.18 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004974/0.3676, allocations: 169.2 kB / 0.9884 GB, free: 4.008 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003444/0.368, allocations: 115.6 kB / 0.9885 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005001/0.3685, allocations: 147.4 kB / 0.9887 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 5.472e-05/0.3686, allocations: 16 kB / 0.9887 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009864/0.3696, allocations: 475.1 kB / 0.9891 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001611/0.3697, allocations: 79.78 kB / 0.9892 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.3699, allocations: 107.4 kB / 0.9893 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.3711, allocations: 0.4908 MB / 0.9898 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3711, allocations: 4 kB / 0.9898 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.542e-06/0.3711, allocations: 0 / 0.9898 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.612e-05/0.3711, allocations: 0 / 0.9898 GB, free: 2.59 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001481/0.3726, allocations: 0.5575 MB / 0.9903 GB, free: 1.984 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/0.3727, allocations: 16.02 kB / 0.9903 GB, free: 1.969 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000961/0.3737, allocations: 112.4 kB / 0.9905 GB, free: 1.859 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004708/0.3741, allocations: 254.9 kB / 0.9907 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.3742, allocations: 20.8 kB / 0.9907 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.587e-05/0.3742, allocations: 16.38 kB / 0.9907 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006265/0.3749, allocations: 361.2 kB / 0.9911 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.3749, allocations: 0 / 0.9911 GB, free: 1.164 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.019e-05/0.3749, allocations: 12 kB / 0.9911 GB, free: 1.152 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.632e-05/0.375, allocations: 28.41 kB / 0.9911 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004923/0.3755, allocations: 293.5 kB / 0.9914 GB, free: 0.8398 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002573/0.3781, allocations: 1.737 MB / 0.9931 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.3786, allocations: 318.2 kB / 0.9934 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001775/0.3788, allocations: 109.6 kB / 0.9935 GB, free: 14.47 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001467/0.379, allocations: 93.33 kB / 0.9936 GB, free: 14.36 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.379, allocations: 38.55 kB / 0.9936 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.535e-06/0.379, allocations: 96 / 0.9936 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.002813/0.3819, allocations: 0.9661 MB / 0.9946 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.807e-05/0.3819, allocations: 92.98 kB / 0.9947 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.3822, allocations: 208.5 kB / 0.9949 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.3823, allocations: 29.7 kB / 0.9949 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.3824, allocations: 172 kB / 0.995 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.781e-05/0.3825, allocations: 82.84 kB / 0.9951 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000139/0.3827, allocations: 61.61 kB / 0.9952 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3829, allocations: 330.8 kB / 0.9955 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.3831, allocations: 131.9 kB / 0.9956 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.3834, allocations: 205.4 kB / 0.9958 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004899/0.3839, allocations: 365.2 kB / 0.9962 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3839, allocations: 0 / 0.9962 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008791/0.3848, allocations: 0.5122 MB / 0.9967 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.3848, allocations: 4 kB / 0.9967 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3849, allocations: 4 kB / 0.9967 GB, free: 11.01 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005531/0.3854, allocations: 155.3 kB / 0.9968 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002584/0.3857, allocations: 64 kB / 0.9969 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/0.389, allocations: 3.973 MB / 1.001 GB, free: 6.492 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.3893, allocations: 15.98 kB / 1.001 GB, free: 6.477 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.361e-05/0.3893, allocations: 15.98 kB / 1.001 GB, free: 6.461 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002173/0.3895, allocations: 165.9 kB / 1.001 GB, free: 6.289 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.505e-05/0.3896, allocations: 19.81 kB / 1.001 GB, free: 6.27 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008885/0.3905, allocations: 482.3 kB / 1.001 GB, free: 5.785 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.3905, allocations: 4 kB / 1.001 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3905, allocations: 0 / 1.001 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3906, allocations: 0 / 1.001 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.3923, allocations: 1.011 MB / 1.002 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.3924, allocations: 0 / 1.002 GB, free: 4.676 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.3925, allocations: 35.92 kB / 1.002 GB, free: 4.641 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004474/0.3929, allocations: 147.6 kB / 1.003 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.667e-05/0.393, allocations: 11.94 kB / 1.003 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003248/0.3962, allocations: 3.949 MB / 1.006 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.3963, allocations: 256 / 1.006 GB, free: 212 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.3976, allocations: 1.361 MB / 1.008 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.3978, allocations: 120.9 kB / 1.008 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.3978, allocations: 8 kB / 1.008 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002319/0.3981, allocations: 23.98 kB / 1.008 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.531e-05/0.3982, allocations: 27.89 kB / 1.008 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.3982, allocations: 15.92 kB / 1.008 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000161/0.3984, allocations: 157.5 kB / 1.008 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.883e-06/0.3984, allocations: 4 kB / 1.008 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0007218/0.3991, allocations: 87.94 kB / 1.008 GB, free: 14.3 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002817/0.3994, allocations: 143.1 kB / 1.008 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.4004, allocations: 0.5837 MB / 1.009 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4005, allocations: 0 / 1.009 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0005253/0.401, allocations: 393.2 kB / 1.009 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005412/0.4015, allocations: 36.92 kB / 1.009 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.403, allocations: 0.936 MB / 1.01 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.4034, allocations: 0.7947 MB / 1.011 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001848/0.4036, allocations: 58.25 kB / 1.011 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.801e-05/0.4036, allocations: 27.42 kB / 1.011 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of SimCode: time 3.41e-07/0.4036, allocations: 0 / 1.011 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of Templates: time 0.008129/0.4118, allocations: 4.147 MB / 1.015 GB, free: 7.055 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)