Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009905/0.0009906, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.008412/0.008412, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.463/1.463, 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.838/2.838, allocations: 473.4 MB / 0.7469 GB, free: 6.043 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003763/0.0003763, allocations: 13.5 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3789/0.3793, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03833/0.4177, allocations: 32.22 MB / 1.106 GB, free: 7.184 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02549/0.4432, allocations: 14.63 MB / 1.12 GB, free: 8.516 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004359/0.4476, allocations: 135.2 kB / 1.12 GB, free: 8.383 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002877/0.4505, allocations: 0.7249 MB / 1.121 GB, free: 7.652 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01067/0.4612, allocations: 2.693 MB / 1.123 GB, free: 4.949 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006693/0.4679, allocations: 1.984 MB / 1.125 GB, free: 2.965 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01611/0.4841, allocations: 12.21 MB / 1.137 GB, free: 6.723 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02092/0.505, allocations: 11.52 MB / 1.148 GB, free: 11.1 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006976/0.512, allocations: 2.965 MB / 1.151 GB, free: 8.125 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006724/0.5188, allocations: 3.503 MB / 1.155 GB, free: 4.609 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001902/0.5207, allocations: 296 kB / 1.155 GB, free: 4.32 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005145/0.5259, allocations: 1.56 MB / 1.157 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.004438/0.5304, allocations: 2.287 MB / 1.159 GB, free: 476 kB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.00778/0.5382, allocations: 2.789 MB / 1.162 GB, free: 13.65 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01715/0.5554, allocations: 10.66 MB / 1.172 GB, free: 2.961 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.5554, allocations: 0 / 1.172 GB, free: 2.961 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5554, allocations: 0 / 1.172 GB, free: 2.961 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0004171/0.5559, allocations: 0 / 1.172 GB, free: 2.961 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01464/0.5705, allocations: 4.831 MB / 1.177 GB, free: 14.05 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.5706, allocations: 11.97 kB / 1.177 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00818/0.5788, allocations: 1.149 MB / 1.178 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008234/0.587, allocations: 3.328 MB / 1.181 GB, free: 9.48 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003945/0.5875, allocations: 370.4 kB / 1.181 GB, free: 9.117 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/0.5891, allocations: 0.4922 MB / 1.182 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01965/0.6087, allocations: 8.009 MB / 1.19 GB, free: 340 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/0.609, allocations: 23.69 kB / 1.19 GB, free: 316 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006481/0.6096, allocations: 220 kB / 1.19 GB, free: 96 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001216/0.6108, allocations: 433.6 kB / 1.19 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01462/0.6255, allocations: 6.085 MB / 1.196 GB, free: 9.57 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05226/0.6778, allocations: 35.23 MB / 1.231 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003873/0.6817, allocations: 2.03 MB / 1.233 GB, free: 1.125 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003572/0.6853, allocations: 1.846 MB / 1.234 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002022/0.6856, allocations: 21.94 kB / 1.235 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.871e-05/0.6857, allocations: 64.44 kB / 1.235 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=171): time 4.598e-06/0.6857, allocations: 0 / 1.235 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of matching and sorting (n=276): time 0.8439/1.53, allocations: 39 MB / 1.273 GB, free: 161 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/1.53, allocations: 79.42 kB / 1.273 GB, free: 160.9 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004114/1.534, allocations: 2.279 MB / 1.275 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005807/1.534, allocations: 73.92 kB / 1.275 GB, free: 160 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001531/1.536, allocations: 2.278 MB / 1.277 GB, free: 158.3 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001106/1.537, allocations: 0.9321 MB / 1.278 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004025/1.538, allocations: 234.5 kB / 1.278 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.104e-05/1.538, allocations: 305.1 kB / 1.279 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00295/1.541, allocations: 1.973 MB / 1.281 GB, free: 156.4 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003312/1.544, allocations: 2.601 MB / 1.283 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006902/1.551, allocations: 4.935 MB / 1.288 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-05/1.551, allocations: 9.375 kB / 1.288 GB, free: 152.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01414/1.565, allocations: 7.751 MB / 1.296 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.541e-05/1.565, allocations: 15.69 kB / 1.296 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.771e-05/1.565, allocations: 15.66 kB / 1.296 GB, free: 148.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009061/1.574, allocations: 3.217 MB / 1.299 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/1.576, allocations: 405.8 kB / 1.299 GB, free: 146.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03604/1.612, allocations: 31.17 MB / 1.33 GB, free: 118.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003742/1.616, allocations: 167.8 kB / 1.33 GB, free: 118.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006679/1.617, allocations: 112.4 kB / 1.33 GB, free: 118 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004721/1.621, allocations: 1.793 MB / 1.332 GB, free: 116.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/1.623, allocations: 336 kB / 1.332 GB, free: 115.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/1.636, allocations: 7.353 MB / 1.339 GB, free: 108.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.363e-05/1.636, allocations: 28 kB / 1.339 GB, free: 108.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001511/1.637, allocations: 33.12 kB / 1.339 GB, free: 108.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.123e-05/1.637, allocations: 11.95 kB / 1.339 GB, free: 108.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02673/1.663, allocations: 12.94 MB / 1.352 GB, free: 95.33 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.771e-05/1.664, allocations: 8.031 kB / 1.352 GB, free: 95.32 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009619/1.664, allocations: 231.6 kB / 1.352 GB, free: 95.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008003/1.673, allocations: 2.853 MB / 1.355 GB, free: 92.23 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004676/1.673, allocations: 52 kB / 1.355 GB, free: 92.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03395/1.707, allocations: 29.98 MB / 1.384 GB, free: 61.41 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/1.707, allocations: 15.03 kB / 1.384 GB, free: 61.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01195/1.719, allocations: 6.871 MB / 1.391 GB, free: 54.31 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002594/1.722, allocations: 0.7898 MB / 1.392 GB, free: 53.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001611/1.723, allocations: 52 kB / 1.392 GB, free: 53.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003203/1.727, allocations: 175.8 kB / 1.392 GB, free: 53.28 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001383/1.728, allocations: 249.3 kB / 1.392 GB, free: 53.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003161/1.728, allocations: 80.12 kB / 1.392 GB, free: 52.96 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003723/1.732, allocations: 1.529 MB / 1.394 GB, free: 51.43 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.732, allocations: 0 / 1.394 GB, free: 51.43 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0075/1.74, allocations: 1.375 MB / 1.395 GB, free: 50.05 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005676/1.74, allocations: 178.9 kB / 1.395 GB, free: 49.86 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0112/1.751, allocations: 6.889 MB / 1.402 GB, free: 42.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/1.751, allocations: 4 kB / 1.402 GB, free: 42.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.007206/1.759, allocations: 4.436 MB / 1.406 GB, free: 38.38 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008917/1.768, allocations: 1.029 MB / 1.407 GB, free: 37.39 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02053/1.788, allocations: 12.49 MB / 1.419 GB, free: 24.82 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005552/1.794, allocations: 3.647 MB / 1.423 GB, free: 21.14 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002738/1.797, allocations: 0.5556 MB / 1.424 GB, free: 20.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006006/1.797, allocations: 159.4 kB / 1.424 GB, free: 20.43 MB / 0.9981 GB Notification: Performance of SimCode: time 1.172e-06/1.797, allocations: 0 / 1.424 GB, free: 20.43 MB / 0.9981 GB Notification: Performance of Templates: time 0.1233/1.92, allocations: 73.43 MB / 1.495 GB, free: 11.96 MB / 1.061 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)