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.0007993/0.0007992, allocations: 98.97 kB / 16.02 MB, free: 80 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.0008936/0.0008936, allocations: 179.1 kB / 16.92 MB, free: 6.922 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.409/1.409, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7426/0.7426, allocations: 123 MB / 415.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000314/0.0003141, allocations: 9.062 kB / 0.4933 GB, free: 13.98 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4732, allocations: 79.28 MB / 0.5708 GB, free: 9.898 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.LoadCtrl): time 0.02196/0.4952, allocations: 18.51 MB / 0.5888 GB, free: 14.4 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01882/0.514, allocations: 9.577 MB / 0.5982 GB, free: 7.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003105/0.5172, allocations: 61.59 kB / 0.5982 GB, free: 7.82 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.519, allocations: 356.3 kB / 0.5986 GB, free: 7.621 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006878/0.5259, allocations: 1.239 MB / 0.5998 GB, free: 6.898 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003903/0.5298, allocations: 0.909 MB / 0.6007 GB, free: 6.371 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009104/0.539, allocations: 5.773 MB / 0.6063 GB, free: 3.742 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01223/0.5512, allocations: 6.432 MB / 0.6126 GB, free: 372 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003872/0.5551, allocations: 1.315 MB / 0.6139 GB, free: 15.71 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004141/0.5593, allocations: 1.694 MB / 0.6155 GB, free: 14.58 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009798/0.5603, allocations: 152 kB / 0.6157 GB, free: 14.43 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002465/0.5628, allocations: 0.5732 MB / 0.6162 GB, free: 13.86 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002207/0.565, allocations: 1.165 MB / 0.6174 GB, free: 12.7 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00311/0.5681, allocations: 1.288 MB / 0.6186 GB, free: 11.39 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006785/0.5749, allocations: 5.128 MB / 0.6236 GB, free: 6.25 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.575, allocations: 4 kB / 0.6236 GB, free: 6.246 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.575, allocations: 0 / 0.6236 GB, free: 6.246 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0001913/0.5752, allocations: 0 / 0.6236 GB, free: 6.246 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.006221/0.5814, allocations: 2.4 MB / 0.626 GB, free: 3.773 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.5815, allocations: 8.031 kB / 0.626 GB, free: 3.766 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003268/0.5847, allocations: 0.5131 MB / 0.6265 GB, free: 3.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002711/0.5875, allocations: 1.514 MB / 0.628 GB, free: 1.691 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/0.5877, allocations: 215.2 kB / 0.6282 GB, free: 1.473 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004241/0.5881, allocations: 243.9 kB / 0.6284 GB, free: 1.234 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006922/0.595, allocations: 3.901 MB / 0.6322 GB, free: 13.26 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.029e-05/0.5951, allocations: 11.89 kB / 0.6322 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002729/0.5954, allocations: 104 kB / 0.6323 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004776/0.5959, allocations: 181 kB / 0.6325 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005661/0.6015, allocations: 3.131 MB / 0.6356 GB, free: 9.82 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01986/0.6214, allocations: 13.79 MB / 0.649 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.623, allocations: 0.737 MB / 0.6497 GB, free: 10.15 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008444/0.6239, allocations: 0.518 MB / 0.6503 GB, free: 9.633 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001717/0.6241, allocations: 93.53 kB / 0.6503 GB, free: 9.523 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00088/0.6249, allocations: 0.5929 MB / 0.6509 GB, free: 8.871 MB / 494.1 MB Notification: Performance of pre-optimization done (n=56): time 3.347e-06/0.625, allocations: 4 kB / 0.6509 GB, free: 8.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=78): time 0.02929/0.6543, allocations: 8.847 MB / 0.6596 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002493/0.6546, allocations: 398.2 kB / 0.6599 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/0.6568, allocations: 1.258 MB / 0.6612 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001572/0.657, allocations: 41.7 kB / 0.6612 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001439/0.6584, allocations: 1.247 MB / 0.6624 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004412/0.6589, allocations: 288.1 kB / 0.6627 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/0.6592, allocations: 121.7 kB / 0.6628 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6593, allocations: 305.1 kB / 0.6631 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.6607, allocations: 0.7534 MB / 0.6638 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/0.6626, allocations: 1.461 MB / 0.6653 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003205/0.6658, allocations: 2.382 MB / 0.6676 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.332e-05/0.6659, allocations: 8 kB / 0.6676 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.009201/0.6751, allocations: 3.575 MB / 0.6711 GB, free: 3.188 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009771/0.6761, allocations: 0.8221 MB / 0.6719 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.049e-05/0.6762, allocations: 24 kB / 0.6719 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006419/0.6826, allocations: 1.423 MB / 0.6733 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.6839, allocations: 307.5 kB / 0.6736 GB, free: 276 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01646/0.7003, allocations: 10.68 MB / 0.684 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002036/0.7024, allocations: 151.4 kB / 0.6842 GB, free: 4.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003334/0.7028, allocations: 76.08 kB / 0.6843 GB, free: 4.836 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.7028, allocations: 4 kB / 0.6843 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007862/0.7107, allocations: 3.035 MB / 0.6872 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.281e-05/0.7108, allocations: 28.06 kB / 0.6872 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004053/0.7148, allocations: 0.934 MB / 0.6882 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.7163, allocations: 331.4 kB / 0.6885 GB, free: 492 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009629/0.726, allocations: 5.946 MB / 0.6943 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.7278, allocations: 123.8 kB / 0.6944 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003277/0.7282, allocations: 84.08 kB / 0.6945 GB, free: 10.06 MB / 0.5294 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.002211/0.7304, allocations: 1.118 MB / 0.6956 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004036/0.7308, allocations: 142.3 kB / 0.6957 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00764/0.7385, allocations: 2.578 MB / 0.6982 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.7385, allocations: 11.98 kB / 0.6982 GB, free: 6.164 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.011e-05/0.7385, allocations: 4 kB / 0.6982 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.849e-05/0.7386, allocations: 11.92 kB / 0.6983 GB, free: 6.148 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01231/0.7509, allocations: 5.241 MB / 0.7034 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.405e-05/0.7509, allocations: 4 kB / 0.7034 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.7514, allocations: 95.86 kB / 0.7035 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005919/0.7574, allocations: 1.322 MB / 0.7048 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001225/0.7575, allocations: 23.94 kB / 0.7048 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01508/0.7726, allocations: 10.35 MB / 0.7149 GB, free: 4.434 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7727, allocations: 4.062 kB / 0.7149 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008733/0.7814, allocations: 3.584 MB / 0.7184 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007697/0.7822, allocations: 315.5 kB / 0.7187 GB, free: 472 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/0.7826, allocations: 20 kB / 0.7187 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.7837, allocations: 91.94 kB / 0.7188 GB, free: 360 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/0.784, allocations: 76.34 kB / 0.7189 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.838e-05/0.7841, allocations: 20 kB / 0.7189 GB, free: 264 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001431/0.7855, allocations: 0.8386 MB / 0.7197 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/0.7855, allocations: 0 / 0.7197 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003785/0.7893, allocations: 0.8945 MB / 0.7206 GB, free: 14.52 MB / 0.5606 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.0002827/0.7896, allocations: 139 kB / 0.7207 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009397/0.799, allocations: 4.432 MB / 0.725 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.7991, allocations: 4.062 kB / 0.725 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.003575/0.8026, allocations: 1.606 MB / 0.7266 GB, free: 8.156 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/0.8053, allocations: 352.7 kB / 0.727 GB, free: 7.816 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008528/0.8139, allocations: 5.297 MB / 0.7321 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002354/0.8162, allocations: 2.018 MB / 0.7341 GB, free: 416 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002016/0.8183, allocations: 0.659 MB / 0.7347 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002557/0.8185, allocations: 87.31 kB / 0.7348 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of SimCode: time 1.173e-06/0.8186, allocations: 0 / 0.7348 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of Templates: time 0.05242/0.871, allocations: 30.06 MB / 0.7642 GB, free: 1.914 MB / 0.5919 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)