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.001209/0.001209, allocations: 96.73 kB / 15.68 MB, free: 488 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.001686/0.001686, allocations: 175 kB / 16.57 MB, free: 6.801 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.472/1.472, allocations: 223.2 MB / 240.5 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6612/0.6612, allocations: 113.8 MB / 405.4 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003148/0.0003148, allocations: 8 kB / 493 MB, free: 8.543 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1793, allocations: 77.16 MB / 0.5568 GB, free: 11.58 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.002781/0.1821, allocations: 1.91 MB / 0.5587 GB, free: 9.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.1833, allocations: 0.7174 MB / 0.5594 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.507e-05/0.1834, allocations: 8 kB / 0.5594 GB, free: 8.934 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 9.571e-05/0.1835, allocations: 15.86 kB / 0.5594 GB, free: 8.918 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.1837, allocations: 47.84 kB / 0.5595 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.1838, allocations: 35.95 kB / 0.5595 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001482/0.184, allocations: 87.81 kB / 0.5596 GB, free: 8.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002261/0.1842, allocations: 185.7 kB / 0.5598 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.576e-05/0.1843, allocations: 59.77 kB / 0.5598 GB, free: 8.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1844, allocations: 47.77 kB / 0.5599 GB, free: 8.434 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1845, allocations: 8 kB / 0.5599 GB, free: 8.426 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.605e-05/0.1845, allocations: 23.98 kB / 0.5599 GB, free: 8.402 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.143e-05/0.1846, allocations: 27.91 kB / 0.5599 GB, free: 8.375 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.1846, allocations: 45.64 kB / 0.56 GB, free: 8.324 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000153/0.1848, allocations: 127.9 kB / 0.5601 GB, free: 8.199 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.1848, allocations: 4 kB / 0.5601 GB, free: 8.195 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1848, allocations: 0 / 0.5601 GB, free: 8.195 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.1848, allocations: 0 / 0.5601 GB, free: 8.195 MB / 430.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.0006456/0.1855, allocations: 474.4 kB / 0.5605 GB, free: 7.672 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.1855, allocations: 12.02 kB / 0.5606 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002289/0.1858, allocations: 27.8 kB / 0.5606 GB, free: 7.633 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.186, allocations: 210.8 kB / 0.5608 GB, free: 7.387 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.716e-05/0.1861, allocations: 41.89 kB / 0.5608 GB, free: 7.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.1861, allocations: 11.95 kB / 0.5608 GB, free: 7.328 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.1864, allocations: 156.5 kB / 0.561 GB, free: 7.164 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1864, allocations: 0 / 0.561 GB, free: 7.164 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.1864, allocations: 11.94 kB / 0.561 GB, free: 7.152 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.85e-05/0.1864, allocations: 4.188 kB / 0.561 GB, free: 7.148 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.1866, allocations: 88.52 kB / 0.5611 GB, free: 7.062 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007921/0.1874, allocations: 0.6489 MB / 0.5617 GB, free: 6.352 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.1877, allocations: 66.5 kB / 0.5618 GB, free: 6.277 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.1877, allocations: 0 / 0.5618 GB, free: 6.277 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.1879, allocations: 134.9 kB / 0.5619 GB, free: 6.121 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.1879, allocations: 11.94 kB / 0.5619 GB, free: 6.109 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003787/0.1883, allocations: 248.3 kB / 0.5622 GB, free: 5.836 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.1883, allocations: 132.5 kB / 0.5623 GB, free: 5.676 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.1885, allocations: 182.3 kB / 0.5625 GB, free: 5.488 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.1885, allocations: 29.7 kB / 0.5625 GB, free: 5.453 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.337e-05/0.1886, allocations: 135.8 kB / 0.5626 GB, free: 5.312 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.1886, allocations: 19.81 kB / 0.5626 GB, free: 5.293 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-06/0.1886, allocations: 4 kB / 0.5626 GB, free: 5.289 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.1887, allocations: 322.8 kB / 0.5629 GB, free: 4.965 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.669e-05/0.1888, allocations: 43.88 kB / 0.563 GB, free: 4.922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.189, allocations: 111.3 kB / 0.5631 GB, free: 4.781 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001236/0.1891, allocations: 115.3 kB / 0.5632 GB, free: 4.656 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1891, allocations: 0 / 0.5632 GB, free: 4.656 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003244/0.1894, allocations: 241 kB / 0.5634 GB, free: 4.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.241e-05/0.1895, allocations: 67.42 kB / 0.5635 GB, free: 4.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1895, allocations: 4 kB / 0.5635 GB, free: 4.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1895, allocations: 4 kB / 0.5635 GB, free: 4.316 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.1896, allocations: 31.92 kB / 0.5635 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.1897, allocations: 0 / 0.5635 GB, free: 4.285 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.1898, allocations: 31.83 kB / 0.5636 GB, free: 4.254 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.1898, allocations: 8 kB / 0.5636 GB, free: 4.246 MB / 430.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 ($whenCondition1,$whenCondition2,$PRE.voltageControl.ctrl.connected,voltageControl.ctrl.connected,$PRE.voltageControl.ctrl.tSwitch,voltageControl.ctrl.tSwitch) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.1899, allocations: 175.4 kB / 0.5637 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.19, allocations: 15.81 kB / 0.5638 GB, free: 4.043 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.852e-05/0.19, allocations: 13.41 kB / 0.5638 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.19, allocations: 0 / 0.5638 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.19, allocations: 4 kB / 0.5638 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.19, allocations: 7.922 kB / 0.5638 GB, free: 4.016 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.1902, allocations: 209.6 kB / 0.564 GB, free: 3.762 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.1902, allocations: 3.953 kB / 0.564 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.557e-05/0.1903, allocations: 11.98 kB / 0.564 GB, free: 3.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1903, allocations: 4 kB / 0.564 GB, free: 3.742 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.1903, allocations: 7.938 kB / 0.564 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1903, allocations: 0 / 0.564 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.1903, allocations: 0 / 0.564 GB, free: 3.734 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.1907, allocations: 226.5 kB / 0.5642 GB, free: 3.488 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.36e-05/0.1907, allocations: 89.03 kB / 0.5643 GB, free: 3.383 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.1908, allocations: 12.02 kB / 0.5643 GB, free: 3.371 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.956e-05/0.1909, allocations: 8 kB / 0.5643 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.1909, allocations: 7.984 kB / 0.5643 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.191, allocations: 8 kB / 0.5643 GB, free: 3.348 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.395e-05/0.1911, allocations: 132.3 kB / 0.5645 GB, free: 3.219 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1911, allocations: 0 / 0.5645 GB, free: 3.219 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000235/0.1913, allocations: 35.91 kB / 0.5645 GB, free: 3.184 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00011/0.1914, allocations: 107 kB / 0.5646 GB, free: 3.074 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000291/0.1917, allocations: 222.6 kB / 0.5648 GB, free: 2.832 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1917, allocations: 4 kB / 0.5648 GB, free: 2.828 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.1918, allocations: 104 kB / 0.5649 GB, free: 2.715 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.192, allocations: 19.98 kB / 0.5649 GB, free: 2.695 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004994/0.1925, allocations: 333.8 kB / 0.5653 GB, free: 2.344 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.1928, allocations: 0.7121 MB / 0.566 GB, free: 1.605 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.948e-05/0.1929, allocations: 28.41 kB / 0.566 GB, free: 1.574 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.812e-05/0.1929, allocations: 15.38 kB / 0.566 GB, free: 1.562 MB / 430.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1929, allocations: 0 / 0.566 GB, free: 1.562 MB / 430.1 MB Notification: Performance of Templates: time 0.003326/0.1963, allocations: 1.186 MB / 0.5672 GB, free: 404 kB / 430.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)