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.001039/0.001039, allocations: 97.2 kB / 15.69 MB, free: 480 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.001377/0.001376, allocations: 175.7 kB / 16.57 MB, free: 6.398 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.455/1.455, allocations: 223.2 MB / 240.5 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7384/0.7384, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003156, allocations: 8 kB / 493.1 MB, free: 8.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1547, allocations: 77.15 MB / 0.5569 GB, free: 11.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.01724/0.172, allocations: 16.89 MB / 0.5733 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01246/0.1845, allocations: 8.924 MB / 0.5821 GB, free: 1.699 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.1862, allocations: 51.75 kB / 0.5821 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001071/0.1873, allocations: 421.4 kB / 0.5825 GB, free: 1.234 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3977/0.585, allocations: 1.246 MB / 0.5837 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003893/0.5889, allocations: 0.9124 MB / 0.5846 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005463/0.5944, allocations: 1.941 MB / 0.5865 GB, free: 13.51 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01177/0.6062, allocations: 5.585 MB / 0.592 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004154/0.6104, allocations: 1.129 MB / 0.5931 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004381/0.6148, allocations: 1.111 MB / 0.5942 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009278/0.6158, allocations: 155 kB / 0.5943 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001937/0.6177, allocations: 335.7 kB / 0.5946 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001945/0.6197, allocations: 1.07 MB / 0.5957 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.6213, allocations: 0.5272 MB / 0.5962 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008831/0.6301, allocations: 4.477 MB / 0.6006 GB, free: 12.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.6302, allocations: 1 kB / 0.6006 GB, free: 12.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 4.859e-06/0.6302, allocations: 0 / 0.6006 GB, free: 12.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003217/0.6305, allocations: 0 / 0.6006 GB, free: 12.4 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.01114/0.6417, allocations: 2.418 MB / 0.6029 GB, free: 11.22 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.6418, allocations: 9.375 kB / 0.6029 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004805/0.6466, allocations: 0.5315 MB / 0.6034 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005566/0.6522, allocations: 1.481 MB / 0.6049 GB, free: 10.58 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003187/0.6525, allocations: 218 kB / 0.6051 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001661/0.6542, allocations: 244.9 kB / 0.6053 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/0.6655, allocations: 3.867 MB / 0.6091 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.418e-05/0.6656, allocations: 2.094 kB / 0.6091 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003301/0.666, allocations: 102.6 kB / 0.6092 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005751/0.6665, allocations: 182.8 kB / 0.6094 GB, free: 9.465 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007672/0.6742, allocations: 3.11 MB / 0.6124 GB, free: 8.887 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02189/0.6961, allocations: 13.78 MB / 0.6259 GB, free: 13.65 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.6975, allocations: 0.7602 MB / 0.6266 GB, free: 13.26 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001621/0.6977, allocations: 90.03 kB / 0.6267 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008715/0.6986, allocations: 0.5934 MB / 0.6273 GB, free: 12.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=56): time 2.043e-06/0.6986, allocations: 0 / 0.6273 GB, free: 12.71 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.02693/0.7255, allocations: 8.926 MB / 0.636 GB, free: 4.418 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000253/0.7258, allocations: 406.2 kB / 0.6364 GB, free: 3.93 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00224/0.7281, allocations: 1.234 MB / 0.6376 GB, free: 2.684 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002575/0.7284, allocations: 49.2 kB / 0.6376 GB, free: 2.633 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001656/0.73, allocations: 1.257 MB / 0.6389 GB, free: 1.367 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003938/0.7304, allocations: 271.8 kB / 0.6391 GB, free: 1.102 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.487e-05/0.7305, allocations: 32 kB / 0.6392 GB, free: 1.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002553/0.7308, allocations: 376.3 kB / 0.6395 GB, free: 0.6992 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001277/0.7321, allocations: 0.743 MB / 0.6402 GB, free: 15.96 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.734, allocations: 1.454 MB / 0.6417 GB, free: 14.19 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001495/0.7355, allocations: 1.101 MB / 0.6427 GB, free: 13.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/0.7355, allocations: 8 kB / 0.6427 GB, free: 13.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.008408/0.7439, allocations: 3.558 MB / 0.6462 GB, free: 9.516 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.004235/0.7482, allocations: 9.199 MB / 0.6552 GB, free: 15.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.285e-05/0.7483, allocations: 27.98 kB / 0.6552 GB, free: 15.57 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006271/0.7546, allocations: 1.422 MB / 0.6566 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.756, allocations: 299.5 kB / 0.6569 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0167/0.7727, allocations: 10.98 MB / 0.6676 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/0.7748, allocations: 155.5 kB / 0.6678 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/0.775, allocations: 84 kB / 0.6679 GB, free: 2.109 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.775, allocations: 4 kB / 0.6679 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006987/0.782, allocations: 3.022 MB / 0.6708 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.831e-05/0.7822, allocations: 24 kB / 0.6708 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003836/0.786, allocations: 0.9404 MB / 0.6718 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001461/0.7875, allocations: 339.4 kB / 0.6721 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00906/0.7965, allocations: 6.088 MB / 0.678 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.7984, allocations: 123.8 kB / 0.6781 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/0.7986, allocations: 84 kB / 0.6782 GB, free: 7.23 MB / 0.4981 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 ($whenCondition1,$whenCondition2,$PRE.load_ctrl.vCTRL_1.ctrl.connected,load_ctrl.vCTRL_1.ctrl.connected,$PRE.load_ctrl.vCTRL_1.ctrl.tSwitch,load_ctrl.vCTRL_1.ctrl.tSwitch) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.002133/0.8008, allocations: 1.119 MB / 0.6793 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002944/0.8011, allocations: 138.4 kB / 0.6794 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006743/0.8078, allocations: 2.574 MB / 0.682 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.8078, allocations: 11.94 kB / 0.682 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.8079, allocations: 7.984 kB / 0.682 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.8079, allocations: 4 kB / 0.682 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/0.8189, allocations: 5.141 MB / 0.687 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.8189, allocations: 4.656 kB / 0.687 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/0.8194, allocations: 99.86 kB / 0.6871 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005344/0.8248, allocations: 1.32 MB / 0.6884 GB, free: 12.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.8249, allocations: 20 kB / 0.6884 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01357/0.8385, allocations: 10.64 MB / 0.6988 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.8386, allocations: 8.016 kB / 0.6988 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007825/0.8464, allocations: 3.701 MB / 0.7024 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009434/0.8474, allocations: 319.5 kB / 0.7027 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.8476, allocations: 20 kB / 0.7028 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009654/0.8486, allocations: 87.94 kB / 0.7028 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004037/0.849, allocations: 72.42 kB / 0.7029 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/0.8491, allocations: 24 kB / 0.7029 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001276/0.8504, allocations: 0.8229 MB / 0.7037 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.8504, allocations: 0 / 0.7037 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.003588/0.854, allocations: 0.9023 MB / 0.7046 GB, free: 11.44 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002404/0.8542, allocations: 135.7 kB / 0.7047 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008785/0.863, allocations: 4.427 MB / 0.7091 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/0.8631, allocations: 4.438 kB / 0.7091 GB, free: 6.758 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00346/0.8666, allocations: 1.603 MB / 0.7106 GB, free: 5.098 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/0.8685, allocations: 345.1 kB / 0.711 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009207/0.8777, allocations: 5.053 MB / 0.7159 GB, free: 15.66 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002044/0.8799, allocations: 2.057 MB / 0.7179 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001896/0.8818, allocations: 0.6628 MB / 0.7186 GB, free: 12.91 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.882, allocations: 88.52 kB / 0.7186 GB, free: 12.82 MB / 0.545 GB Notification: Performance of SimCode: time 6.82e-07/0.882, allocations: 0 / 0.7186 GB, free: 12.82 MB / 0.545 GB Notification: Performance of Templates: time 0.04855/0.9305, allocations: 29.31 MB / 0.7473 GB, free: 15.89 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)