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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_LoadCtrl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_LoadCtrl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008954/0.0008951, allocations: 96.03 kB / 15.68 MB, free: 488 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.001124/0.001124, allocations: 176.7 kB / 16.57 MB, free: 6.391 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.315/1.315, allocations: 223.2 MB / 240.5 MB, free: 5.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6902/0.6902, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000309/0.000309, allocations: 9.625 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1499, allocations: 77.13 MB / 0.5567 GB, free: 11.67 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.01774/0.1677, allocations: 16.88 MB / 0.5732 GB, free: 10.73 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01386/0.1816, allocations: 8.936 MB / 0.582 GB, free: 1.781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.1832, allocations: 51.75 kB / 0.582 GB, free: 1.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001118/0.1844, allocations: 425.3 kB / 0.5824 GB, free: 1.312 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003797/0.1882, allocations: 1.242 MB / 0.5836 GB, free: 68 kB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3377/0.5258, allocations: 0.9016 MB / 0.5845 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005564/0.5314, allocations: 1.942 MB / 0.5864 GB, free: 13.54 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01046/0.5419, allocations: 5.571 MB / 0.5918 GB, free: 12.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002958/0.5449, allocations: 1.134 MB / 0.5929 GB, free: 12.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002033/0.5469, allocations: 1.11 MB / 0.594 GB, free: 12.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003688/0.5473, allocations: 152 kB / 0.5942 GB, free: 12.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.5485, allocations: 341.5 kB / 0.5945 GB, free: 12.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001469/0.55, allocations: 1.07 MB / 0.5955 GB, free: 12.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008783/0.5509, allocations: 0.5287 MB / 0.5961 GB, free: 12.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00659/0.5575, allocations: 4.473 MB / 0.6004 GB, free: 12.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.5575, allocations: 4 kB / 0.6004 GB, free: 12.43 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5575, allocations: 0 / 0.6004 GB, free: 12.43 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002153/0.5577, allocations: 0 / 0.6004 GB, free: 12.43 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.007892/0.5656, allocations: 2.413 MB / 0.6028 GB, free: 11.27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.5657, allocations: 10.19 kB / 0.6028 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00123/0.5669, allocations: 383.6 kB / 0.6032 GB, free: 11.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003558/0.5705, allocations: 0.5272 MB / 0.6037 GB, free: 11.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004036/0.5745, allocations: 1.486 MB / 0.6051 GB, free: 10.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002041/0.5747, allocations: 209.1 kB / 0.6053 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005084/0.5753, allocations: 251.6 kB / 0.6056 GB, free: 10.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008471/0.5837, allocations: 3.864 MB / 0.6093 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.034e-05/0.5838, allocations: 1.219 kB / 0.6093 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002976/0.5841, allocations: 106 kB / 0.6095 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005134/0.5847, allocations: 185.3 kB / 0.6096 GB, free: 9.426 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005973/0.5906, allocations: 3.107 MB / 0.6127 GB, free: 8.848 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01764/0.6083, allocations: 13.79 MB / 0.6261 GB, free: 13.54 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001296/0.6096, allocations: 0.753 MB / 0.6269 GB, free: 13.14 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001457/0.6098, allocations: 86.73 kB / 0.6269 GB, free: 13.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000752/0.6106, allocations: 0.5965 MB / 0.6275 GB, free: 12.6 MB / 462.1 MB Notification: Performance of pre-optimization done (n=56): time 2.365e-06/0.6106, allocations: 0 / 0.6275 GB, free: 12.6 MB / 462.1 MB Notification: Performance of matching and sorting (n=78): time 0.02391/0.6345, allocations: 8.93 MB / 0.6362 GB, free: 4.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/0.6347, allocations: 408.6 kB / 0.6366 GB, free: 3.742 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001719/0.6364, allocations: 1.238 MB / 0.6378 GB, free: 2.492 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.6365, allocations: 41.7 kB / 0.6379 GB, free: 2.445 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00115/0.6377, allocations: 1.255 MB / 0.6391 GB, free: 1.184 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002536/0.638, allocations: 284.8 kB / 0.6394 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-05/0.638, allocations: 28 kB / 0.6394 GB, free: 0.8828 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6382, allocations: 369.9 kB / 0.6398 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001049/0.6392, allocations: 0.7495 MB / 0.6405 GB, free: 15.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/0.6407, allocations: 1.451 MB / 0.6419 GB, free: 14 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.642, allocations: 1.104 MB / 0.643 GB, free: 12.9 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.357e-06/0.642, allocations: 8 kB / 0.643 GB, free: 12.89 MB / 478.1 MB Notification: Performance of matching and sorting (n=192) (initialization): time 0.007672/0.6497, allocations: 3.553 MB / 0.6465 GB, free: 9.324 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.003116/0.6529, allocations: 9.197 MB / 0.6555 GB, free: 15.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.395e-05/0.6529, allocations: 20 kB / 0.6555 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005493/0.6584, allocations: 1.422 MB / 0.6569 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.6597, allocations: 311.5 kB / 0.6572 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01397/0.6736, allocations: 10.99 MB / 0.6679 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00195/0.6756, allocations: 143.5 kB / 0.668 GB, free: 2.008 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.6758, allocations: 79.98 kB / 0.6681 GB, free: 1.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.6758, allocations: 6.344 kB / 0.6681 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006231/0.682, allocations: 3.026 MB / 0.6711 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.256e-05/0.6821, allocations: 24.25 kB / 0.6711 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003497/0.6856, allocations: 0.934 MB / 0.672 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.6868, allocations: 339.4 kB / 0.6723 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008119/0.6949, allocations: 6.105 MB / 0.6783 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/0.6967, allocations: 115.7 kB / 0.6784 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/0.6969, allocations: 84.05 kB / 0.6785 GB, free: 7.039 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.002052/0.699, allocations: 1.117 MB / 0.6796 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/0.6992, allocations: 138.4 kB / 0.6797 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00626/0.7055, allocations: 2.581 MB / 0.6822 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-05/0.7055, allocations: 8 kB / 0.6822 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.7055, allocations: 4 kB / 0.6822 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.7055, allocations: 7.938 kB / 0.6822 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/0.7156, allocations: 5.137 MB / 0.6873 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.7156, allocations: 0 / 0.6873 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004256/0.716, allocations: 99.86 kB / 0.6873 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004881/0.7209, allocations: 1.314 MB / 0.6886 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.58e-05/0.721, allocations: 23.98 kB / 0.6887 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01245/0.7335, allocations: 10.66 MB / 0.6991 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.7335, allocations: 7.984 kB / 0.6991 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007148/0.7407, allocations: 3.696 MB / 0.7027 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008269/0.7415, allocations: 327.5 kB / 0.703 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001756/0.7417, allocations: 23.98 kB / 0.703 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008592/0.7426, allocations: 79.89 kB / 0.7031 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002576/0.7428, allocations: 80.47 kB / 0.7032 GB, free: 13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.445e-05/0.7429, allocations: 24 kB / 0.7032 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00114/0.744, allocations: 0.819 MB / 0.704 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.744, allocations: 0 / 0.704 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00294/0.747, allocations: 0.8984 MB / 0.7049 GB, free: 11.25 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.007467/0.7545, allocations: 4.915 MB / 0.7097 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007802/0.7623, allocations: 4.424 MB / 0.714 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.7623, allocations: 4 kB / 0.714 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00291/0.7652, allocations: 1.605 MB / 0.7156 GB, free: 28 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.7668, allocations: 333.8 kB / 0.7159 GB, free: 15.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02603/0.7929, allocations: 28.4 MB / 0.7436 GB, free: 2.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001836/0.7947, allocations: 2.057 MB / 0.7456 GB, free: 416 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001794/0.7966, allocations: 0.6745 MB / 0.7463 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008491/0.7974, allocations: 0.8078 MB / 0.7471 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.7974, allocations: 0 / 0.7471 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.513/2.31, allocations: 45.96 MB / 0.792 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001654/2.31, allocations: 241.3 kB / 0.7922 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.595/4.906, allocations: 3.516 kB / 0.7922 GB, free: 1.301 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_LoadCtrl_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_LoadCtrl.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl.pipe 2>&1) Environment - environmentSimulation: