Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 114 kB / 16.42 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 183.9 kB / 17.35 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002347/0.002347, allocations: 297.4 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9698/0.9698, allocations: 169.3 MB / 0.499 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001877, allocations: 95.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.508/0.5099, allocations: 86.98 MB / 0.7671 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04144/0.5514, allocations: 37.25 MB / 0.8034 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02465/0.5761, allocations: 13.53 MB / 0.8167 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00435/0.5805, allocations: 115.6 kB / 0.8168 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.006291/0.5868, allocations: 2.288 MB / 0.819 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004317/0.5912, allocations: 1.424 MB / 0.8204 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009184/0.6004, allocations: 3.52 MB / 0.8238 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008266/0.6087, allocations: 6.395 MB / 0.8301 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01326/0.6219, allocations: 9.901 MB / 0.8397 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004545/0.6265, allocations: 2.751 MB / 0.8424 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005263/0.6318, allocations: 3.202 MB / 0.8456 GB, free: 3.172 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001773/0.6336, allocations: 0.6172 MB / 0.8462 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/0.637, allocations: 1.229 MB / 0.8474 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003637/0.6407, allocations: 2.484 MB / 0.8498 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.006982/0.6477, allocations: 2.549 MB / 0.8523 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01145/0.6591, allocations: 9.137 MB / 0.8612 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.6592, allocations: 0 / 0.8612 GB, free: 3.117 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6592, allocations: 4 kB / 0.8612 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003064/0.6595, allocations: 0 / 0.8612 GB, free: 3.113 MB / 0.6231 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.01197/0.6715, allocations: 4.303 MB / 0.8654 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.6716, allocations: 8.031 kB / 0.8654 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0048/0.6764, allocations: 0.9481 MB / 0.8663 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005636/0.682, allocations: 2.218 MB / 0.8685 GB, free: 11.52 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002928/0.6823, allocations: 329 kB / 0.8688 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001377/0.6837, allocations: 432.2 kB / 0.8692 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.016/0.6997, allocations: 7.369 MB / 0.8764 GB, free: 3.16 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001652/0.6999, allocations: 7.938 kB / 0.8764 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001156/0.7011, allocations: 184 kB / 0.8766 GB, free: 2.973 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003619/0.7015, allocations: 290.9 kB / 0.8769 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01151/0.713, allocations: 5.959 MB / 0.8827 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04155/0.7546, allocations: 32.37 MB / 0.9143 GB, free: 9.504 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003534/0.7581, allocations: 2.111 MB / 0.9164 GB, free: 7.359 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.7598, allocations: 1.237 MB / 0.9176 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/0.76, allocations: 98.08 kB / 0.9177 GB, free: 5.996 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.7601, allocations: 51.5 kB / 0.9177 GB, free: 5.938 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=98): time 3.987e-06/0.7601, allocations: 4 kB / 0.9177 GB, free: 5.934 MB / 0.6856 GB Notification: Performance of matching and sorting (n=101): time 0.009132/0.7692, allocations: 5.223 MB / 0.9228 GB, free: 0.668 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.7693, allocations: 149.4 kB / 0.923 GB, free: 500 kB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002207/0.7716, allocations: 1.453 MB / 0.9244 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.7717, allocations: 50.25 kB / 0.9244 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.7728, allocations: 1.859 MB / 0.9262 GB, free: 13.08 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003756/0.7732, allocations: 378.8 kB / 0.9266 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006992/0.7739, allocations: 459.1 kB / 0.927 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.54e-05/0.774, allocations: 301.1 kB / 0.9273 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001601/0.7756, allocations: 1.114 MB / 0.9284 GB, free: 10.82 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/0.778, allocations: 2.184 MB / 0.9306 GB, free: 8.121 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003954/0.7819, allocations: 3.395 MB / 0.9339 GB, free: 4.254 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.342e-05/0.782, allocations: 12 kB / 0.9339 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005097/0.7871, allocations: 3.312 MB / 0.9371 GB, free: 0.918 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.087e-05/0.7871, allocations: 20 kB / 0.9371 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.358e-05/0.7872, allocations: 36 kB / 0.9372 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.095e-05/0.7873, allocations: 48 kB / 0.9372 GB, free: 0.8164 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/0.7895, allocations: 0.6199 MB / 0.9378 GB, free: 200 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.416e-05/0.7896, allocations: 75.66 kB / 0.9379 GB, free: 124 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.7916, allocations: 310.9 kB / 0.9382 GB, free: 15.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/0.7918, allocations: 112 kB / 0.9383 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003613/0.7954, allocations: 2.411 MB / 0.9407 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002059/0.7975, allocations: 2.011 MB / 0.9426 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003482/0.801, allocations: 3.033 MB / 0.9456 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-05/0.801, allocations: 12 kB / 0.9456 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004392/0.8054, allocations: 2.925 MB / 0.9484 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.8055, allocations: 20 kB / 0.9485 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.835e-05/0.8056, allocations: 36 kB / 0.9485 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.188e-05/0.8056, allocations: 48 kB / 0.9485 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/0.8075, allocations: 0.5504 MB / 0.9491 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.93e-05/0.8075, allocations: 79.66 kB / 0.9492 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.8095, allocations: 247 kB / 0.9494 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/0.8097, allocations: 112 kB / 0.9495 GB, free: 3.191 MB / 0.7169 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006194/0.8103, allocations: 343.2 kB / 0.9498 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004129/0.8107, allocations: 154.1 kB / 0.95 GB, free: 2.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003522/0.8142, allocations: 2.219 MB / 0.9521 GB, free: 472 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.8143, allocations: 11.97 kB / 0.9522 GB, free: 460 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.8143, allocations: 3.938 kB / 0.9522 GB, free: 456 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009989/0.8153, allocations: 438.9 kB / 0.9526 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003537/0.8156, allocations: 16 kB / 0.9526 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/0.8172, allocations: 295.4 kB / 0.9529 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.8174, allocations: 52.92 kB / 0.9529 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003624/0.8211, allocations: 2.474 MB / 0.9553 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00322/0.8243, allocations: 2.49 MB / 0.9578 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00119/0.8255, allocations: 0.9758 MB / 0.9587 GB, free: 9.664 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001801/0.8273, allocations: 0.9664 MB / 0.9597 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of Backend: time 4.2e-07/0.8273, allocations: 0 / 0.9597 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006565/0.8339, allocations: 3.479 MB / 0.9631 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of SimCode: time 0.3943/1.228, allocations: 6.354 MB / 0.9693 GB, free: 187.5 MB / 0.7325 GB Notification: Performance of Templates: time 0.05752/1.286, allocations: 38.75 MB / 1.007 GB, free: 162.5 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)