Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.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.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 114.5 kB / 17.08 MB, free: 5.914 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.001427/0.001427, allocations: 194.9 kB / 18.02 MB, free: 5.008 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.304/1.304, allocations: 222.9 MB / 241.7 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7189/0.7189, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 64.23 kB / 0.5583 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1354, allocations: 76.18 MB / 0.6327 GB, free: 4.414 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003861/0.1392, allocations: 2.291 MB / 0.6349 GB, free: 2.109 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1407, allocations: 0.7792 MB / 0.6357 GB, free: 1.324 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.1408, allocations: 4 kB / 0.6357 GB, free: 1.32 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006044/0.1414, allocations: 143.4 kB / 0.6358 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.1417, allocations: 67.61 kB / 0.6359 GB, free: 1.113 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.1419, allocations: 59.8 kB / 0.636 GB, free: 1.055 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.1422, allocations: 159.5 kB / 0.6361 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002622/0.1424, allocations: 101 kB / 0.6362 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.1426, allocations: 67.77 kB / 0.6363 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001776/0.1428, allocations: 75.62 kB / 0.6363 GB, free: 0.6602 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.1428, allocations: 12 kB / 0.6364 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001283/0.143, allocations: 47.89 kB / 0.6364 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.091e-05/0.143, allocations: 39.89 kB / 0.6364 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 9.139e-05/0.1431, allocations: 63.67 kB / 0.6365 GB, free: 0.5 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.1434, allocations: 167.5 kB / 0.6367 GB, free: 344 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1434, allocations: 0 / 0.6367 GB, free: 344 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1434, allocations: 0 / 0.6367 GB, free: 344 kB / 478.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1434, allocations: 0 / 0.6367 GB, free: 344 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007811/0.1442, allocations: 0.4907 MB / 0.6371 GB, free: 15.79 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.1443, allocations: 8.031 kB / 0.6371 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002292/0.1445, allocations: 28.73 kB / 0.6372 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.1448, allocations: 216.1 kB / 0.6374 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.1448, allocations: 38.39 kB / 0.6374 GB, free: 15.46 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.1449, allocations: 16.12 kB / 0.6374 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003013/0.1452, allocations: 148.8 kB / 0.6376 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1452, allocations: 0 / 0.6376 GB, free: 15.28 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1452, allocations: 7.984 kB / 0.6376 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.1452, allocations: 4 kB / 0.6376 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002001/0.1454, allocations: 87.88 kB / 0.6377 GB, free: 15.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008525/0.1463, allocations: 0.6441 MB / 0.6383 GB, free: 14.48 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.1465, allocations: 54.56 kB / 0.6383 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.418e-05/0.1466, allocations: 28.91 kB / 0.6384 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.1466, allocations: 0 / 0.6384 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001943/0.1468, allocations: 146.8 kB / 0.6385 GB, free: 14.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.1469, allocations: 0 / 0.6385 GB, free: 14.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003732/0.1472, allocations: 171.2 kB / 0.6387 GB, free: 14.04 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/0.1473, allocations: 132.5 kB / 0.6388 GB, free: 13.88 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.1475, allocations: 178.4 kB / 0.639 GB, free: 13.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.1475, allocations: 29.7 kB / 0.639 GB, free: 13.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.1476, allocations: 143.7 kB / 0.6391 GB, free: 13.5 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.1476, allocations: 19.75 kB / 0.6392 GB, free: 13.48 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.788e-05/0.1477, allocations: 49.61 kB / 0.6392 GB, free: 13.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.1478, allocations: 322.8 kB / 0.6395 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.331e-05/0.1479, allocations: 39.97 kB / 0.6396 GB, free: 13.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.148, allocations: 115.2 kB / 0.6397 GB, free: 12.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.1483, allocations: 226.4 kB / 0.6399 GB, free: 12.65 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.1483, allocations: 0 / 0.6399 GB, free: 12.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003562/0.1487, allocations: 244.7 kB / 0.6401 GB, free: 12.39 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.1487, allocations: 63.39 kB / 0.6402 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.1487, allocations: 7.875 kB / 0.6402 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1488, allocations: 4 kB / 0.6402 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.1489, allocations: 31.92 kB / 0.6402 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.1489, allocations: 4 kB / 0.6402 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.1491, allocations: 36.05 kB / 0.6403 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.516e-05/0.1491, allocations: 8 kB / 0.6403 GB, free: 12.23 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 (voltageControl.ctrl.tSwitch,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.connected,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001298/0.1492, allocations: 164.5 kB / 0.6404 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.1492, allocations: 11.91 kB / 0.6404 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/0.1493, allocations: 17.34 kB / 0.6404 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1493, allocations: 0 / 0.6404 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.1493, allocations: 0 / 0.6404 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1493, allocations: 4 kB / 0.6404 GB, free: 12.01 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.1495, allocations: 217.6 kB / 0.6407 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.1495, allocations: 4 kB / 0.6407 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8e-05/0.1496, allocations: 11.98 kB / 0.6407 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1496, allocations: 0 / 0.6407 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.1496, allocations: 3.938 kB / 0.6407 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.1496, allocations: 0 / 0.6407 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.1496, allocations: 4 kB / 0.6407 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.15, allocations: 214.5 kB / 0.6409 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.1501, allocations: 93.05 kB / 0.641 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.517e-05/0.1501, allocations: 7.938 kB / 0.641 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.43e-05/0.1502, allocations: 11.98 kB / 0.641 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.1503, allocations: 7.984 kB / 0.641 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.1503, allocations: 8 kB / 0.641 GB, free: 11.35 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001009/0.1504, allocations: 131.2 kB / 0.6411 GB, free: 11.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1504, allocations: 0 / 0.6411 GB, free: 11.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002588/0.1507, allocations: 35.84 kB / 0.6412 GB, free: 11.18 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageControl.y) * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch) * Number of discrete states: 4 ($whenCondition2,voltageControl.ctrl.connected,voltageControl.ctrl.tSwitch,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001065/0.1508, allocations: 107.3 kB / 0.6413 GB, free: 11.07 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003067/0.1511, allocations: 218.6 kB / 0.6415 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1511, allocations: 0 / 0.6415 GB, free: 10.83 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.1512, allocations: 99.38 kB / 0.6416 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.1515, allocations: 22.03 kB / 0.6416 GB, free: 10.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000624/0.1521, allocations: 324.3 kB / 0.6419 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.1524, allocations: 0.7119 MB / 0.6426 GB, free: 9.613 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.993e-05/0.1524, allocations: 23.36 kB / 0.6426 GB, free: 9.59 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1525, allocations: 0 / 0.6426 GB, free: 9.59 MB / 494.1 MB Notification: Performance of Templates: time 0.003546/0.156, allocations: 1.707 MB / 0.6443 GB, free: 7.895 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.sim & ./IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.pipe 2>&1)