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.001049/0.001049, allocations: 106.6 kB / 17.07 MB, free: 5.82 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.001048/0.001048, allocations: 200.1 kB / 18.02 MB, free: 4.965 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.251/1.251, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7056/0.7056, allocations: 115.3 MB / 407.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 64.98 kB / 0.5583 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1289, allocations: 76.19 MB / 0.6327 GB, free: 4.465 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003434/0.1323, allocations: 2.284 MB / 0.6349 GB, free: 2.164 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.1335, allocations: 0.7792 MB / 0.6357 GB, free: 1.379 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.76e-05/0.1337, allocations: 4 kB / 0.6357 GB, free: 1.375 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005423/0.1342, allocations: 143.4 kB / 0.6358 GB, free: 1.234 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001736/0.1344, allocations: 71.53 kB / 0.6359 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.1346, allocations: 55.88 kB / 0.636 GB, free: 1.109 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.000235/0.1348, allocations: 155.5 kB / 0.6361 GB, free: 0.957 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002249/0.135, allocations: 101 kB / 0.6362 GB, free: 0.8594 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.1352, allocations: 67.77 kB / 0.6363 GB, free: 0.793 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.1353, allocations: 75.61 kB / 0.6363 GB, free: 0.7188 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.1354, allocations: 16 kB / 0.6363 GB, free: 0.7031 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1355, allocations: 47.91 kB / 0.6364 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.1355, allocations: 35.91 kB / 0.6364 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001306/0.1357, allocations: 71.64 kB / 0.6365 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.1359, allocations: 167.5 kB / 0.6367 GB, free: 396 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1359, allocations: 0 / 0.6367 GB, free: 396 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1359, allocations: 0 / 0.6367 GB, free: 396 kB / 478.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1359, allocations: 0 / 0.6367 GB, free: 396 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.0006967/0.1366, allocations: 490.5 kB / 0.6371 GB, free: 15.85 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.1367, allocations: 19.97 kB / 0.6371 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.1369, allocations: 24.73 kB / 0.6372 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002511/0.1372, allocations: 216.1 kB / 0.6374 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.935e-05/0.1372, allocations: 38.39 kB / 0.6374 GB, free: 15.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.841e-05/0.1372, allocations: 16.11 kB / 0.6374 GB, free: 15.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003262/0.1376, allocations: 148.7 kB / 0.6376 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1376, allocations: 4 kB / 0.6376 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.1376, allocations: 8 kB / 0.6376 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.1376, allocations: 4 kB / 0.6376 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.1378, allocations: 83.89 kB / 0.6377 GB, free: 15.24 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008379/0.1387, allocations: 0.6402 MB / 0.6383 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000223/0.1389, allocations: 58.55 kB / 0.6383 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/0.139, allocations: 32.91 kB / 0.6384 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.139, allocations: 0 / 0.6384 GB, free: 14.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.1392, allocations: 144.8 kB / 0.6385 GB, free: 14.27 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 2.515e-06/0.1392, allocations: 0 / 0.6385 GB, free: 14.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003404/0.1396, allocations: 163.2 kB / 0.6387 GB, free: 14.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.413e-05/0.1397, allocations: 140.5 kB / 0.6388 GB, free: 13.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.1398, allocations: 174.4 kB / 0.639 GB, free: 13.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.1398, allocations: 33.7 kB / 0.639 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.535e-05/0.1399, allocations: 139.7 kB / 0.6391 GB, free: 13.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.14, allocations: 23.73 kB / 0.6392 GB, free: 13.54 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.14, allocations: 49.62 kB / 0.6392 GB, free: 13.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1401, allocations: 322.8 kB / 0.6395 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-05/0.1402, allocations: 35.98 kB / 0.6395 GB, free: 13.12 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001294/0.1404, allocations: 119.3 kB / 0.6397 GB, free: 12.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002368/0.1406, allocations: 226.4 kB / 0.6399 GB, free: 12.7 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1406, allocations: 0 / 0.6399 GB, free: 12.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003467/0.141, allocations: 240.8 kB / 0.6401 GB, free: 12.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.141, allocations: 63.41 kB / 0.6402 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1411, allocations: 11.88 kB / 0.6402 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1411, allocations: 4 kB / 0.6402 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1412, allocations: 35.92 kB / 0.6402 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.1412, allocations: 4 kB / 0.6402 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.1413, allocations: 27.73 kB / 0.6402 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.1414, allocations: 8 kB / 0.6403 GB, free: 12.29 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.0001273/0.1415, allocations: 170.9 kB / 0.6404 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.173e-05/0.1415, allocations: 11.91 kB / 0.6404 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.294e-05/0.1416, allocations: 21.33 kB / 0.6404 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1416, allocations: 0 / 0.6404 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.1416, allocations: 0 / 0.6404 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.1416, allocations: 0 / 0.6404 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001601/0.1418, allocations: 217.6 kB / 0.6407 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1418, allocations: 0 / 0.6407 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.391e-05/0.1418, allocations: 8 kB / 0.6407 GB, free: 11.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1419, allocations: 8 kB / 0.6407 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.1419, allocations: 3.938 kB / 0.6407 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1419, allocations: 0 / 0.6407 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1419, allocations: 0 / 0.6407 GB, free: 11.79 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.1423, allocations: 222.5 kB / 0.6409 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.27e-05/0.1423, allocations: 85 kB / 0.641 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.608e-05/0.1423, allocations: 7.969 kB / 0.641 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.1424, allocations: 16.05 kB / 0.641 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.1425, allocations: 8 kB / 0.641 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1425, allocations: 0 / 0.641 GB, free: 11.41 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.831e-05/0.1426, allocations: 139.2 kB / 0.6411 GB, free: 11.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1426, allocations: 0 / 0.6411 GB, free: 11.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000241/0.1429, allocations: 35.84 kB / 0.6412 GB, free: 11.24 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 9.412e-05/0.143, allocations: 103.3 kB / 0.6413 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003466/0.1433, allocations: 218.6 kB / 0.6415 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1433, allocations: 4 kB / 0.6415 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.1435, allocations: 103.3 kB / 0.6416 GB, free: 10.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002142/0.1437, allocations: 19.98 kB / 0.6416 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006071/0.1443, allocations: 321 kB / 0.6419 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.1446, allocations: 0.7158 MB / 0.6426 GB, free: 9.664 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.019e-05/0.1446, allocations: 19.38 kB / 0.6426 GB, free: 9.645 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1447, allocations: 0 / 0.6426 GB, free: 9.645 MB / 494.1 MB Notification: Performance of Templates: time 0.003227/0.1479, allocations: 1.724 MB / 0.6443 GB, free: 7.93 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)