Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0008964/0.0008967, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.007605/0.007605, allocations: 170.6 kB / 16.26 MB, free: 6.613 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.505/1.505, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.069/3.069, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004076/0.0004077, allocations: 13.41 kB / 0.9158 GB, free: 32.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3263, allocations: 162.2 MB / 1.074 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03409/0.3604, allocations: 31.55 MB / 1.105 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01694/0.3774, allocations: 10.17 MB / 1.115 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002925/0.3804, allocations: 127.3 kB / 1.115 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001817/0.3822, allocations: 0.6318 MB / 1.116 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.004983/0.3872, allocations: 1.747 MB / 1.117 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006296/0.3935, allocations: 1.754 MB / 1.119 GB, free: 9.461 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0118/0.4054, allocations: 10.57 MB / 1.129 GB, free: 14.86 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02036/0.4258, allocations: 12.07 MB / 1.141 GB, free: 2.684 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004718/0.4305, allocations: 2.233 MB / 1.143 GB, free: 452 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005108/0.4357, allocations: 2.97 MB / 1.146 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0008648/0.4366, allocations: 268 kB / 1.146 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00372/0.4403, allocations: 1.696 MB / 1.148 GB, free: 11.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002612/0.4429, allocations: 2.054 MB / 1.15 GB, free: 9.441 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003693/0.4466, allocations: 2.338 MB / 1.152 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.4585, allocations: 9.664 MB / 1.162 GB, free: 13.39 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4585, allocations: 0 / 1.162 GB, free: 13.39 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.334e-06/0.4585, allocations: 0 / 1.162 GB, free: 13.39 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0002987/0.4588, allocations: 4 kB / 1.162 GB, free: 13.38 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.009047/0.4679, allocations: 4.015 MB / 1.166 GB, free: 9.301 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.468, allocations: 12.03 kB / 1.166 GB, free: 9.289 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005858/0.4738, allocations: 0.9551 MB / 1.167 GB, free: 8.328 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005823/0.4797, allocations: 2.851 MB / 1.17 GB, free: 5.418 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002713/0.48, allocations: 349.7 kB / 1.17 GB, free: 5.074 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/0.4811, allocations: 468.2 kB / 1.17 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01527/0.4964, allocations: 7.667 MB / 1.178 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001359/0.4966, allocations: 23.78 kB / 1.178 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005149/0.4971, allocations: 208 kB / 1.178 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003567/0.4974, allocations: 309 kB / 1.178 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01083/0.5083, allocations: 5.71 MB / 1.184 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03751/0.5458, allocations: 35.14 MB / 1.218 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002849/0.5487, allocations: 2.158 MB / 1.22 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001657/0.5504, allocations: 1.261 MB / 1.222 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.51e-05/0.5505, allocations: 13.31 kB / 1.222 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/0.5505, allocations: 63.8 kB / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=133): time 2.986e-06/0.5505, allocations: 0 / 1.222 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of matching and sorting (n=136): time 0.01499/0.5655, allocations: 7.124 MB / 1.229 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.5656, allocations: 68.72 kB / 1.229 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.5677, allocations: 1.488 MB / 1.23 GB, free: 3.355 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.806e-05/0.5678, allocations: 45.7 kB / 1.23 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001261/0.569, allocations: 2 MB / 1.232 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004129/0.5694, allocations: 489 kB / 1.233 GB, free: 0.793 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.5697, allocations: 153.6 kB / 1.233 GB, free: 0.6367 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.594e-05/0.5698, allocations: 305.1 kB / 1.233 GB, free: 344 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.5711, allocations: 0.9096 MB / 1.234 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001766/0.5729, allocations: 1.597 MB / 1.235 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003339/0.5762, allocations: 2.737 MB / 1.238 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/0.5762, allocations: 4 kB / 1.238 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006192/0.5824, allocations: 3.542 MB / 1.242 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.5825, allocations: 12 kB / 1.242 GB, free: 6.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.884e-05/0.5825, allocations: 24 kB / 1.242 GB, free: 6.844 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002637/0.5852, allocations: 0.9 MB / 1.242 GB, free: 5.906 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.5864, allocations: 351.4 kB / 1.243 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6841/1.27, allocations: 21.22 MB / 1.264 GB, free: 149.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/1.272, allocations: 112.1 kB / 1.264 GB, free: 149.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001802/1.272, allocations: 85.16 kB / 1.264 GB, free: 149.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002444/1.275, allocations: 1.607 MB / 1.265 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/1.275, allocations: 203.2 kB / 1.265 GB, free: 149.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004997/1.28, allocations: 2.992 MB / 1.268 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.085e-05/1.28, allocations: 15.75 kB / 1.268 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.537e-05/1.28, allocations: 8.438 kB / 1.268 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.703e-05/1.28, allocations: 10.88 kB / 1.268 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/1.292, allocations: 7.333 MB / 1.276 GB, free: 145 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/1.292, allocations: 5.375 kB / 1.276 GB, free: 145 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008499/1.292, allocations: 185.5 kB / 1.276 GB, free: 144.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002462/1.295, allocations: 0.8236 MB / 1.277 GB, free: 144.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/1.295, allocations: 26.19 kB / 1.277 GB, free: 144.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01619/1.311, allocations: 20.33 MB / 1.296 GB, free: 127 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/1.311, allocations: 9.156 kB / 1.296 GB, free: 127 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005589/1.317, allocations: 3.022 MB / 1.299 GB, free: 125.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.318, allocations: 463.7 kB / 1.3 GB, free: 125.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/1.318, allocations: 26.89 kB / 1.3 GB, free: 125.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000836/1.319, allocations: 73.88 kB / 1.3 GB, free: 125.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004538/1.319, allocations: 127.2 kB / 1.3 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.962e-05/1.32, allocations: 39.03 kB / 1.3 GB, free: 125.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001449/1.321, allocations: 0.9745 MB / 1.301 GB, free: 125 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.321, allocations: 0 / 1.301 GB, free: 125 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003043/1.324, allocations: 0.7882 MB / 1.302 GB, free: 125 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002746/1.324, allocations: 147.6 kB / 1.302 GB, free: 124.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005467/1.33, allocations: 4.024 MB / 1.306 GB, free: 122.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.33, allocations: 1.312 kB / 1.306 GB, free: 122.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003402/1.333, allocations: 2.742 MB / 1.309 GB, free: 120.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004202/1.338, allocations: 0.6693 MB / 1.309 GB, free: 120.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/1.35, allocations: 9.171 MB / 1.318 GB, free: 115.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003292/1.353, allocations: 3.107 MB / 1.321 GB, free: 113.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001615/1.355, allocations: 458.9 kB / 1.322 GB, free: 113.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002705/1.355, allocations: 117.5 kB / 1.322 GB, free: 113.8 MB / 0.9981 GB Notification: Performance of SimCode: time 1.112e-06/1.355, allocations: 0 / 1.322 GB, free: 113.8 MB / 0.9981 GB Notification: Performance of Templates: time 0.05108/1.406, allocations: 34.14 MB / 1.355 GB, free: 87.21 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)