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.001058/0.001058, allocations: 106.6 kB / 16.4 MB, free: 6.508 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.001078/0.001078, allocations: 193.2 kB / 17.34 MB, free: 5.742 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.233/1.233, allocations: 222.9 MB / 241 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.6737/0.6737, allocations: 115.3 MB / 406.5 MB, free: 6.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 65.39 kB / 0.5576 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1241, allocations: 76.18 MB / 0.632 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.00375/0.1278, allocations: 2.288 MB / 0.6343 GB, free: 2.148 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1292, allocations: 0.7793 MB / 0.635 GB, free: 1.363 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001249/0.1293, allocations: 7.938 kB / 0.635 GB, free: 1.355 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000587/0.13, allocations: 139.4 kB / 0.6352 GB, free: 1.219 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1302, allocations: 63.66 kB / 0.6352 GB, free: 1.156 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001769/0.1303, allocations: 67.75 kB / 0.6353 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.1306, allocations: 151.5 kB / 0.6354 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002488/0.1308, allocations: 112.9 kB / 0.6355 GB, free: 0.832 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000125/0.131, allocations: 67.77 kB / 0.6356 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.1311, allocations: 75.67 kB / 0.6357 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.504e-05/0.1312, allocations: 8 kB / 0.6357 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.1313, allocations: 47.91 kB / 0.6357 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.603e-05/0.1314, allocations: 39.89 kB / 0.6358 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.548e-05/0.1315, allocations: 71.59 kB / 0.6358 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002347/0.1317, allocations: 167.5 kB / 0.636 GB, free: 372 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.1317, allocations: 0 / 0.636 GB, free: 372 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1317, allocations: 4 kB / 0.636 GB, free: 368 kB / 478.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1317, allocations: 0 / 0.636 GB, free: 368 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.000692/0.1324, allocations: 494.5 kB / 0.6365 GB, free: 15.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.1325, allocations: 12.03 kB / 0.6365 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002081/0.1327, allocations: 24.73 kB / 0.6365 GB, free: 15.78 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.1329, allocations: 216.1 kB / 0.6367 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.133, allocations: 38.39 kB / 0.6368 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/0.133, allocations: 12.12 kB / 0.6368 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.1333, allocations: 145.2 kB / 0.6369 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1333, allocations: 0 / 0.6369 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.1333, allocations: 11.98 kB / 0.6369 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.1334, allocations: 4 kB / 0.6369 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001947/0.1336, allocations: 85.39 kB / 0.637 GB, free: 15.22 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008011/0.1344, allocations: 0.6441 MB / 0.6376 GB, free: 14.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.1346, allocations: 62.55 kB / 0.6377 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.807e-05/0.1347, allocations: 24.86 kB / 0.6377 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.1347, allocations: 4 kB / 0.6377 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001846/0.1349, allocations: 141.6 kB / 0.6379 GB, free: 14.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.1349, allocations: 0 / 0.6379 GB, free: 14.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003507/0.1352, allocations: 163.3 kB / 0.638 GB, free: 14.08 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.1353, allocations: 144.4 kB / 0.6381 GB, free: 13.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1355, allocations: 182.4 kB / 0.6383 GB, free: 13.72 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.1355, allocations: 29.7 kB / 0.6384 GB, free: 13.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.1356, allocations: 139.7 kB / 0.6385 GB, free: 13.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.1356, allocations: 23.73 kB / 0.6385 GB, free: 13.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.722e-05/0.1357, allocations: 45.62 kB / 0.6386 GB, free: 13.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.665e-05/0.1358, allocations: 318.8 kB / 0.6389 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.928e-05/0.1359, allocations: 43.97 kB / 0.6389 GB, free: 13.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.136, allocations: 111.6 kB / 0.639 GB, free: 12.96 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.1363, allocations: 230.3 kB / 0.6392 GB, free: 12.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1363, allocations: 0 / 0.6392 GB, free: 12.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003348/0.1366, allocations: 240.7 kB / 0.6395 GB, free: 12.43 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.221e-05/0.1367, allocations: 63.39 kB / 0.6395 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1367, allocations: 11.88 kB / 0.6395 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1367, allocations: 4 kB / 0.6395 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.1368, allocations: 27.98 kB / 0.6396 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.1368, allocations: 12.25 kB / 0.6396 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.137, allocations: 31.73 kB / 0.6396 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.498e-05/0.137, allocations: 8 kB / 0.6396 GB, free: 12.26 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.0001274/0.1371, allocations: 160.6 kB / 0.6398 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.1372, allocations: 11.91 kB / 0.6398 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.267e-05/0.1372, allocations: 25.27 kB / 0.6398 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.1372, allocations: 0 / 0.6398 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.1372, allocations: 0 / 0.6398 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.1372, allocations: 8.031 kB / 0.6398 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.1374, allocations: 213.6 kB / 0.64 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1374, allocations: 3.984 kB / 0.64 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.76e-05/0.1375, allocations: 12 kB / 0.64 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.1375, allocations: 0 / 0.64 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.1375, allocations: 3.938 kB / 0.64 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1375, allocations: 0 / 0.64 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1375, allocations: 0 / 0.64 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003644/0.1379, allocations: 218.6 kB / 0.6402 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.357e-05/0.138, allocations: 92.97 kB / 0.6403 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.138, allocations: 3.938 kB / 0.6403 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.306e-05/0.1381, allocations: 8 kB / 0.6403 GB, free: 11.4 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.249e-05/0.1381, allocations: 11.98 kB / 0.6403 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1382, allocations: 3.938 kB / 0.6403 GB, free: 11.39 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.908e-05/0.1383, allocations: 139.2 kB / 0.6405 GB, free: 11.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1383, allocations: 0 / 0.6405 GB, free: 11.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002371/0.1385, allocations: 39.91 kB / 0.6405 GB, free: 11.21 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.62e-05/0.1386, allocations: 99.25 kB / 0.6406 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.1389, allocations: 214.6 kB / 0.6408 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1389, allocations: 4 kB / 0.6408 GB, free: 10.87 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001225/0.1391, allocations: 100 kB / 0.6409 GB, free: 10.76 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.1393, allocations: 25.7 kB / 0.6409 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005089/0.1398, allocations: 286.7 kB / 0.6412 GB, free: 10.43 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002503/0.1401, allocations: 0.7157 MB / 0.6419 GB, free: 9.684 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.31e-05/0.1401, allocations: 24.58 kB / 0.6419 GB, free: 9.66 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.879e-05/0.1402, allocations: 11.44 kB / 0.6419 GB, free: 9.648 MB / 494.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1402, allocations: 0 / 0.6419 GB, free: 9.648 MB / 494.1 MB Notification: Performance of Templates: time 0.003715/0.1439, allocations: 1.425 MB / 0.6433 GB, free: 8.238 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)