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.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_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.4-maint.8.1.x/package.mo): time 1.593/1.593, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001057/0.001057, allocations: 182 kB / 371.6 MB, free: 3.367 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.617/1.617, allocations: 205.2 MB / 0.6309 GB, free: 11.76 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.0009617/0.0009617, allocations: 88.28 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.809e-05/4.81e-05, allocations: 7.984 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2922, allocations: 116.3 MB / 0.9798 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.311, allocations: 181.2 MB / 1.157 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003123/1.311, allocations: 98.97 kB / 1.157 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.3208/1.632, allocations: 111.8 MB / 1.266 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.146e-06/1.632, allocations: 0 / 1.266 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002304/1.632, allocations: 63.94 kB / 1.266 GB, free: 13.13 MB / 0.8386 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.01094/1.643, allocations: 2.424 MB / 1.269 GB, free: 10.65 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/1.643, allocations: 8.031 kB / 1.269 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005073/1.648, allocations: 0.6968 MB / 1.269 GB, free: 9.945 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004584/1.653, allocations: 1.601 MB / 1.271 GB, free: 8.301 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002827/1.653, allocations: 221 kB / 1.271 GB, free: 8.086 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001646/1.655, allocations: 291.9 kB / 1.271 GB, free: 7.801 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01439/1.669, allocations: 4.533 MB / 1.276 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001638/1.669, allocations: 11.94 kB / 1.276 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001146/1.67, allocations: 120 kB / 1.276 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002825/1.671, allocations: 184.7 kB / 1.276 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009112/1.68, allocations: 3.655 MB / 1.28 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03399/1.714, allocations: 23.07 MB / 1.302 GB, free: 5.898 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/1.717, allocations: 1.545 MB / 1.304 GB, free: 4.316 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/1.718, allocations: 0.8327 MB / 1.304 GB, free: 3.473 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001906/1.718, allocations: 97.72 kB / 1.304 GB, free: 3.359 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/1.718, allocations: 39.12 kB / 1.305 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=72): time 4.428e-06/1.718, allocations: 3.938 kB / 1.305 GB, free: 3.309 MB / 0.8698 GB Notification: Performance of matching and sorting (n=75): time 0.006782/1.725, allocations: 2.912 MB / 1.307 GB, free: 368 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/1.725, allocations: 141.1 kB / 1.308 GB, free: 196 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/1.727, allocations: 0.9185 MB / 1.308 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 9.657e-05/1.727, allocations: 37.7 kB / 1.308 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008699/1.728, allocations: 1.192 MB / 1.31 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003049/1.728, allocations: 276.2 kB / 1.31 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.853e-05/1.728, allocations: 28 kB / 1.31 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002219/1.729, allocations: 406.7 kB / 1.31 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/1.73, allocations: 0.7601 MB / 1.311 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/1.731, allocations: 1.244 MB / 1.312 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/1.733, allocations: 0.9778 MB / 1.313 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/1.733, allocations: 4 kB / 1.313 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003403/1.736, allocations: 2.092 MB / 1.315 GB, free: 7.996 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002293/1.738, allocations: 5.494 MB / 1.321 GB, free: 2.074 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.732e-05/1.739, allocations: 16 kB / 1.321 GB, free: 2.059 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.294e-05/1.739, allocations: 23.94 kB / 1.321 GB, free: 2.035 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/1.74, allocations: 415.2 kB / 1.321 GB, free: 1.629 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.496e-05/1.74, allocations: 31.92 kB / 1.321 GB, free: 1.598 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/1.742, allocations: 255.3 kB / 1.321 GB, free: 1.348 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/1.742, allocations: 59.98 kB / 1.321 GB, free: 1.289 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.742, allocations: 4 kB / 1.321 GB, free: 1.285 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002625/1.745, allocations: 1.697 MB / 1.323 GB, free: 15.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-05/1.745, allocations: 23.98 kB / 1.323 GB, free: 15.56 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/1.745, allocations: 20 kB / 1.323 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001272/1.746, allocations: 364.1 kB / 1.323 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.616e-05/1.746, allocations: 31.86 kB / 1.323 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/1.747, allocations: 179.4 kB / 1.324 GB, free: 14.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/1.748, allocations: 52 kB / 1.324 GB, free: 14.93 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 () * 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.0003197/1.748, allocations: 184.5 kB / 1.324 GB, free: 14.74 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003253/1.748, allocations: 102.8 kB / 1.324 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/1.751, allocations: 1.464 MB / 1.325 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-05/1.751, allocations: 12 kB / 1.325 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/1.751, allocations: 3.953 kB / 1.325 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/1.751, allocations: 7.984 kB / 1.325 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/1.763, allocations: 7.219 MB / 1.332 GB, free: 5.707 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.178e-05/1.763, allocations: 8 kB / 1.332 GB, free: 5.699 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/1.764, allocations: 267.7 kB / 1.333 GB, free: 5.438 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.337e-05/1.764, allocations: 12 kB / 1.333 GB, free: 5.426 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.016e-05/1.764, allocations: 24 kB / 1.333 GB, free: 5.402 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.859e-05/1.764, allocations: 19.92 kB / 1.333 GB, free: 5.383 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.916e-06/1.764, allocations: 12.03 kB / 1.333 GB, free: 5.371 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002752/1.767, allocations: 2.391 MB / 1.335 GB, free: 2.633 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000864/1.768, allocations: 379.5 kB / 1.335 GB, free: 2.242 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002905/1.768, allocations: 31.92 kB / 1.336 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/1.769, allocations: 139.8 kB / 1.336 GB, free: 2.074 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001651/1.769, allocations: 71.78 kB / 1.336 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.727e-05/1.769, allocations: 28 kB / 1.336 GB, free: 1.977 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.001181/1.771, allocations: 0.6989 MB / 1.336 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/1.771, allocations: 0 / 1.336 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003462/1.774, allocations: 0.8242 MB / 1.337 GB, free: 448 kB / 0.9011 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.0003107/1.774, allocations: 149.3 kB / 1.337 GB, free: 288 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0041/1.779, allocations: 2.6 MB / 1.34 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/1.779, allocations: 0 / 1.34 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001004/1.78, allocations: 0.7124 MB / 1.341 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/1.781, allocations: 259 kB / 1.341 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/1.793, allocations: 3.858 MB / 1.345 GB, free: 8.715 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00352/1.797, allocations: 2.168 MB / 1.347 GB, free: 6.516 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00262/1.8, allocations: 0.7812 MB / 1.347 GB, free: 5.73 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/1.8, allocations: 75.42 kB / 1.348 GB, free: 5.656 MB / 0.9167 GB Notification: Performance of SimCode: time 1.643e-06/1.8, allocations: 0 / 1.348 GB, free: 5.656 MB / 0.9167 GB Notification: Performance of Templates: time 0.02821/1.828, allocations: 16.21 MB / 1.363 GB, free: 5.543 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)