Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.581/1.581, allocations: 289.9 MB / 297.4 MB, free: 6.398 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.001051/0.001051, allocations: 180.8 kB / 366.7 MB, free: 1.66 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.801/1.801, allocations: 205.3 MB / 0.626 GB, free: 7.125 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.000909/0.0009092, allocations: 84.33 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.076e-05/2.097e-05, allocations: 0 / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7133/0.7133, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/0.9454, allocations: 181.3 MB / 1.15 GB, free: 0.8164 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.9458, allocations: 95.94 kB / 1.15 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.8638/1.81, allocations: 159.1 MB / 1.306 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.994e-06/1.81, allocations: 0 / 1.306 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005508/1.81, allocations: 96.28 kB / 1.306 GB, free: 191.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.016/1.826, allocations: 3.344 MB / 1.309 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 7.104e-05/1.826, allocations: 11.73 kB / 1.309 GB, free: 190.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007495/1.834, allocations: 0.9588 MB / 1.31 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006143/1.84, allocations: 2.288 MB / 1.312 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/1.84, allocations: 143.1 kB / 1.312 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002052/1.842, allocations: 252.9 kB / 1.313 GB, free: 189.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01249/1.855, allocations: 4.608 MB / 1.317 GB, free: 189.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01771/1.873, allocations: 5.991 MB / 1.323 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002536/1.873, allocations: 8.906 kB / 1.323 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0018/1.875, allocations: 6.938 kB / 1.323 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003367/1.875, allocations: 251 kB / 1.323 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03774/1.913, allocations: 31.16 MB / 1.354 GB, free: 162.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/1.915, allocations: 1.829 MB / 1.355 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/1.916, allocations: 1.051 MB / 1.357 GB, free: 161.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001246/1.917, allocations: 94.77 kB / 1.357 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/1.917, allocations: 49.25 kB / 1.357 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=86): time 2.805e-06/1.917, allocations: 4 kB / 1.357 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=89): time 0.006352/1.923, allocations: 4.021 MB / 1.361 GB, free: 159.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/1.923, allocations: 140.1 kB / 1.361 GB, free: 159.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001445/1.924, allocations: 1.301 MB / 1.362 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.614e-05/1.925, allocations: 29.39 kB / 1.362 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008145/1.925, allocations: 1.909 MB / 1.364 GB, free: 157.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/1.926, allocations: 329 kB / 1.364 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.94e-05/1.926, allocations: 4 kB / 1.364 GB, free: 156.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.00011/1.926, allocations: 388.9 kB / 1.365 GB, free: 156.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/1.927, allocations: 1.043 MB / 1.366 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/1.928, allocations: 2.104 MB / 1.368 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001971/1.93, allocations: 1.608 MB / 1.369 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/1.93, allocations: 9.344 kB / 1.369 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004102/1.935, allocations: 3.159 MB / 1.372 GB, free: 152.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002388/1.937, allocations: 13.42 MB / 1.385 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.65e-05/1.937, allocations: 37.09 kB / 1.385 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.539e-05/1.937, allocations: 52.34 kB / 1.385 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/1.939, allocations: 0.6229 MB / 1.386 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.776e-05/1.939, allocations: 73.19 kB / 1.386 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002052/1.941, allocations: 330.1 kB / 1.386 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/1.941, allocations: 112.9 kB / 1.387 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/1.941, allocations: 5.531 kB / 1.387 GB, free: 138.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003231/1.945, allocations: 2.57 MB / 1.389 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.24e-05/1.945, allocations: 35.83 kB / 1.389 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.553e-05/1.945, allocations: 56.62 kB / 1.389 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/1.946, allocations: 0.5549 MB / 1.39 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-05/1.946, allocations: 76.69 kB / 1.39 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/1.948, allocations: 206.1 kB / 1.39 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001315/1.948, allocations: 110.1 kB / 1.39 GB, free: 137.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (264): * Single equations (assignments): 264 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003112/1.948, allocations: 196.2 kB / 1.39 GB, free: 137.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/1.948, allocations: 147.1 kB / 1.39 GB, free: 137 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002319/1.951, allocations: 1.867 MB / 1.392 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/1.951, allocations: 7.406 kB / 1.392 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.951, allocations: 3.594 kB / 1.392 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/1.951, allocations: 7.078 kB / 1.392 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007564/1.958, allocations: 6.609 MB / 1.399 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/1.958, allocations: 7.875 kB / 1.399 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/1.96, allocations: 338.2 kB / 1.399 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.325e-05/1.96, allocations: 11.09 kB / 1.399 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-05/1.96, allocations: 9.844 kB / 1.399 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/1.96, allocations: 18.88 kB / 1.399 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/1.96, allocations: 9.156 kB / 1.399 GB, free: 133.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/1.962, allocations: 2.687 MB / 1.402 GB, free: 131.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006026/1.963, allocations: 448.8 kB / 1.402 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/1.963, allocations: 9.234 kB / 1.402 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009483/1.964, allocations: 154.7 kB / 1.402 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/1.964, allocations: 79.95 kB / 1.402 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.95e-05/1.964, allocations: 26.62 kB / 1.402 GB, free: 131.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009509/1.965, allocations: 0.9437 MB / 1.403 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.61e-07/1.965, allocations: 3.938 kB / 1.403 GB, free: 131.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003701/1.969, allocations: 1.131 MB / 1.404 GB, free: 131.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 92 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002007/1.969, allocations: 135 kB / 1.405 GB, free: 131 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004155/1.973, allocations: 3.602 MB / 1.408 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/1.973, allocations: 4 kB / 1.408 GB, free: 128.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008451/1.974, allocations: 0.8406 MB / 1.409 GB, free: 127.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/1.976, allocations: 360.8 kB / 1.409 GB, free: 127.5 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008843/1.984, allocations: 5.4 MB / 1.415 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002455/1.987, allocations: 2.928 MB / 1.417 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003079/1.99, allocations: 1.252 MB / 1.419 GB, free: 119 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003618/1.99, allocations: 103.4 kB / 1.419 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.092e-06/1.99, allocations: 4 kB / 1.419 GB, free: 118.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.0308/2.021, allocations: 22.32 MB / 1.441 GB, free: 97 MB / 0.8542 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)