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.001152/0.001152, allocations: 111.4 kB / 17.09 MB, free: 5.992 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.001229/0.001229, allocations: 196.3 kB / 18.03 MB, free: 5.066 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.354/1.354, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7423/0.7423, allocations: 115.3 MB / 407.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 60.06 kB / 0.5583 GB, free: 32.2 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1711, allocations: 76.19 MB / 0.6327 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003683/0.1749, allocations: 2.284 MB / 0.6349 GB, free: 2.137 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1761, allocations: 0.7753 MB / 0.6357 GB, free: 1.355 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.271e-05/0.1763, allocations: 4 kB / 0.6357 GB, free: 1.352 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005877/0.1769, allocations: 151.3 kB / 0.6358 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001761/0.1771, allocations: 71.59 kB / 0.6359 GB, free: 1.133 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.1772, allocations: 51.83 kB / 0.636 GB, free: 1.082 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002278/0.1775, allocations: 159.5 kB / 0.6361 GB, free: 0.9258 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002593/0.1777, allocations: 105 kB / 0.6362 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001132/0.1779, allocations: 63.77 kB / 0.6363 GB, free: 0.7617 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.178, allocations: 71.67 kB / 0.6363 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.542e-05/0.1781, allocations: 12 kB / 0.6364 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.1782, allocations: 51.89 kB / 0.6364 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.792e-05/0.1782, allocations: 39.91 kB / 0.6364 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.413e-05/0.1783, allocations: 67.66 kB / 0.6365 GB, free: 0.5234 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.1786, allocations: 171.4 kB / 0.6367 GB, free: 364 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.1786, allocations: 0 / 0.6367 GB, free: 364 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.1786, allocations: 4 kB / 0.6367 GB, free: 360 kB / 478.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1786, allocations: 0 / 0.6367 GB, free: 360 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.0007366/0.1793, allocations: 494.5 kB / 0.6371 GB, free: 15.81 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.1794, allocations: 8.031 kB / 0.6372 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002054/0.1796, allocations: 28.73 kB / 0.6372 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.1798, allocations: 212.1 kB / 0.6374 GB, free: 15.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.413e-05/0.1799, allocations: 38.44 kB / 0.6374 GB, free: 15.48 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.63e-05/0.1799, allocations: 16.12 kB / 0.6374 GB, free: 15.47 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002784/0.1802, allocations: 144.8 kB / 0.6376 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1803, allocations: 4 kB / 0.6376 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.1803, allocations: 0 / 0.6376 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.753e-05/0.1803, allocations: 4 kB / 0.6376 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001811/0.1805, allocations: 91.89 kB / 0.6377 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007982/0.1813, allocations: 0.6402 MB / 0.6383 GB, free: 14.51 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002209/0.1815, allocations: 58.55 kB / 0.6383 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.5e-05/0.1816, allocations: 32.84 kB / 0.6384 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.1816, allocations: 0 / 0.6384 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002167/0.1818, allocations: 145.3 kB / 0.6385 GB, free: 14.25 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 3.396e-06/0.1819, allocations: 0 / 0.6385 GB, free: 14.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003714/0.1822, allocations: 171.2 kB / 0.6387 GB, free: 14.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.1823, allocations: 136.5 kB / 0.6388 GB, free: 13.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1825, allocations: 178.4 kB / 0.639 GB, free: 13.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.1825, allocations: 29.64 kB / 0.639 GB, free: 13.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/0.1826, allocations: 139.7 kB / 0.6391 GB, free: 13.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.54e-05/0.1826, allocations: 27.72 kB / 0.6392 GB, free: 13.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.888e-05/0.1827, allocations: 49.55 kB / 0.6392 GB, free: 13.45 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.1828, allocations: 326.8 kB / 0.6395 GB, free: 13.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.504e-05/0.1829, allocations: 35.98 kB / 0.6396 GB, free: 13.09 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.183, allocations: 113.3 kB / 0.6397 GB, free: 12.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/0.1833, allocations: 234.3 kB / 0.6399 GB, free: 12.67 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1833, allocations: 0 / 0.6399 GB, free: 12.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003313/0.1836, allocations: 240.7 kB / 0.6401 GB, free: 12.41 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.898e-05/0.1837, allocations: 59.72 kB / 0.6402 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.1837, allocations: 4 kB / 0.6402 GB, free: 12.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.1837, allocations: 7.938 kB / 0.6402 GB, free: 12.33 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.1838, allocations: 27.98 kB / 0.6402 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.1839, allocations: 7.938 kB / 0.6402 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.184, allocations: 31.73 kB / 0.6403 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.184, allocations: 8 kB / 0.6403 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.0001283/0.1841, allocations: 161.2 kB / 0.6404 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.1842, allocations: 15.91 kB / 0.6404 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.984e-05/0.1842, allocations: 21.33 kB / 0.6405 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.1842, allocations: 0 / 0.6405 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1842, allocations: 0 / 0.6405 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.475e-05/0.1843, allocations: 88.92 kB / 0.6405 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.1843, allocations: 4.047 kB / 0.6405 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.585e-05/0.1844, allocations: 15.97 kB / 0.6406 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.1845, allocations: 11.92 kB / 0.6406 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003479/0.1848, allocations: 278 kB / 0.6408 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004008/0.1853, allocations: 364.3 kB / 0.6412 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.404e-05/0.1854, allocations: 55.88 kB / 0.6412 GB, free: 11.18 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.023e-05/0.1855, allocations: 131.2 kB / 0.6414 GB, free: 11.05 MB / 494.1 MB Notification: Performance of Backend: time 4.21e-07/0.1855, allocations: 3.938 kB / 0.6414 GB, free: 11.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006228/0.1861, allocations: 301.1 kB / 0.6417 GB, free: 10.72 MB / 494.1 MB Notification: Performance of SimCode: time 0.0007382/0.1868, allocations: 0.7767 MB / 0.6424 GB, free: 9.879 MB / 494.1 MB Notification: Performance of Templates: time 0.004401/0.1913, allocations: 1.744 MB / 0.6441 GB, free: 8.152 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)