Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001556/0.001557, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001829/0.001829, allocations: 192.2 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 239.9 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.811/2.811, allocations: 472.6 MB / 0.7448 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 66.88 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3683, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008878/0.3772, allocations: 6.817 MB / 1.074 GB, free: 4.012 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.006845/0.3841, allocations: 3.055 MB / 1.077 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.3855, allocations: 27.81 kB / 1.077 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.003006/0.3885, allocations: 0.8914 MB / 1.078 GB, free: 24 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001731/0.3903, allocations: 473.7 kB / 1.079 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001464/0.3917, allocations: 410.7 kB / 1.079 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001916/0.3937, allocations: 1.228 MB / 1.08 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001335/0.395, allocations: 0.7328 MB / 1.081 GB, free: 13.19 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001049/0.3961, allocations: 478.3 kB / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.3971, allocations: 0.537 MB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.3973, allocations: 68 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009853/0.3983, allocations: 375.3 kB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0004145/0.3988, allocations: 315.1 kB / 1.083 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0007091/0.3995, allocations: 453.7 kB / 1.083 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.00177/0.4013, allocations: 1.23 MB / 1.084 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4013, allocations: 7.938 kB / 1.084 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.913e-06/0.4013, allocations: 0 / 1.084 GB, free: 9.75 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.167e-05/0.4013, allocations: 0 / 1.084 GB, free: 9.75 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.0024/0.4037, allocations: 1.165 MB / 1.085 GB, free: 8.531 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.4038, allocations: 8.031 kB / 1.085 GB, free: 8.523 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001683/0.4055, allocations: 239.6 kB / 1.086 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009022/0.4064, allocations: 0.5568 MB / 1.086 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.4065, allocations: 45.69 kB / 1.086 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001108/0.4066, allocations: 64.36 kB / 1.086 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.4082, allocations: 1.085 MB / 1.087 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.4082, allocations: 7.938 kB / 1.087 GB, free: 6.391 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.715e-05/0.4083, allocations: 27.98 kB / 1.087 GB, free: 6.363 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.4085, allocations: 85.25 kB / 1.088 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001226/0.4097, allocations: 0.7582 MB / 1.088 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005607/0.4153, allocations: 5.901 MB / 1.094 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009715/0.4163, allocations: 0.5594 MB / 1.095 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/0.4167, allocations: 322 kB / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.4168, allocations: 4.438 kB / 1.095 GB, free: 14.3 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.4168, allocations: 39 kB / 1.095 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=47): time 2.555e-06/0.4168, allocations: 0 / 1.095 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.003832/0.4207, allocations: 1.99 MB / 1.097 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.4208, allocations: 59.84 kB / 1.097 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006965/0.4215, allocations: 0.5665 MB / 1.097 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.931e-05/0.4215, allocations: 29.7 kB / 1.098 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002863/0.4218, allocations: 418.9 kB / 1.098 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.4219, allocations: 173.6 kB / 1.098 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002194/0.4222, allocations: 130.5 kB / 1.098 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4223, allocations: 378.7 kB / 1.099 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004196/0.4228, allocations: 273.8 kB / 1.099 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005575/0.4233, allocations: 497 kB / 1.099 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.4244, allocations: 0.8093 MB / 1.1 GB, free: 8.629 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.4244, allocations: 8 kB / 1.1 GB, free: 8.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00182/0.4262, allocations: 1.082 MB / 1.101 GB, free: 7.516 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.4263, allocations: 10.75 kB / 1.101 GB, free: 7.508 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.4263, allocations: 4 kB / 1.101 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008556/0.4271, allocations: 279.2 kB / 1.101 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.4276, allocations: 127.7 kB / 1.102 GB, free: 7.094 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006614/0.4342, allocations: 7.149 MB / 1.109 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006527/0.4349, allocations: 35.97 kB / 1.109 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.56e-05/0.435, allocations: 32 kB / 1.109 GB, free: 15.31 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * 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): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004508/0.4355, allocations: 249.5 kB / 1.109 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001766/0.4357, allocations: 75.14 kB / 1.109 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.4373, allocations: 0.8887 MB / 1.11 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.4373, allocations: 4 kB / 1.11 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.4373, allocations: 7.984 kB / 1.11 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.4373, allocations: 0 / 1.11 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002738/0.4401, allocations: 1.729 MB / 1.111 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.4401, allocations: 4 kB / 1.111 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.4404, allocations: 59.83 kB / 1.112 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000712/0.4411, allocations: 263.2 kB / 1.112 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.4411, allocations: 12 kB / 1.112 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00641/0.4476, allocations: 7.134 MB / 1.119 GB, free: 4.211 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.4476, allocations: 4.031 kB / 1.119 GB, free: 4.207 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001693/0.4493, allocations: 0.9834 MB / 1.12 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00033/0.4496, allocations: 196.1 kB / 1.12 GB, free: 2.961 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.053e-05/0.4497, allocations: 16 kB / 1.12 GB, free: 2.945 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.4501, allocations: 31.91 kB / 1.12 GB, free: 2.914 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.4502, allocations: 39.94 kB / 1.12 GB, free: 2.875 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.445e-05/0.4503, allocations: 16 kB / 1.12 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004701/0.4507, allocations: 391 kB / 1.12 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4507, allocations: 0 / 1.12 GB, free: 2.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000922/0.4517, allocations: 228 kB / 1.121 GB, free: 2.258 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 27 * 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): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001851/0.4519, allocations: 119.1 kB / 1.121 GB, free: 2.129 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002452/0.4543, allocations: 1.338 MB / 1.122 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4543, allocations: 0 / 1.122 GB, free: 0.7422 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.4557, allocations: 0.8857 MB / 1.123 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.4568, allocations: 216 kB / 1.123 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002558/0.4594, allocations: 1.645 MB / 1.125 GB, free: 13.91 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006694/0.46, allocations: 1.02 MB / 1.126 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004502/0.4605, allocations: 126 kB / 1.126 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.4606, allocations: 47.42 kB / 1.126 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of SimCode: time 1.072e-06/0.4606, allocations: 0 / 1.126 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of Templates: time 0.02308/0.4837, allocations: 11.26 MB / 1.137 GB, free: 1.562 MB / 0.8887 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)