Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.578/1.578, allocations: 297.8 MB / 313.8 MB, free: 64 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009901/0.00099, allocations: 187.5 kB / 384.6 MB, free: 10.78 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 223.2 MB / 0.6626 GB, free: 4.188 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007146/0.0007146, allocations: 99.97 kB / 0.7808 GB, free: 50.28 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003513, allocations: 8 kB / 0.9088 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5554/0.5557, allocations: 120.3 MB / 1.026 GB, free: 55.75 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2081/0.7638, allocations: 183.8 MB / 1.206 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/0.7642, allocations: 105.9 kB / 1.206 GB, free: 9.836 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.2607/1.025, allocations: 119.4 MB / 1.323 GB, free: 2.02 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.358e-06/1.025, allocations: 0 / 1.323 GB, free: 2.02 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001229/1.025, allocations: 79.86 kB / 1.323 GB, free: 1.941 MB / 0.8855 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.005805/1.031, allocations: 2.473 MB / 1.325 GB, free: 15.4 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.031, allocations: 16.03 kB / 1.325 GB, free: 15.39 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003864/1.035, allocations: 0.6999 MB / 1.326 GB, free: 14.68 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/1.038, allocations: 1.629 MB / 1.327 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/1.038, allocations: 218.2 kB / 1.328 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005419/1.039, allocations: 287.1 kB / 1.328 GB, free: 12.52 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007403/1.046, allocations: 4.627 MB / 1.332 GB, free: 7.707 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.571e-05/1.046, allocations: 16.02 kB / 1.332 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003005/1.047, allocations: 127.9 kB / 1.332 GB, free: 7.566 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001893/1.047, allocations: 184.6 kB / 1.333 GB, free: 7.383 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005998/1.053, allocations: 3.753 MB / 1.336 GB, free: 3.617 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02709/1.08, allocations: 23.05 MB / 1.359 GB, free: 10.45 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002946/1.083, allocations: 1.578 MB / 1.36 GB, free: 8.84 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/1.084, allocations: 0.8652 MB / 1.361 GB, free: 7.965 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/1.084, allocations: 93.66 kB / 1.361 GB, free: 7.855 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/1.084, allocations: 47.16 kB / 1.361 GB, free: 7.801 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=72): time 4.969e-06/1.084, allocations: 0 / 1.361 GB, free: 7.801 MB / 0.9323 GB Notification: Performance of matching and sorting (n=75): time 0.005516/1.09, allocations: 3.549 MB / 1.365 GB, free: 4.223 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.347e-05/1.09, allocations: 141.1 kB / 1.365 GB, free: 4.051 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/1.091, allocations: 1.028 MB / 1.366 GB, free: 3.008 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.134e-05/1.091, allocations: 45.64 kB / 1.366 GB, free: 2.957 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007614/1.092, allocations: 1.196 MB / 1.367 GB, free: 1.742 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002562/1.092, allocations: 268.2 kB / 1.367 GB, free: 1.477 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.345e-05/1.092, allocations: 28 kB / 1.367 GB, free: 1.449 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002211/1.093, allocations: 406.7 kB / 1.368 GB, free: 1.043 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/1.094, allocations: 0.7872 MB / 1.369 GB, free: 264 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4825/1.576, allocations: 1.275 MB / 1.37 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003277/1.58, allocations: 2.013 MB / 1.372 GB, free: 157.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/1.58, allocations: 4.25 kB / 1.372 GB, free: 157.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004073/1.584, allocations: 2.158 MB / 1.374 GB, free: 157.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002819/1.584, allocations: 0.4963 MB / 1.374 GB, free: 157 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/1.584, allocations: 14.88 kB / 1.374 GB, free: 157 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.822e-05/1.584, allocations: 23.69 kB / 1.374 GB, free: 157 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/1.586, allocations: 413 kB / 1.375 GB, free: 157 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.336e-05/1.586, allocations: 30.14 kB / 1.375 GB, free: 157 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/1.587, allocations: 259.8 kB / 1.375 GB, free: 157 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/1.588, allocations: 61.78 kB / 1.375 GB, free: 157 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/1.588, allocations: 3.219 kB / 1.375 GB, free: 157 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002666/1.59, allocations: 1.752 MB / 1.377 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.252e-05/1.59, allocations: 16.66 kB / 1.377 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/1.59, allocations: 18.59 kB / 1.377 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/1.592, allocations: 365.2 kB / 1.377 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.784e-05/1.592, allocations: 29.84 kB / 1.377 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/1.593, allocations: 175.9 kB / 1.377 GB, free: 156.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.086e-05/1.593, allocations: 62.11 kB / 1.377 GB, free: 156.9 MB / 0.9323 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 () * Number of clocked 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.00252/1.595, allocations: 1.168 MB / 1.379 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003423/1.596, allocations: 100.7 kB / 1.379 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/1.598, allocations: 1.509 MB / 1.38 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/1.598, allocations: 12.06 kB / 1.38 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.598, allocations: 2.312 kB / 1.38 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/1.598, allocations: 2.719 kB / 1.38 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/1.608, allocations: 7.275 MB / 1.387 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.29e-05/1.608, allocations: 8.125 kB / 1.387 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/1.61, allocations: 265.9 kB / 1.388 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.737e-05/1.61, allocations: 12.5 kB / 1.388 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.162e-05/1.61, allocations: 25.84 kB / 1.388 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.71e-05/1.61, allocations: 19.09 kB / 1.388 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.007e-05/1.61, allocations: 13.03 kB / 1.388 GB, free: 155.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/1.612, allocations: 1.998 MB / 1.39 GB, free: 155 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008203/1.613, allocations: 377.1 kB / 1.39 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001456/1.613, allocations: 25.53 kB / 1.39 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008674/1.614, allocations: 135.9 kB / 1.39 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001939/1.615, allocations: 77.52 kB / 1.39 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.439e-05/1.615, allocations: 33.5 kB / 1.39 GB, free: 154.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001078/1.616, allocations: 0.7058 MB / 1.391 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 6.01e-07/1.616, allocations: 0 / 1.391 GB, free: 154.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.00315/1.619, allocations: 0.8335 MB / 1.392 GB, free: 154.8 MB / 0.9323 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 () * Number of clocked 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.0002875/1.619, allocations: 140.7 kB / 1.392 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003861/1.623, allocations: 2.653 MB / 1.394 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.623, allocations: 3.125 kB / 1.394 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009073/1.624, allocations: 0.7358 MB / 1.395 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/1.627, allocations: 269.3 kB / 1.395 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00694/1.633, allocations: 5.673 MB / 1.401 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001605/1.635, allocations: 2.12 MB / 1.403 GB, free: 151.5 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001806/1.637, allocations: 0.7427 MB / 1.404 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/1.637, allocations: 80.19 kB / 1.404 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of SimCode: time 1.443e-06/1.637, allocations: 0 / 1.404 GB, free: 151.4 MB / 0.9323 GB Notification: Performance of Templates: time 0.02293/1.66, allocations: 15.23 MB / 1.419 GB, free: 150.8 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)