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.000946/0.0009459, allocations: 92.88 kB / 16.02 MB, free: 84 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.001321/0.001321, allocations: 181.4 kB / 16.92 MB, free: 6.914 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.384/1.384, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7363/0.7363, allocations: 115.5 MB / 407.6 MB, free: 2.703 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003106, allocations: 16.5 kB / 495.9 MB, free: 6.352 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.176, allocations: 77.54 MB / 0.56 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.003118/0.1792, allocations: 1.995 MB / 0.5619 GB, free: 7.02 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1807, allocations: 0.7676 MB / 0.5626 GB, free: 6.246 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001236/0.1808, allocations: 4 kB / 0.5627 GB, free: 6.242 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.181, allocations: 19.86 kB / 0.5627 GB, free: 6.223 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002993/0.1813, allocations: 55.73 kB / 0.5627 GB, free: 6.168 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.1815, allocations: 43.89 kB / 0.5628 GB, free: 6.125 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.1818, allocations: 195.4 kB / 0.563 GB, free: 5.934 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003102/0.1821, allocations: 193.9 kB / 0.5631 GB, free: 5.715 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001516/0.1823, allocations: 63.72 kB / 0.5632 GB, free: 5.652 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.1825, allocations: 59.75 kB / 0.5633 GB, free: 5.594 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.1825, allocations: 4 kB / 0.5633 GB, free: 5.59 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001418/0.1826, allocations: 63.86 kB / 0.5633 GB, free: 5.527 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.848e-05/0.1827, allocations: 35.91 kB / 0.5634 GB, free: 5.492 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.744e-05/0.1828, allocations: 85.31 kB / 0.5634 GB, free: 5.402 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.1831, allocations: 163.4 kB / 0.5636 GB, free: 5.242 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1831, allocations: 4 kB / 0.5636 GB, free: 5.238 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1831, allocations: 0 / 0.5636 GB, free: 5.238 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1832, allocations: 0 / 0.5636 GB, free: 5.238 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.0007217/0.1839, allocations: 466.6 kB / 0.564 GB, free: 4.723 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.1839, allocations: 8.031 kB / 0.564 GB, free: 4.715 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000244/0.1842, allocations: 32.73 kB / 0.5641 GB, free: 4.684 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.1845, allocations: 216.1 kB / 0.5643 GB, free: 4.434 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.606e-05/0.1845, allocations: 34.45 kB / 0.5643 GB, free: 4.395 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.391e-05/0.1846, allocations: 12.12 kB / 0.5643 GB, free: 4.383 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.1849, allocations: 149 kB / 0.5645 GB, free: 4.223 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.1849, allocations: 0 / 0.5645 GB, free: 4.223 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.1849, allocations: 15.94 kB / 0.5645 GB, free: 4.207 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.112e-05/0.185, allocations: 4 kB / 0.5645 GB, free: 4.203 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002227/0.1852, allocations: 83.95 kB / 0.5646 GB, free: 4.121 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009544/0.1862, allocations: 0.6557 MB / 0.5652 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.1864, allocations: 66.48 kB / 0.5653 GB, free: 3.328 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.602e-05/0.1865, allocations: 36.91 kB / 0.5653 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.1865, allocations: 0 / 0.5653 GB, free: 3.289 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002214/0.1868, allocations: 138.7 kB / 0.5654 GB, free: 3.129 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 1.803e-06/0.1868, allocations: 0 / 0.5654 GB, free: 3.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0004118/0.1872, allocations: 171.3 kB / 0.5656 GB, free: 2.949 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.985e-05/0.1873, allocations: 140.5 kB / 0.5657 GB, free: 2.781 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001745/0.1875, allocations: 178.3 kB / 0.5659 GB, free: 2.598 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.026e-05/0.1875, allocations: 37.64 kB / 0.5659 GB, free: 2.555 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.665e-05/0.1876, allocations: 135.8 kB / 0.5661 GB, free: 2.414 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.648e-05/0.1877, allocations: 19.8 kB / 0.5661 GB, free: 2.395 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.368e-05/0.1877, allocations: 17.72 kB / 0.5661 GB, free: 2.371 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.1878, allocations: 330.8 kB / 0.5664 GB, free: 2.039 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.188, allocations: 43.98 kB / 0.5665 GB, free: 1.996 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/0.1881, allocations: 101.4 kB / 0.5666 GB, free: 1.863 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002762/0.1884, allocations: 234.3 kB / 0.5668 GB, free: 1.582 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1884, allocations: 4 kB / 0.5668 GB, free: 1.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003696/0.1888, allocations: 249 kB / 0.567 GB, free: 1.316 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.859e-05/0.1888, allocations: 65.42 kB / 0.5671 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1888, allocations: 7.938 kB / 0.5671 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1889, allocations: 0 / 0.5671 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.189, allocations: 35.92 kB / 0.5671 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.189, allocations: 8.062 kB / 0.5671 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.1891, allocations: 28.02 kB / 0.5672 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.1892, allocations: 12 kB / 0.5672 GB, free: 1.152 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 (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.0001284/0.1893, allocations: 167.4 kB / 0.5673 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.1893, allocations: 15.81 kB / 0.5674 GB, free: 0.957 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.387e-05/0.1894, allocations: 21.33 kB / 0.5674 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.1894, allocations: 0 / 0.5674 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.1894, allocations: 0 / 0.5674 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1894, allocations: 0 / 0.5674 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.1896, allocations: 213.6 kB / 0.5676 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.1896, allocations: 7.922 kB / 0.5676 GB, free: 0.668 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.909e-05/0.1897, allocations: 12 kB / 0.5676 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.1897, allocations: 0 / 0.5676 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1897, allocations: 15.88 kB / 0.5676 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.1897, allocations: 0 / 0.5676 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1897, allocations: 0 / 0.5676 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003883/0.1901, allocations: 226.6 kB / 0.5678 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.1902, allocations: 85 kB / 0.5679 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.1902, allocations: 11.91 kB / 0.5679 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.167e-05/0.1903, allocations: 8 kB / 0.5679 GB, free: 280 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.1904, allocations: 11.98 kB / 0.5679 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.1904, allocations: 4 kB / 0.5679 GB, free: 264 kB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001132/0.1905, allocations: 136.3 kB / 0.5681 GB, free: 128 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1905, allocations: 0 / 0.5681 GB, free: 128 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.1908, allocations: 36.06 kB / 0.5681 GB, free: 92 kB / 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 (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.0001315/0.1909, allocations: 95.25 kB / 0.5682 GB, free: 15.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003428/0.1913, allocations: 222.6 kB / 0.5684 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1913, allocations: 0.625 kB / 0.5684 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.1914, allocations: 107.4 kB / 0.5685 GB, free: 15.63 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.1917, allocations: 19.92 kB / 0.5685 GB, free: 15.61 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006208/0.1923, allocations: 350 kB / 0.5689 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1926, allocations: 0.716 MB / 0.5696 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.466e-05/0.1927, allocations: 28.41 kB / 0.5696 GB, free: 14.47 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.985e-05/0.1928, allocations: 11.44 kB / 0.5696 GB, free: 14.46 MB / 446.1 MB Notification: Performance of SimCode: time 1.623e-06/0.1928, allocations: 0 / 0.5696 GB, free: 14.46 MB / 446.1 MB Notification: Performance of Templates: time 0.004137/0.1969, allocations: 1.228 MB / 0.5708 GB, free: 13.25 MB / 446.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)