Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001071/0.001071, allocations: 89.83 kB / 16.66 MB, free: 5.742 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.00132/0.00132, allocations: 181.4 kB / 17.58 MB, free: 5.477 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.373/1.373, allocations: 223.3 MB / 241.6 MB, free: 220 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7359/0.7359, allocations: 115.5 MB / 408.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003388, allocations: 12 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4138/0.4141, allocations: 77.51 MB / 0.5606 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.01892/0.4331, allocations: 18.51 MB / 0.5787 GB, free: 23.69 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01507/0.4482, allocations: 9.575 MB / 0.588 GB, free: 17.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002751/0.451, allocations: 59.41 kB / 0.5881 GB, free: 17.15 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.4527, allocations: 362.1 kB / 0.5884 GB, free: 16.95 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004735/0.4575, allocations: 1.22 MB / 0.5896 GB, free: 16.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003203/0.4607, allocations: 0.9188 MB / 0.5905 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007603/0.4683, allocations: 5.777 MB / 0.5961 GB, free: 13.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009318/0.4777, allocations: 6.43 MB / 0.6024 GB, free: 8.441 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002624/0.4803, allocations: 1.319 MB / 0.6037 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002225/0.4826, allocations: 1.69 MB / 0.6054 GB, free: 5.422 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002951/0.4829, allocations: 155.9 kB / 0.6055 GB, free: 5.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001335/0.4842, allocations: 0.5733 MB / 0.6061 GB, free: 4.695 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.4853, allocations: 1.161 MB / 0.6072 GB, free: 3.531 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001307/0.4866, allocations: 1.296 MB / 0.6085 GB, free: 2.223 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004/0.4906, allocations: 4.496 MB / 0.6129 GB, free: 13.71 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.892e-06/0.4906, allocations: 0 / 0.6129 GB, free: 13.71 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4906, allocations: 0 / 0.6129 GB, free: 13.71 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001324/0.4908, allocations: 4 kB / 0.6129 GB, free: 13.71 MB / 462.1 MB 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.006187/0.497, allocations: 2.392 MB / 0.6152 GB, free: 11.24 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.497, allocations: 19.95 kB / 0.6152 GB, free: 11.22 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002956/0.5, allocations: 0.513 MB / 0.6157 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002686/0.5027, allocations: 1.514 MB / 0.6172 GB, free: 9.148 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/0.5029, allocations: 211.2 kB / 0.6174 GB, free: 8.934 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004405/0.5033, allocations: 247.9 kB / 0.6176 GB, free: 8.691 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00666/0.51, allocations: 3.905 MB / 0.6215 GB, free: 4.711 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.129e-05/0.5101, allocations: 4 kB / 0.6215 GB, free: 4.707 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.5104, allocations: 96 kB / 0.6216 GB, free: 4.613 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004684/0.5108, allocations: 184.9 kB / 0.6217 GB, free: 4.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005038/0.5159, allocations: 3.127 MB / 0.6248 GB, free: 1.289 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01683/0.5327, allocations: 13.79 MB / 0.6382 GB, free: 2.363 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.534, allocations: 0.7352 MB / 0.639 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007552/0.5348, allocations: 0.5219 MB / 0.6395 GB, free: 1.098 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.535, allocations: 97.52 kB / 0.6396 GB, free: 0.9805 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007795/0.5358, allocations: 0.6007 MB / 0.6402 GB, free: 332 kB / 478.1 MB Notification: Performance of pre-optimization done (n=56): time 3.076e-06/0.5358, allocations: 0 / 0.6402 GB, free: 332 kB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.02615/0.5619, allocations: 8.845 MB / 0.6488 GB, free: 7.301 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000212/0.5622, allocations: 410.1 kB / 0.6492 GB, free: 6.809 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001787/0.564, allocations: 1.246 MB / 0.6504 GB, free: 5.551 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001547/0.5642, allocations: 41.7 kB / 0.6504 GB, free: 5.504 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.5653, allocations: 1.243 MB / 0.6517 GB, free: 4.242 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.5656, allocations: 288.1 kB / 0.6519 GB, free: 3.957 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002053/0.5658, allocations: 129.6 kB / 0.6521 GB, free: 3.824 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.911e-05/0.5659, allocations: 309.1 kB / 0.6523 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001216/0.5672, allocations: 0.7456 MB / 0.6531 GB, free: 2.773 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001688/0.5689, allocations: 1.461 MB / 0.6545 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002974/0.5719, allocations: 2.386 MB / 0.6568 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.405e-05/0.5719, allocations: 8 kB / 0.6568 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.008938/0.5808, allocations: 3.563 MB / 0.6603 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007451/0.5816, allocations: 0.8258 MB / 0.6611 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.205e-05/0.5817, allocations: 24.09 kB / 0.6611 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006378/0.5881, allocations: 1.431 MB / 0.6625 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/0.5894, allocations: 303.5 kB / 0.6628 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01591/0.6053, allocations: 10.67 MB / 0.6733 GB, free: 12.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/0.6072, allocations: 151.4 kB / 0.6734 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002789/0.6075, allocations: 83.98 kB / 0.6735 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.6076, allocations: 4 kB / 0.6735 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007602/0.6152, allocations: 3.023 MB / 0.6764 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.242e-05/0.6153, allocations: 24 kB / 0.6765 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004058/0.6194, allocations: 0.9342 MB / 0.6774 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.6208, allocations: 339.4 kB / 0.6777 GB, free: 7.934 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009348/0.6301, allocations: 5.938 MB / 0.6835 GB, free: 1.723 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.6319, allocations: 123.8 kB / 0.6836 GB, free: 1.602 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/0.6322, allocations: 80 kB / 0.6837 GB, free: 1.523 MB / 0.5137 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.002235/0.6345, allocations: 1.117 MB / 0.6848 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003712/0.6348, allocations: 138.3 kB / 0.6849 GB, free: 260 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007536/0.6424, allocations: 2.578 MB / 0.6874 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.6424, allocations: 12 kB / 0.6874 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/0.6425, allocations: 7.938 kB / 0.6875 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.805e-05/0.6425, allocations: 7.922 kB / 0.6875 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01224/0.6547, allocations: 5.245 MB / 0.6926 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.6548, allocations: 288 / 0.6926 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004951/0.6553, allocations: 103.9 kB / 0.6927 GB, free: 8.148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005927/0.6612, allocations: 1.322 MB / 0.694 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001551/0.6614, allocations: 23.92 kB / 0.694 GB, free: 6.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01481/0.6763, allocations: 10.37 MB / 0.7041 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6763, allocations: 0 / 0.7041 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008819/0.6851, allocations: 3.584 MB / 0.7076 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008355/0.686, allocations: 323.4 kB / 0.7079 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003739/0.6864, allocations: 20 kB / 0.7079 GB, free: 7.883 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.6875, allocations: 83.89 kB / 0.708 GB, free: 7.801 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003545/0.6879, allocations: 72.41 kB / 0.7081 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.161e-05/0.688, allocations: 28.05 kB / 0.7081 GB, free: 7.703 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001503/0.6895, allocations: 0.8346 MB / 0.7089 GB, free: 6.863 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6895, allocations: 3.938 kB / 0.7089 GB, free: 6.859 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003926/0.6935, allocations: 0.8945 MB / 0.7098 GB, free: 5.965 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (load_ctrl.vCTRL_1.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,load_ctrl.vCTRL_1.ctrl.connected,load_ctrl.vCTRL_1.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,load_ctrl.vCTRL_1.ctrl.connected,load_ctrl.vCTRL_1.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.0003591/0.6939, allocations: 133.6 kB / 0.7099 GB, free: 5.828 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.009538/0.7034, allocations: 4.439 MB / 0.7143 GB, free: 1.273 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.7035, allocations: 0 / 0.7143 GB, free: 1.273 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003617/0.7071, allocations: 1.592 MB / 0.7158 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/0.71, allocations: 359.9 kB / 0.7162 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009492/0.7195, allocations: 5.676 MB / 0.7217 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002558/0.7221, allocations: 2.065 MB / 0.7237 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003557/0.7225, allocations: 91.42 kB / 0.7238 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of SimCode: time 8.31e-07/0.7225, allocations: 4 kB / 0.7238 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of Templates: time 0.3873/1.11, allocations: 80.28 MB / 0.8022 GB, free: 124.7 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1)