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.0009404/0.0009404, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 184.8 kB / 16.92 MB, free: 6.934 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.422/1.422, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7065/0.7065, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005225/0.0005225, allocations: 12 kB / 495.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1975/0.198, allocations: 77.53 MB / 0.56 GB, free: 9.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.0226/0.2207, allocations: 18.51 MB / 0.578 GB, free: 6.426 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2833/0.5041, allocations: 9.56 MB / 0.5874 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001565/0.5057, allocations: 59.38 kB / 0.5874 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009909/0.5067, allocations: 364.8 kB / 0.5878 GB, free: 13.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002979/0.5097, allocations: 1.233 MB / 0.589 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.5119, allocations: 0.9139 MB / 0.5899 GB, free: 13.76 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007003/0.519, allocations: 5.768 MB / 0.5955 GB, free: 13.36 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009518/0.5285, allocations: 6.432 MB / 0.6018 GB, free: 11.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002744/0.5313, allocations: 1.32 MB / 0.6031 GB, free: 11.38 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002783/0.5341, allocations: 1.683 MB / 0.6047 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003774/0.5345, allocations: 155.6 kB / 0.6049 GB, free: 10.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001505/0.536, allocations: 0.5706 MB / 0.6054 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001291/0.5373, allocations: 1.155 MB / 0.6066 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001674/0.539, allocations: 1.296 MB / 0.6078 GB, free: 9.625 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00487/0.5438, allocations: 5.142 MB / 0.6128 GB, free: 6.633 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5439, allocations: 1.438 kB / 0.6129 GB, free: 6.633 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.5439, allocations: 4 kB / 0.6129 GB, free: 6.629 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001224/0.544, allocations: 0 / 0.6129 GB, free: 6.629 MB / 446.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.005234/0.5493, allocations: 2.395 MB / 0.6152 GB, free: 4.977 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.5493, allocations: 9.562 kB / 0.6152 GB, free: 4.977 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002791/0.5521, allocations: 0.5145 MB / 0.6157 GB, free: 4.738 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002802/0.5549, allocations: 1.507 MB / 0.6172 GB, free: 3.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001994/0.5551, allocations: 214.5 kB / 0.6174 GB, free: 3.633 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004912/0.5556, allocations: 249.4 kB / 0.6176 GB, free: 3.551 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006599/0.5622, allocations: 3.904 MB / 0.6214 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.31e-05/0.5623, allocations: 10.83 kB / 0.6214 GB, free: 1.293 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/0.5626, allocations: 102.2 kB / 0.6215 GB, free: 1.219 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003967/0.563, allocations: 183.1 kB / 0.6217 GB, free: 1.168 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004653/0.5676, allocations: 3.132 MB / 0.6248 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01706/0.5847, allocations: 13.79 MB / 0.6382 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001246/0.586, allocations: 0.7352 MB / 0.639 GB, free: 15.81 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007758/0.5868, allocations: 0.5219 MB / 0.6395 GB, free: 15.29 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.5869, allocations: 93.53 kB / 0.6396 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007864/0.5877, allocations: 0.593 MB / 0.6401 GB, free: 14.53 MB / 478.1 MB Notification: Performance of pre-optimization done (n=56): time 2.364e-06/0.5878, allocations: 0 / 0.6401 GB, free: 14.53 MB / 478.1 MB Notification: Performance of matching and sorting (n=78): time 0.02614/0.6139, allocations: 8.852 MB / 0.6488 GB, free: 5.508 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002854/0.6142, allocations: 402.2 kB / 0.6492 GB, free: 5.023 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001788/0.616, allocations: 1.25 MB / 0.6504 GB, free: 3.762 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001111/0.6161, allocations: 45.7 kB / 0.6504 GB, free: 3.711 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001202/0.6173, allocations: 1.244 MB / 0.6516 GB, free: 2.457 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003168/0.6177, allocations: 286.8 kB / 0.6519 GB, free: 2.184 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002093/0.6179, allocations: 125.7 kB / 0.652 GB, free: 2.055 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.618, allocations: 305.1 kB / 0.6523 GB, free: 1.754 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/0.6193, allocations: 0.7612 MB / 0.6531 GB, free: 0.9922 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.6211, allocations: 1.456 MB / 0.6545 GB, free: 15.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002915/0.624, allocations: 2.386 MB / 0.6568 GB, free: 12.49 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/0.6241, allocations: 8 kB / 0.6568 GB, free: 12.48 MB / 494.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.008596/0.6327, allocations: 3.563 MB / 0.6603 GB, free: 8.887 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006521/0.6333, allocations: 0.8231 MB / 0.6611 GB, free: 7.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/0.6334, allocations: 24 kB / 0.6611 GB, free: 7.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00609/0.6395, allocations: 1.422 MB / 0.6625 GB, free: 6.273 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/0.6407, allocations: 311.4 kB / 0.6628 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/0.6556, allocations: 10.68 MB / 0.6732 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.6574, allocations: 147.5 kB / 0.6734 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001344/0.6575, allocations: 84 kB / 0.6735 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.897e-06/0.6575, allocations: 3.938 kB / 0.6735 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006771/0.6643, allocations: 3.037 MB / 0.6764 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/0.6644, allocations: 24 kB / 0.6765 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003929/0.6683, allocations: 0.932 MB / 0.6774 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.6694, allocations: 335.4 kB / 0.6777 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008842/0.6783, allocations: 5.937 MB / 0.6835 GB, free: 16 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.68, allocations: 127.8 kB / 0.6836 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.6801, allocations: 79.98 kB / 0.6837 GB, free: 15.81 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.00215/0.6823, allocations: 1.107 MB / 0.6848 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002575/0.6826, allocations: 146.3 kB / 0.6849 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007079/0.6896, allocations: 2.58 MB / 0.6874 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.6897, allocations: 11.98 kB / 0.6874 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.6897, allocations: 4 kB / 0.6874 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.6897, allocations: 4 kB / 0.6874 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01089/0.7006, allocations: 5.249 MB / 0.6926 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.7006, allocations: 4 kB / 0.6926 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004537/0.7011, allocations: 100.1 kB / 0.6927 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005461/0.7066, allocations: 1.317 MB / 0.694 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.723e-05/0.7067, allocations: 16 kB / 0.694 GB, free: 5.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/0.7207, allocations: 10.37 MB / 0.7041 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.7207, allocations: 7.938 kB / 0.7041 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008072/0.7288, allocations: 3.579 MB / 0.7076 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007895/0.7296, allocations: 319.4 kB / 0.7079 GB, free: 6.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.7298, allocations: 28.06 kB / 0.7079 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009131/0.7307, allocations: 87.88 kB / 0.708 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002903/0.731, allocations: 72.34 kB / 0.7081 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.829e-05/0.7311, allocations: 24 kB / 0.7081 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001247/0.7323, allocations: 0.8346 MB / 0.7089 GB, free: 5.211 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7324, allocations: 4 kB / 0.7089 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003216/0.7356, allocations: 0.8984 MB / 0.7098 GB, free: 4.309 MB / 0.5294 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.0002545/0.7358, allocations: 126.3 kB / 0.7099 GB, free: 4.18 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008792/0.7446, allocations: 4.435 MB / 0.7143 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.7447, allocations: 0 / 0.7143 GB, free: 15.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003416/0.7481, allocations: 1.603 MB / 0.7158 GB, free: 13.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/0.7504, allocations: 350.4 kB / 0.7162 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.7605, allocations: 5.297 MB / 0.7213 GB, free: 8.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002622/0.7632, allocations: 2.018 MB / 0.7233 GB, free: 6.211 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002326/0.7655, allocations: 0.6628 MB / 0.7239 GB, free: 5.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.7658, allocations: 83.44 kB / 0.724 GB, free: 5.461 MB / 0.545 GB Notification: Performance of SimCode: time 1.373e-06/0.7658, allocations: 0 / 0.724 GB, free: 5.461 MB / 0.545 GB Notification: Performance of Templates: time 0.05221/0.818, allocations: 30.06 MB / 0.7534 GB, free: 7.777 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)