Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.7/1.7, allocations: 293 MB / 309 MB, free: 4.805 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.001016/0.001016, allocations: 183.9 kB / 378.7 MB, free: 1.016 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.767/1.767, allocations: 205.4 MB / 0.6383 GB, free: 8.219 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.0006904/0.0006904, allocations: 87.97 kB / 0.7527 GB, free: 63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 15.98 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2331, allocations: 116.4 MB / 0.9905 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6126/0.8458, allocations: 181.4 MB / 1.168 GB, free: 76 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.8462, allocations: 100.4 kB / 1.168 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2655/1.112, allocations: 112.5 MB / 1.278 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.094e-06/1.112, allocations: 0 / 1.278 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001496/1.112, allocations: 63.94 kB / 1.278 GB, free: 14.54 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.008168/1.12, allocations: 2.485 MB / 1.28 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/1.12, allocations: 12.03 kB / 1.28 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004662/1.125, allocations: 0.6999 MB / 1.281 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003925/1.129, allocations: 1.637 MB / 1.282 GB, free: 9.598 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/1.129, allocations: 214.2 kB / 1.283 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/1.13, allocations: 284.3 kB / 1.283 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/1.141, allocations: 4.634 MB / 1.287 GB, free: 4.289 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.915e-05/1.141, allocations: 8.125 kB / 1.287 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006239/1.142, allocations: 123.9 kB / 1.287 GB, free: 4.16 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002409/1.142, allocations: 184.6 kB / 1.288 GB, free: 3.977 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008177/1.15, allocations: 3.76 MB / 1.291 GB, free: 208 kB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03177/1.182, allocations: 23.06 MB / 1.314 GB, free: 7.004 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/1.185, allocations: 1.577 MB / 1.315 GB, free: 5.395 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/1.186, allocations: 0.8482 MB / 1.316 GB, free: 4.535 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/1.186, allocations: 101.7 kB / 1.316 GB, free: 4.418 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/1.186, allocations: 39.22 kB / 1.316 GB, free: 4.371 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=72): time 3.827e-06/1.187, allocations: 0 / 1.316 GB, free: 4.371 MB / 0.8855 GB Notification: Performance of matching and sorting (n=75): time 0.006528/1.193, allocations: 3.556 MB / 1.32 GB, free: 0.7773 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.325e-05/1.193, allocations: 145 kB / 1.32 GB, free: 0.6055 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/1.195, allocations: 1.028 MB / 1.321 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.909e-05/1.195, allocations: 49.83 kB / 1.321 GB, free: 15.51 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.00075/1.195, allocations: 1.192 MB / 1.322 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/1.196, allocations: 268.2 kB / 1.322 GB, free: 14.04 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.792e-05/1.196, allocations: 28 kB / 1.322 GB, free: 14.01 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002005/1.196, allocations: 402.7 kB / 1.323 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/1.197, allocations: 0.7911 MB / 1.324 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001491/1.199, allocations: 1.279 MB / 1.325 GB, free: 11.31 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002622/1.201, allocations: 2.01 MB / 1.327 GB, free: 9.113 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.348e-06/1.201, allocations: 8 kB / 1.327 GB, free: 9.105 MB / 0.9011 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003394/1.205, allocations: 2.152 MB / 1.329 GB, free: 6.941 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003974/1.205, allocations: 0.4982 MB / 1.329 GB, free: 6.25 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/1.205, allocations: 16 kB / 1.329 GB, free: 6.234 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.461e-05/1.205, allocations: 20 kB / 1.329 GB, free: 6.215 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/1.207, allocations: 411.3 kB / 1.33 GB, free: 5.812 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.415e-05/1.207, allocations: 31.86 kB / 1.33 GB, free: 5.781 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/1.208, allocations: 267.2 kB / 1.33 GB, free: 5.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/1.209, allocations: 59.98 kB / 1.33 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.209, allocations: 5.719 kB / 1.33 GB, free: 5.457 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002819/1.211, allocations: 1.749 MB / 1.332 GB, free: 3.707 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/1.211, allocations: 16 kB / 1.332 GB, free: 3.691 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/1.211, allocations: 20 kB / 1.332 GB, free: 3.672 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/1.213, allocations: 359.9 kB / 1.332 GB, free: 3.32 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.042e-05/1.213, allocations: 35.86 kB / 1.332 GB, free: 3.285 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/1.214, allocations: 179.3 kB / 1.332 GB, free: 3.109 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/1.214, allocations: 63.98 kB / 1.333 GB, free: 3.047 MB / 0.9011 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.002147/1.216, allocations: 1.16 MB / 1.334 GB, free: 1.875 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003316/1.217, allocations: 102.8 kB / 1.334 GB, free: 1.773 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/1.219, allocations: 1.51 MB / 1.335 GB, free: 252 kB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/1.219, allocations: 12 kB / 1.335 GB, free: 240 kB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/1.219, allocations: 3.938 kB / 1.335 GB, free: 236 kB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/1.219, allocations: 4.078 kB / 1.335 GB, free: 232 kB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01196/1.231, allocations: 7.263 MB / 1.342 GB, free: 8.754 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/1.231, allocations: 8.938 kB / 1.342 GB, free: 8.746 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/1.232, allocations: 271.5 kB / 1.343 GB, free: 8.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.69e-05/1.232, allocations: 15.94 kB / 1.343 GB, free: 8.465 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.717e-05/1.232, allocations: 20 kB / 1.343 GB, free: 8.445 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.478e-05/1.232, allocations: 19.92 kB / 1.343 GB, free: 8.426 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.197e-05/1.232, allocations: 19.94 kB / 1.343 GB, free: 8.406 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002624/1.235, allocations: 1.992 MB / 1.345 GB, free: 6.289 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000768/1.236, allocations: 375.6 kB / 1.345 GB, free: 5.902 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002639/1.236, allocations: 27.98 kB / 1.345 GB, free: 5.875 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009919/1.237, allocations: 135.8 kB / 1.345 GB, free: 5.742 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/1.237, allocations: 75.69 kB / 1.345 GB, free: 5.668 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/1.237, allocations: 28 kB / 1.345 GB, free: 5.641 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001097/1.238, allocations: 0.7103 MB / 1.346 GB, free: 4.918 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.91e-07/1.238, allocations: 0 / 1.346 GB, free: 4.918 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.003948/1.242, allocations: 0.832 MB / 1.347 GB, free: 4.086 MB / 0.9167 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.0004499/1.243, allocations: 146.9 kB / 1.347 GB, free: 3.934 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004614/1.247, allocations: 2.645 MB / 1.349 GB, free: 1.297 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.031e-05/1.247, allocations: 4 kB / 1.349 GB, free: 1.293 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/1.249, allocations: 0.7318 MB / 1.35 GB, free: 0.5625 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002869/1.251, allocations: 271.3 kB / 1.35 GB, free: 308 kB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009691/1.261, allocations: 5.672 MB / 1.356 GB, free: 10.48 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002877/1.264, allocations: 2.124 MB / 1.358 GB, free: 8.324 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.002196/1.266, allocations: 0.7461 MB / 1.359 GB, free: 7.574 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003807/1.267, allocations: 79.42 kB / 1.359 GB, free: 7.496 MB / 0.9323 GB Notification: Performance of SimCode: time 8.02e-07/1.267, allocations: 0 / 1.359 GB, free: 7.496 MB / 0.9323 GB Notification: Performance of Templates: time 0.4506/1.717, allocations: 15.22 MB / 1.374 GB, free: 203.7 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1)