Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.0007668/0.000767, allocations: 92 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.005702/0.005702, allocations: 170.7 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.475/1.475, allocations: 223.2 MB / 240.3 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.87/2.87, allocations: 473.4 MB / 0.7469 GB, free: 6.164 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005629/0.0005633, allocations: 9.156 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.4039, allocations: 162.2 MB / 1.074 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03574/0.4397, allocations: 32.22 MB / 1.106 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.02579/0.4656, allocations: 14.63 MB / 1.12 GB, free: 8.621 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004379/0.47, allocations: 139.2 kB / 1.12 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003216/0.4732, allocations: 0.721 MB / 1.121 GB, free: 7.758 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.009182/0.4824, allocations: 2.69 MB / 1.123 GB, free: 5.055 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006091/0.4885, allocations: 1.992 MB / 1.125 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01444/0.503, allocations: 12.2 MB / 1.137 GB, free: 6.832 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01847/0.5215, allocations: 11.52 MB / 1.148 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006425/0.528, allocations: 2.961 MB / 1.151 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006826/0.5348, allocations: 3.507 MB / 1.155 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001309/0.5362, allocations: 299.9 kB / 1.155 GB, free: 4.418 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004104/0.5403, allocations: 1.552 MB / 1.157 GB, free: 2.863 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002968/0.5433, allocations: 2.291 MB / 1.159 GB, free: 0.5664 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.004796/0.5481, allocations: 2.789 MB / 1.162 GB, free: 13.75 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.01313/0.5612, allocations: 10.65 MB / 1.172 GB, free: 3.07 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.5613, allocations: 0 / 1.172 GB, free: 3.07 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.076e-06/0.5613, allocations: 4 kB / 1.172 GB, free: 3.066 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003824/0.5617, allocations: 0 / 1.172 GB, free: 3.066 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.01428/0.5759, allocations: 4.825 MB / 1.177 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 7.591e-05/0.576, allocations: 12.03 kB / 1.177 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009097/0.5851, allocations: 1.145 MB / 1.178 GB, free: 13 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009228/0.5944, allocations: 3.325 MB / 1.181 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004652/0.5949, allocations: 382.3 kB / 1.181 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002258/0.5972, allocations: 496 kB / 1.182 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0201/0.6173, allocations: 8.013 MB / 1.19 GB, free: 452 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002835/0.6177, allocations: 27.69 kB / 1.19 GB, free: 424 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002209/0.6199, allocations: 216 kB / 1.19 GB, free: 208 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001413/0.6213, allocations: 437.6 kB / 1.19 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01426/0.6356, allocations: 6.088 MB / 1.196 GB, free: 9.672 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04911/0.6847, allocations: 35.23 MB / 1.231 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003004/0.6878, allocations: 2.022 MB / 1.233 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002629/0.6904, allocations: 1.85 MB / 1.234 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001028/0.6906, allocations: 18 kB / 1.235 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.104e-05/0.6906, allocations: 68.44 kB / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=171): time 4.559e-06/0.6906, allocations: 0 / 1.235 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=276): time 0.8827/1.573, allocations: 39 MB / 1.273 GB, free: 161.1 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.747e-05/1.573, allocations: 80.42 kB / 1.273 GB, free: 161 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004158/1.578, allocations: 2.279 MB / 1.275 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0005762/1.578, allocations: 73.55 kB / 1.275 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001581/1.58, allocations: 2.284 MB / 1.277 GB, free: 158.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/1.581, allocations: 0.9265 MB / 1.278 GB, free: 157.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004079/1.581, allocations: 234.3 kB / 1.278 GB, free: 157.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.833e-05/1.581, allocations: 307.8 kB / 1.279 GB, free: 157.2 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003089/1.584, allocations: 1.974 MB / 1.281 GB, free: 156.5 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003632/1.588, allocations: 2.603 MB / 1.283 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006725/1.595, allocations: 4.932 MB / 1.288 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.88e-05/1.595, allocations: 4.531 kB / 1.288 GB, free: 152.3 MB / 0.9981 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01453/1.609, allocations: 7.758 MB / 1.296 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.924e-05/1.61, allocations: 12.72 kB / 1.296 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.053e-05/1.61, allocations: 15.59 kB / 1.296 GB, free: 148.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008997/1.619, allocations: 3.221 MB / 1.299 GB, free: 146.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001788/1.62, allocations: 404.7 kB / 1.299 GB, free: 146.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03462/1.655, allocations: 31.17 MB / 1.33 GB, free: 118.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003396/1.658, allocations: 163.8 kB / 1.33 GB, free: 118.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00029/1.659, allocations: 108 kB / 1.33 GB, free: 118.2 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.003119/1.662, allocations: 1.799 MB / 1.332 GB, free: 116.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007206/1.663, allocations: 332.1 kB / 1.332 GB, free: 116.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01229/1.675, allocations: 7.357 MB / 1.339 GB, free: 108.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/1.675, allocations: 28 kB / 1.339 GB, free: 108.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.495e-05/1.675, allocations: 28 kB / 1.339 GB, free: 108.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.508e-05/1.675, allocations: 15.94 kB / 1.339 GB, free: 108.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01951/1.695, allocations: 12.94 MB / 1.352 GB, free: 95.49 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/1.695, allocations: 4 kB / 1.352 GB, free: 95.48 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008753/1.696, allocations: 229.7 kB / 1.352 GB, free: 95.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007294/1.703, allocations: 2.861 MB / 1.355 GB, free: 92.38 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002709/1.703, allocations: 56.53 kB / 1.355 GB, free: 92.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03314/1.736, allocations: 29.97 MB / 1.384 GB, free: 61.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.194e-06/1.736, allocations: 11.94 kB / 1.384 GB, free: 61.56 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01107/1.747, allocations: 6.875 MB / 1.391 GB, free: 54.47 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/1.749, allocations: 0.7937 MB / 1.392 GB, free: 53.66 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006326/1.75, allocations: 58.94 kB / 1.392 GB, free: 53.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/1.752, allocations: 163.8 kB / 1.392 GB, free: 53.44 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008312/1.753, allocations: 253.3 kB / 1.392 GB, free: 53.2 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001681/1.753, allocations: 76 kB / 1.392 GB, free: 53.12 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001849/1.755, allocations: 1.525 MB / 1.394 GB, free: 51.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.755, allocations: 0 / 1.394 GB, free: 51.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004111/1.759, allocations: 1.375 MB / 1.395 GB, free: 50.22 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.0003586/1.759, allocations: 178.9 kB / 1.395 GB, free: 50.03 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009967/1.769, allocations: 6.887 MB / 1.402 GB, free: 43.05 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.769, allocations: 8.062 kB / 1.402 GB, free: 43.04 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.006724/1.776, allocations: 4.428 MB / 1.406 GB, free: 38.55 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007357/1.783, allocations: 1.026 MB / 1.407 GB, free: 37.56 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0161/1.799, allocations: 12.49 MB / 1.419 GB, free: 24.99 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003605/1.803, allocations: 3.647 MB / 1.423 GB, free: 21.31 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002446/1.806, allocations: 0.5595 MB / 1.423 GB, free: 20.75 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003875/1.806, allocations: 159.4 kB / 1.424 GB, free: 20.59 MB / 0.9981 GB Notification: Performance of SimCode: time 8.81e-07/1.806, allocations: 0 / 1.424 GB, free: 20.59 MB / 0.9981 GB Notification: Performance of Templates: time 0.1188/1.925, allocations: 73.44 MB / 1.495 GB, free: 12.12 MB / 1.061 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)