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.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.614/1.614, allocations: 285.4 MB / 298 MB, free: 5.957 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.001279/0.001279, allocations: 184.3 kB / 366.4 MB, free: 2.117 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.723/1.723, allocations: 205.1 MB / 0.6248 GB, free: 7.762 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.0009594/0.0009595, allocations: 95.42 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.213e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7087/0.7088, allocations: 115.3 MB / 0.9709 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2481/0.9569, allocations: 181 MB / 1.148 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.9572, allocations: 99.92 kB / 1.148 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.8719/1.829, allocations: 159.7 MB / 1.304 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.583e-06/1.829, allocations: 0 / 1.304 GB, free: 192.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003233/1.83, allocations: 97.22 kB / 1.304 GB, free: 192.2 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.01232/1.842, allocations: 3.344 MB / 1.307 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.842, allocations: 8.438 kB / 1.307 GB, free: 190.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006614/1.849, allocations: 0.9566 MB / 1.308 GB, free: 190.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006599/1.855, allocations: 2.291 MB / 1.31 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003789/1.856, allocations: 329.5 kB / 1.311 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002497/1.858, allocations: 425 kB / 1.311 GB, free: 190.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02123/1.879, allocations: 6.615 MB / 1.317 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002536/1.88, allocations: 9.844 kB / 1.317 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001821/1.881, allocations: 181 kB / 1.318 GB, free: 189.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003107/1.882, allocations: 257 kB / 1.318 GB, free: 189.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/1.893, allocations: 5.225 MB / 1.323 GB, free: 187.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03969/1.933, allocations: 32.48 MB / 1.355 GB, free: 162.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/1.936, allocations: 1.851 MB / 1.356 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001398/1.937, allocations: 1.078 MB / 1.358 GB, free: 161.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001802/1.937, allocations: 101.6 kB / 1.358 GB, free: 161.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/1.938, allocations: 51.09 kB / 1.358 GB, free: 161 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=86): time 5.059e-06/1.938, allocations: 3.891 kB / 1.358 GB, free: 161 MB / 0.8542 GB Notification: Performance of matching and sorting (n=89): time 0.01008/1.948, allocations: 4.028 MB / 1.362 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.535e-05/1.948, allocations: 140.2 kB / 1.362 GB, free: 158.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001801/1.95, allocations: 1.46 MB / 1.363 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001715/1.95, allocations: 40.27 kB / 1.363 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007331/1.95, allocations: 1.903 MB / 1.365 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/1.951, allocations: 334 kB / 1.365 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/1.951, allocations: 43.44 kB / 1.365 GB, free: 156.2 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001088/1.951, allocations: 396 kB / 1.366 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/1.952, allocations: 1.078 MB / 1.367 GB, free: 155.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/1.954, allocations: 2.152 MB / 1.369 GB, free: 153.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/1.955, allocations: 1.523 MB / 1.37 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/1.956, allocations: 9.062 kB / 1.37 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.003983/1.959, allocations: 3.261 MB / 1.374 GB, free: 151.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002102/1.962, allocations: 13.42 MB / 1.387 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.986e-05/1.962, allocations: 36.34 kB / 1.387 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.359e-05/1.962, allocations: 51.78 kB / 1.387 GB, free: 137.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002083/1.964, allocations: 0.6308 MB / 1.387 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.441e-05/1.964, allocations: 68.98 kB / 1.388 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/1.966, allocations: 364.9 kB / 1.388 GB, free: 137.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/1.966, allocations: 112.4 kB / 1.388 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/1.966, allocations: 7.844 kB / 1.388 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003204/1.969, allocations: 2.711 MB / 1.391 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-05/1.969, allocations: 35.72 kB / 1.391 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.708e-05/1.969, allocations: 56.62 kB / 1.391 GB, free: 136.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/1.971, allocations: 0.5589 MB / 1.391 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.983e-05/1.971, allocations: 65.5 kB / 1.391 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/1.973, allocations: 252.3 kB / 1.392 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/1.973, allocations: 114.5 kB / 1.392 GB, free: 136.2 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.0004413/1.973, allocations: 256 kB / 1.392 GB, free: 136 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003314/1.974, allocations: 156.9 kB / 1.392 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/1.976, allocations: 1.885 MB / 1.394 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/1.976, allocations: 11.12 kB / 1.394 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.156e-06/1.976, allocations: 0 / 1.394 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/1.976, allocations: 7.406 kB / 1.394 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009304/1.985, allocations: 7.729 MB / 1.401 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/1.986, allocations: 7.5 kB / 1.401 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/1.987, allocations: 338.8 kB / 1.402 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.57e-05/1.987, allocations: 12.66 kB / 1.402 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/1.987, allocations: 25.38 kB / 1.402 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.043e-05/1.987, allocations: 18.89 kB / 1.402 GB, free: 132 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.402e-06/1.987, allocations: 10.41 kB / 1.402 GB, free: 132 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/1.989, allocations: 2.713 MB / 1.405 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007596/1.99, allocations: 454.4 kB / 1.405 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001859/1.99, allocations: 22.25 kB / 1.405 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009891/1.991, allocations: 168.4 kB / 1.405 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/1.991, allocations: 81.75 kB / 1.405 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/1.992, allocations: 32.78 kB / 1.405 GB, free: 129.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001302/1.993, allocations: 1.07 MB / 1.406 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.6e-07/1.993, allocations: 3.562 kB / 1.406 GB, free: 129.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00407/1.997, allocations: 1.233 MB / 1.407 GB, free: 128.9 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.0002266/1.997, allocations: 146.9 kB / 1.408 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004502/2.002, allocations: 3.797 MB / 1.411 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/2.002, allocations: 1.812 kB / 1.411 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0009007/2.003, allocations: 0.8755 MB / 1.412 GB, free: 124.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/2.004, allocations: 371.7 kB / 1.413 GB, free: 124.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008296/2.013, allocations: 5.45 MB / 1.418 GB, free: 119.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002326/2.015, allocations: 2.933 MB / 1.421 GB, free: 117.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003093/2.018, allocations: 1.261 MB / 1.422 GB, free: 116 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003775/2.019, allocations: 107.4 kB / 1.422 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of SimCode: time 7.81e-07/2.019, allocations: 0 / 1.422 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.03497/2.054, allocations: 23.72 MB / 1.445 GB, free: 92.58 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)