Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.702/1.702, allocations: 285.4 MB / 298 MB, free: 5.996 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001506/0.001506, allocations: 176.9 kB / 366.4 MB, free: 2.094 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.741/1.741, allocations: 205.1 MB / 0.6248 GB, free: 7.742 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001115/0.001116, allocations: 87.16 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.881e-05/3.902e-05, allocations: 4 kB / 0.8583 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6561/0.6562, allocations: 115.3 MB / 0.9709 GB, free: 77.78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2168/0.873, allocations: 192.6 MB / 1.159 GB, free: 7.133 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/0.8733, allocations: 100.4 kB / 1.159 GB, free: 7.035 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.163/1.036, allocations: 66.41 MB / 1.224 GB, free: 4.156 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.683e-06/1.036, allocations: 0 / 1.224 GB, free: 4.156 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001643/1.037, allocations: 40 kB / 1.224 GB, free: 4.117 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004712/1.041, allocations: 1.671 MB / 1.226 GB, free: 2.395 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/1.041, allocations: 8.031 kB / 1.226 GB, free: 2.387 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003651/1.045, allocations: 0.6651 MB / 1.226 GB, free: 1.719 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003144/1.048, allocations: 1.246 MB / 1.227 GB, free: 440 kB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/1.048, allocations: 119.2 kB / 1.228 GB, free: 320 kB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000829/1.049, allocations: 156 kB / 1.228 GB, free: 164 kB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006687/1.056, allocations: 2.609 MB / 1.23 GB, free: 13.49 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.68e-05/1.056, allocations: 4 kB / 1.23 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003401/1.056, allocations: 64 kB / 1.23 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001449/1.056, allocations: 91.22 kB / 1.23 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004297/1.061, allocations: 2.16 MB / 1.233 GB, free: 11.17 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01463/1.075, allocations: 10.88 MB / 1.243 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/1.077, allocations: 0.7464 MB / 1.244 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007691/1.077, allocations: 0.5189 MB / 1.244 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/1.078, allocations: 85.48 kB / 1.244 GB, free: 14.03 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/1.078, allocations: 50.83 kB / 1.245 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=46): time 2.535e-06/1.078, allocations: 0 / 1.245 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of matching and sorting (n=72): time 0.02103/1.099, allocations: 7.165 MB / 1.252 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/1.099, allocations: 85.89 kB / 1.252 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001494/1.1, allocations: 0.8472 MB / 1.252 GB, free: 5.832 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-05/1.1, allocations: 37.7 kB / 1.252 GB, free: 5.789 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006008/1.101, allocations: 0.7736 MB / 1.253 GB, free: 5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/1.101, allocations: 256.4 kB / 1.253 GB, free: 4.746 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.972e-05/1.101, allocations: 20 kB / 1.253 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002503/1.102, allocations: 390.8 kB / 1.254 GB, free: 4.336 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/1.103, allocations: 0.7717 MB / 1.255 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/1.104, allocations: 1.121 MB / 1.256 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/1.106, allocations: 0.9623 MB / 1.257 GB, free: 1.32 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/1.106, allocations: 8 kB / 1.257 GB, free: 1.312 MB / 0.8542 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.4777/1.583, allocations: 3.391 MB / 1.26 GB, free: 212.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001124/1.585, allocations: 4.264 MB / 1.264 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/1.585, allocations: 15.73 kB / 1.264 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006377/1.591, allocations: 1.758 MB / 1.266 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000913/1.592, allocations: 223.8 kB / 1.266 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01024/1.602, allocations: 7.273 MB / 1.273 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/1.604, allocations: 194.5 kB / 1.273 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/1.604, allocations: 46.67 kB / 1.273 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/1.604, allocations: 7.156 kB / 1.273 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006088/1.61, allocations: 2.732 MB / 1.276 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-05/1.61, allocations: 11.44 kB / 1.276 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003509/1.614, allocations: 1.034 MB / 1.277 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/1.615, allocations: 294.2 kB / 1.277 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008706/1.623, allocations: 6.066 MB / 1.283 GB, free: 205.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/1.625, allocations: 157.6 kB / 1.283 GB, free: 205.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001017/1.625, allocations: 45.91 kB / 1.283 GB, free: 205.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002973/1.625, allocations: 166.1 kB / 1.284 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001681/1.625, allocations: 87.81 kB / 1.284 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007227/1.633, allocations: 3.004 MB / 1.287 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.104e-05/1.633, allocations: 6.062 kB / 1.287 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.068e-05/1.633, allocations: 6.219 kB / 1.287 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/1.633, allocations: 4.406 kB / 1.287 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01201/1.645, allocations: 5.587 MB / 1.292 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/1.645, allocations: 2.562 kB / 1.292 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004801/1.645, allocations: 106 kB / 1.292 GB, free: 203.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00572/1.651, allocations: 1.638 MB / 1.294 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/1.651, allocations: 13.81 kB / 1.294 GB, free: 203.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/1.664, allocations: 9.457 MB / 1.303 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.664, allocations: 2.125 kB / 1.303 GB, free: 198.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006237/1.67, allocations: 2.968 MB / 1.306 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007977/1.671, allocations: 328.8 kB / 1.306 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002579/1.671, allocations: 13.28 kB / 1.306 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009324/1.672, allocations: 141.7 kB / 1.306 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002694/1.672, allocations: 63.53 kB / 1.307 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.865e-05/1.672, allocations: 26.92 kB / 1.307 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001016/1.673, allocations: 0.6614 MB / 1.307 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.492e-06/1.673, allocations: 0 / 1.307 GB, free: 196.6 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002765/1.676, allocations: 0.7051 MB / 1.308 GB, free: 196.5 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.000388/1.677, allocations: 179 kB / 1.308 GB, free: 196.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.006503/1.683, allocations: 3.608 MB / 1.312 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/1.683, allocations: 0 / 1.312 GB, free: 195.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002342/1.685, allocations: 1.368 MB / 1.313 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001163/1.687, allocations: 243.6 kB / 1.313 GB, free: 194.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005431/1.692, allocations: 2.852 MB / 1.316 GB, free: 193.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/1.694, allocations: 1.759 MB / 1.318 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001749/1.696, allocations: 0.6566 MB / 1.318 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/1.696, allocations: 53.48 kB / 1.318 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of SimCode: time 1.112e-06/1.696, allocations: 0 / 1.318 GB, free: 192.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.03757/1.733, allocations: 28.61 MB / 1.346 GB, free: 190.8 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)