Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_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.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.568/1.568, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.00162/0.00162, allocations: 172.9 kB / 361.4 MB, free: 6.84 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.492/1.492, allocations: 205.3 MB / 0.62 GB, free: 11.68 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.0008331/0.0008331, allocations: 98.62 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.701e-05/1.704e-05, allocations: 4 kB / 0.8518 GB, free: 2.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7529/0.7529, allocations: 115.3 MB / 0.9644 GB, free: 78.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2594/1.012, allocations: 179.6 MB / 1.14 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/1.013, allocations: 91.94 kB / 1.14 GB, free: 8.074 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2889/1.302, allocations: 111.4 MB / 1.249 GB, free: 7.977 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.044e-06/1.302, allocations: 4 kB / 1.249 GB, free: 7.973 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001393/1.302, allocations: 64 kB / 1.249 GB, free: 7.91 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.006504/1.308, allocations: 2.419 MB / 1.251 GB, free: 5.434 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/1.309, allocations: 12.03 kB / 1.251 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00386/1.312, allocations: 0.6922 MB / 1.252 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002952/1.315, allocations: 1.609 MB / 1.253 GB, free: 3.07 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.981e-05/1.315, allocations: 100 kB / 1.253 GB, free: 2.973 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004/1.316, allocations: 168 kB / 1.254 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.6213/1.937, allocations: 3.202 MB / 1.257 GB, free: 195.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01491/1.952, allocations: 4.121 MB / 1.261 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001052/1.952, allocations: 9.031 kB / 1.261 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003131/1.953, allocations: 5.312 kB / 1.261 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003547/1.953, allocations: 178.9 kB / 1.261 GB, free: 194.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02542/1.978, allocations: 22.13 MB / 1.283 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002958/1.981, allocations: 1.522 MB / 1.284 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/1.983, allocations: 0.9997 MB / 1.285 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001622/1.984, allocations: 101 kB / 1.285 GB, free: 180.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/1.984, allocations: 42.53 kB / 1.285 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=72): time 3.436e-06/1.984, allocations: 0 / 1.285 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=75): time 0.005591/1.989, allocations: 2.921 MB / 1.288 GB, free: 179.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/1.989, allocations: 137.6 kB / 1.288 GB, free: 179.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/1.991, allocations: 0.806 MB / 1.289 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.779e-05/1.991, allocations: 27.95 kB / 1.289 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001069/1.992, allocations: 1.204 MB / 1.29 GB, free: 178.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000296/1.992, allocations: 263.3 kB / 1.29 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.941e-05/1.992, allocations: 1.781 kB / 1.29 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001855/1.992, allocations: 402.4 kB / 1.291 GB, free: 178 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/1.994, allocations: 0.7477 MB / 1.291 GB, free: 178 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001534/1.995, allocations: 1.232 MB / 1.293 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002247/1.997, allocations: 1.052 MB / 1.294 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.494e-05/1.997, allocations: 6.688 kB / 1.294 GB, free: 177.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004292/2.002, allocations: 2.089 MB / 1.296 GB, free: 177.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001898/2.004, allocations: 5.491 MB / 1.301 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.772e-05/2.004, allocations: 15.27 kB / 1.301 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.048e-05/2.004, allocations: 25.31 kB / 1.301 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/2.006, allocations: 411 kB / 1.302 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.494e-05/2.006, allocations: 30.97 kB / 1.302 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/2.007, allocations: 230.8 kB / 1.302 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/2.008, allocations: 61.23 kB / 1.302 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/2.008, allocations: 3.5 kB / 1.302 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003131/2.011, allocations: 1.665 MB / 1.303 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.809e-05/2.011, allocations: 21.14 kB / 1.303 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.236e-05/2.011, allocations: 22.62 kB / 1.303 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/2.012, allocations: 368.5 kB / 1.304 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-05/2.012, allocations: 27.34 kB / 1.304 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/2.014, allocations: 157.4 kB / 1.304 GB, free: 171.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001223/2.014, allocations: 58.97 kB / 1.304 GB, free: 171.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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.0003413/2.014, allocations: 146.3 kB / 1.304 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003189/2.014, allocations: 90.91 kB / 1.304 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002806/2.017, allocations: 1.494 MB / 1.306 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/2.017, allocations: 8.969 kB / 1.306 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/2.017, allocations: 1.125 kB / 1.306 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/2.017, allocations: 5.641 kB / 1.306 GB, free: 171.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01156/2.029, allocations: 6.516 MB / 1.312 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.75e-05/2.029, allocations: 7.594 kB / 1.312 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/2.03, allocations: 260.7 kB / 1.312 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-05/2.03, allocations: 18.19 kB / 1.312 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.217e-05/2.03, allocations: 13.11 kB / 1.312 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.218e-05/2.03, allocations: 16.73 kB / 1.312 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-05/2.03, allocations: 15.62 kB / 1.312 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00293/2.033, allocations: 2.409 MB / 1.315 GB, free: 168.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006808/2.034, allocations: 363.6 kB / 1.315 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001554/2.034, allocations: 17.08 kB / 1.315 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009529/2.035, allocations: 123.1 kB / 1.315 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002239/2.035, allocations: 75.81 kB / 1.315 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.267e-05/2.035, allocations: 29.78 kB / 1.315 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0009122/2.036, allocations: 0.6006 MB / 1.316 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.61e-07/2.036, allocations: 3.094 kB / 1.316 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003641/2.04, allocations: 0.7657 MB / 1.317 GB, free: 167.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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.000342/2.04, allocations: 135 kB / 1.317 GB, free: 167.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004499/2.045, allocations: 2.52 MB / 1.319 GB, free: 166.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 8.075e-06/2.045, allocations: 1.188 kB / 1.319 GB, free: 166.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/2.046, allocations: 0.7078 MB / 1.32 GB, free: 166.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/2.048, allocations: 239.8 kB / 1.32 GB, free: 166.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008853/2.056, allocations: 3.83 MB / 1.324 GB, free: 165.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002512/2.059, allocations: 2.167 MB / 1.326 GB, free: 164.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002654/2.062, allocations: 0.7715 MB / 1.327 GB, free: 164 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003125/2.062, allocations: 70.25 kB / 1.327 GB, free: 164 MB / 0.8542 GB Notification: Performance of SimCode: time 1.082e-06/2.062, allocations: 7.469 kB / 1.327 GB, free: 164 MB / 0.8542 GB Notification: Performance of Templates: time 0.02471/2.087, allocations: 15.22 MB / 1.342 GB, free: 163.4 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)