Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009116/0.0009116, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.00121/0.00121, allocations: 176.8 kB / 16.27 MB, free: 6.664 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.413/1.413, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.793/2.793, allocations: 473.4 MB / 0.7469 GB, free: 6.098 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005196/0.0005194, allocations: 9.891 kB / 0.9158 GB, free: 33.19 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4012, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007179/0.4084, allocations: 5.746 MB / 1.08 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00535/0.4138, allocations: 3.161 MB / 1.083 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006317/0.4145, allocations: 27.81 kB / 1.083 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0004886/0.415, allocations: 115 kB / 1.083 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.4163, allocations: 442 kB / 1.083 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001259/0.4176, allocations: 462.3 kB / 1.084 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.001707/0.4193, allocations: 1.463 MB / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.4212, allocations: 0.9884 MB / 1.086 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006797/0.4219, allocations: 362.3 kB / 1.087 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007565/0.4226, allocations: 450.1 kB / 1.087 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.4228, allocations: 32 kB / 1.087 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001003/0.4238, allocations: 0.5692 MB / 1.088 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002776/0.4241, allocations: 259.2 kB / 1.088 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004492/0.4245, allocations: 391.6 kB / 1.088 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001403/0.4259, allocations: 1.16 MB / 1.089 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4259, allocations: 0 / 1.089 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.433e-06/0.426, allocations: 4 kB / 1.089 GB, free: 7.91 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.098e-05/0.426, allocations: 4 kB / 1.089 GB, free: 7.906 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001649/0.4277, allocations: 0.9154 MB / 1.09 GB, free: 6.938 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.4277, allocations: 8.031 kB / 1.09 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.4293, allocations: 223.6 kB / 1.09 GB, free: 6.711 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007923/0.4301, allocations: 0.5415 MB / 1.091 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.103e-05/0.4301, allocations: 45.69 kB / 1.091 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.4303, allocations: 68.34 kB / 1.091 GB, free: 6.027 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.4317, allocations: 1.034 MB / 1.092 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.4317, allocations: 7.906 kB / 1.092 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.938e-05/0.4318, allocations: 31.97 kB / 1.092 GB, free: 4.84 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.075e-05/0.4319, allocations: 77.2 kB / 1.092 GB, free: 4.766 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.4329, allocations: 0.6956 MB / 1.093 GB, free: 4.07 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004743/0.4377, allocations: 5.76 MB / 1.099 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008336/0.4385, allocations: 0.602 MB / 1.099 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007447/0.4393, allocations: 420.6 kB / 1.1 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.4393, allocations: 4 kB / 1.1 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.242e-05/0.4394, allocations: 34.56 kB / 1.1 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=41): time 2.294e-06/0.4394, allocations: 0 / 1.1 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of matching and sorting (n=42): time 0.004387/0.4438, allocations: 2.072 MB / 1.102 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.4438, allocations: 59.41 kB / 1.102 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004738/0.4443, allocations: 462.8 kB / 1.102 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.4444, allocations: 33.7 kB / 1.102 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002305/0.4446, allocations: 383 kB / 1.102 GB, free: 9.656 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.4447, allocations: 149.9 kB / 1.103 GB, free: 9.508 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-05/0.4448, allocations: 53.7 kB / 1.103 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.4449, allocations: 366.8 kB / 1.103 GB, free: 9.082 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.4453, allocations: 241.2 kB / 1.103 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004795/0.4458, allocations: 461 kB / 1.104 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008945/0.4467, allocations: 0.7558 MB / 1.104 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4467, allocations: 4 kB / 1.104 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001802/0.4485, allocations: 1.07 MB / 1.105 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.4485, allocations: 8 kB / 1.105 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.4485, allocations: 11.94 kB / 1.105 GB, free: 6.336 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.4496, allocations: 327.2 kB / 1.106 GB, free: 6.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.4499, allocations: 91.83 kB / 1.106 GB, free: 5.914 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00653/0.4564, allocations: 6.958 MB / 1.113 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004417/0.4569, allocations: 28.03 kB / 1.113 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/0.4569, allocations: 24 kB / 1.113 GB, free: 14.36 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003466/0.4573, allocations: 257.5 kB / 1.113 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/0.4574, allocations: 59.25 kB / 1.113 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.4592, allocations: 0.916 MB / 1.114 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.4592, allocations: 4 kB / 1.114 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4592, allocations: 4 kB / 1.114 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.4592, allocations: 3.984 kB / 1.114 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002575/0.4618, allocations: 1.714 MB / 1.116 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.4618, allocations: 0 / 1.116 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.462, allocations: 39.97 kB / 1.116 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009515/0.4629, allocations: 327.2 kB / 1.116 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.463, allocations: 12 kB / 1.116 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006661/0.4696, allocations: 6.939 MB / 1.123 GB, free: 3.438 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4697, allocations: 3.938 kB / 1.123 GB, free: 3.434 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001721/0.4714, allocations: 1.015 MB / 1.124 GB, free: 2.371 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002391/0.4717, allocations: 176.3 kB / 1.124 GB, free: 2.18 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.045e-05/0.4717, allocations: 8 kB / 1.124 GB, free: 2.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.472, allocations: 19.97 kB / 1.124 GB, free: 2.152 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.4721, allocations: 47.94 kB / 1.124 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.4722, allocations: 11.94 kB / 1.124 GB, free: 2.094 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003311/0.4725, allocations: 310.9 kB / 1.124 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4725, allocations: 0 / 1.124 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000772/0.4733, allocations: 196 kB / 1.124 GB, free: 1.602 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001583/0.4734, allocations: 111.2 kB / 1.125 GB, free: 1.48 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001769/0.4752, allocations: 1.206 MB / 1.126 GB, free: 228 kB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4752, allocations: 3.938 kB / 1.126 GB, free: 224 kB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.4764, allocations: 0.866 MB / 1.127 GB, free: 15.3 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.4775, allocations: 194.6 kB / 1.127 GB, free: 15.11 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.4795, allocations: 1.55 MB / 1.128 GB, free: 13.52 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005395/0.48, allocations: 0.9921 MB / 1.129 GB, free: 12.5 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002801/0.4803, allocations: 101.3 kB / 1.129 GB, free: 12.41 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-05/0.4804, allocations: 39.44 kB / 1.129 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of SimCode: time 3.51e-07/0.4804, allocations: 0 / 1.129 GB, free: 12.37 MB / 0.8887 GB Notification: Performance of Templates: time 0.01547/0.4959, allocations: 9.473 MB / 1.139 GB, free: 2.988 MB / 0.8887 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)