Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.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.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 115.3 kB / 16.42 MB, free: 6.02 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.001213/0.001213, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.491/1.491, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002307/0.002308, allocations: 292 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9715/0.9715, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 87.86 kB / 0.6821 GB, free: 7.016 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5177/0.5198, allocations: 86.98 MB / 0.7671 GB, free: 4.148 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02169/0.5415, allocations: 19.28 MB / 0.7859 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01472/0.5563, allocations: 9.693 MB / 0.7953 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002086/0.5584, allocations: 67.75 kB / 0.7954 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004332/0.5628, allocations: 1.663 MB / 0.797 GB, free: 5.348 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003792/0.5666, allocations: 1.343 MB / 0.7983 GB, free: 4 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003992/0.5706, allocations: 1.517 MB / 0.7998 GB, free: 2.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00465/0.5752, allocations: 3.983 MB / 0.8037 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006888/0.5821, allocations: 5.314 MB / 0.8089 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003074/0.5852, allocations: 1.851 MB / 0.8107 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003334/0.5886, allocations: 1.947 MB / 0.8126 GB, free: 5.301 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001205/0.5898, allocations: 376 kB / 0.813 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002212/0.592, allocations: 0.714 MB / 0.8137 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002189/0.5942, allocations: 1.427 MB / 0.8151 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003836/0.5981, allocations: 1.587 MB / 0.8166 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008489/0.6066, allocations: 5.407 MB / 0.8219 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6066, allocations: 8 kB / 0.8219 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.094e-06/0.6066, allocations: 0 / 0.8219 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001778/0.6068, allocations: 0 / 0.8219 GB, free: 11.77 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 652 * Number of variables: 652 Notification: Performance of Generate backend data structure: time 0.008399/0.6152, allocations: 2.926 MB / 0.8248 GB, free: 8.766 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.6153, allocations: 12.03 kB / 0.8248 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003339/0.6186, allocations: 0.5053 MB / 0.8253 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003695/0.6223, allocations: 1.549 MB / 0.8268 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/0.6226, allocations: 215.2 kB / 0.827 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007246/0.6233, allocations: 251.9 kB / 0.8272 GB, free: 6.184 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007888/0.6312, allocations: 3.894 MB / 0.831 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.325e-05/0.6313, allocations: 7.922 kB / 0.831 GB, free: 2.207 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004265/0.6317, allocations: 108 kB / 0.8311 GB, free: 2.102 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004782/0.6322, allocations: 181 kB / 0.8313 GB, free: 1.922 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005705/0.6379, allocations: 3.123 MB / 0.8344 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01813/0.6561, allocations: 13.61 MB / 0.8476 GB, free: 44 kB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.6575, allocations: 0.7495 MB / 0.8484 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008235/0.6583, allocations: 0.5219 MB / 0.8489 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.6585, allocations: 97.47 kB / 0.849 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008413/0.6593, allocations: 0.5968 MB / 0.8496 GB, free: 14 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=56): time 3.537e-06/0.6594, allocations: 4 kB / 0.8496 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78): time 0.02622/0.6856, allocations: 8.687 MB / 0.858 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001982/0.6858, allocations: 402.2 kB / 0.8584 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.6878, allocations: 1.246 MB / 0.8597 GB, free: 3.391 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.6879, allocations: 45.64 kB / 0.8597 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001119/0.689, allocations: 1.247 MB / 0.8609 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000332/0.6894, allocations: 288.1 kB / 0.8612 GB, free: 1.789 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006506/0.6901, allocations: 311.2 kB / 0.8615 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.6902, allocations: 305.1 kB / 0.8618 GB, free: 1.18 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001459/0.6917, allocations: 0.7543 MB / 0.8625 GB, free: 432 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/0.6937, allocations: 1.457 MB / 0.8639 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003265/0.697, allocations: 2.375 MB / 0.8663 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.943e-05/0.697, allocations: 12.09 kB / 0.8663 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.008652/0.7057, allocations: 3.516 MB / 0.8697 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.213e-05/0.7058, allocations: 71.41 kB / 0.8698 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-05/0.7059, allocations: 24 kB / 0.8698 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005629/0.7115, allocations: 1.334 MB / 0.8711 GB, free: 6.902 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001115/0.7126, allocations: 299.5 kB / 0.8714 GB, free: 6.609 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01578/0.7284, allocations: 11.46 MB / 0.8826 GB, free: 10.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.7303, allocations: 143.5 kB / 0.8827 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002655/0.7306, allocations: 76 kB / 0.8828 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002689/0.7333, allocations: 1.63 MB / 0.8844 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001813/0.7351, allocations: 1.434 MB / 0.8858 GB, free: 6.988 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003113/0.7382, allocations: 2.339 MB / 0.8881 GB, free: 4.305 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.561e-05/0.7383, allocations: 8 kB / 0.8881 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of matching and sorting (n=192) (initialization_lambda0): time 0.007289/0.7456, allocations: 3.097 MB / 0.8911 GB, free: 1.176 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.107e-05/0.7456, allocations: 75.39 kB / 0.8912 GB, free: 1.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-05/0.7457, allocations: 24 kB / 0.8912 GB, free: 1.066 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003591/0.7493, allocations: 0.8562 MB / 0.892 GB, free: 208 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.7507, allocations: 335.4 kB / 0.8923 GB, free: 15.88 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009476/0.7601, allocations: 6.311 MB / 0.8985 GB, free: 9.281 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001915/0.7621, allocations: 119.8 kB / 0.8986 GB, free: 9.164 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002792/0.7624, allocations: 80 kB / 0.8987 GB, free: 9.086 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 105 * Number of states: 0 () * Number of discrete variables: 6 (load_ctrl.vCTRL_1.ctrl.tSwitch,$PRE.load_ctrl.vCTRL_1.ctrl.tSwitch,load_ctrl.vCTRL_1.ctrl.connected,$PRE.load_ctrl.vCTRL_1.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (162): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0006384/0.763, allocations: 331.1 kB / 0.899 GB, free: 8.75 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003755/0.7634, allocations: 134.4 kB / 0.8991 GB, free: 8.617 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007055/0.7705, allocations: 2.531 MB / 0.9016 GB, free: 6.055 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/0.7705, allocations: 7.984 kB / 0.9016 GB, free: 6.047 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.7705, allocations: 0 / 0.9016 GB, free: 6.047 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008365/0.7714, allocations: 319.4 kB / 0.9019 GB, free: 5.715 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003455/0.7717, allocations: 20 kB / 0.9019 GB, free: 5.695 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009271/0.7727, allocations: 79.89 kB / 0.902 GB, free: 5.617 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002791/0.773, allocations: 84.36 kB / 0.9021 GB, free: 5.535 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005788/0.7788, allocations: 2.505 MB / 0.9045 GB, free: 2.984 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003018/0.7818, allocations: 2.304 MB / 0.9068 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008393/0.7826, allocations: 0.6407 MB / 0.9074 GB, free: 20 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001454/0.7841, allocations: 0.8347 MB / 0.9082 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of Backend: time 5.31e-07/0.7841, allocations: 0 / 0.9082 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.009311/0.7934, allocations: 4.199 MB / 0.9123 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of SimCode: time 0.008185/0.8017, allocations: 4.802 MB / 0.917 GB, free: 6.004 MB / 0.6856 GB Notification: Performance of Templates: time 0.06043/0.8621, allocations: 37.42 MB / 0.9536 GB, free: 0.9609 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1)