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.001185/0.001185, allocations: 100.1 kB / 15.88 MB, free: 12 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.001381/0.001381, allocations: 206 kB / 16.79 MB, free: 6.84 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.377/1.377, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7255/0.7255, allocations: 122.9 MB / 413.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 60.06 kB / 0.4904 GB, free: 14.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1715, allocations: 77.92 MB / 0.5665 GB, free: 0.75 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004924/0.1765, allocations: 2.355 MB / 0.5688 GB, free: 14.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.1783, allocations: 0.7753 MB / 0.5696 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.1785, allocations: 8 kB / 0.5696 GB, free: 13.58 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006148/0.1791, allocations: 139.5 kB / 0.5697 GB, free: 13.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.1793, allocations: 55.73 kB / 0.5697 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002035/0.1795, allocations: 51.88 kB / 0.5698 GB, free: 13.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.1798, allocations: 191.4 kB / 0.57 GB, free: 13.15 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002265/0.18, allocations: 69.34 kB / 0.57 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.1802, allocations: 63.77 kB / 0.5701 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.1804, allocations: 63.75 kB / 0.5702 GB, free: 12.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.263e-05/0.1804, allocations: 15.94 kB / 0.5702 GB, free: 12.95 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001454/0.1805, allocations: 59.88 kB / 0.5702 GB, free: 12.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.078e-05/0.1806, allocations: 31.91 kB / 0.5703 GB, free: 12.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001017/0.1807, allocations: 71.64 kB / 0.5703 GB, free: 12.79 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.181, allocations: 163.4 kB / 0.5705 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.663e-06/0.181, allocations: 3.938 kB / 0.5705 GB, free: 12.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.181, allocations: 3.938 kB / 0.5705 GB, free: 12.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.181, allocations: 4 kB / 0.5705 GB, free: 12.61 MB / 446.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.001029/0.1821, allocations: 482.6 kB / 0.571 GB, free: 12.08 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.1821, allocations: 12.03 kB / 0.571 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002649/0.1824, allocations: 28.73 kB / 0.571 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.1827, allocations: 216.1 kB / 0.5712 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.774e-05/0.1828, allocations: 34.45 kB / 0.5712 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.1828, allocations: 16.03 kB / 0.5713 GB, free: 11.74 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003465/0.1832, allocations: 145 kB / 0.5714 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/0.1832, allocations: 0 / 0.5714 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.1832, allocations: 12 kB / 0.5714 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.1833, allocations: 4 kB / 0.5714 GB, free: 11.57 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002061/0.1835, allocations: 83.89 kB / 0.5715 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009727/0.1845, allocations: 0.6441 MB / 0.5721 GB, free: 10.78 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.1847, allocations: 58.55 kB / 0.5722 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.935e-05/0.1848, allocations: 32.84 kB / 0.5722 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.809e-05/0.1848, allocations: 0 / 0.5722 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.1851, allocations: 142.7 kB / 0.5723 GB, free: 10.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.372e-06/0.1851, allocations: 0 / 0.5723 GB, free: 10.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=7): time 0.0003896/0.1855, allocations: 163.4 kB / 0.5725 GB, free: 10.34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.704e-05/0.1856, allocations: 140.5 kB / 0.5726 GB, free: 10.17 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.1858, allocations: 182.2 kB / 0.5728 GB, free: 9.984 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1858, allocations: 33.64 kB / 0.5728 GB, free: 9.945 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.88e-05/0.1859, allocations: 131.8 kB / 0.573 GB, free: 9.809 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.304e-05/0.186, allocations: 23.8 kB / 0.573 GB, free: 9.785 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.929e-05/0.1861, allocations: 41.62 kB / 0.573 GB, free: 9.738 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.1862, allocations: 326.8 kB / 0.5733 GB, free: 9.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.101e-05/0.1863, allocations: 35.98 kB / 0.5734 GB, free: 9.375 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.1864, allocations: 111.5 kB / 0.5735 GB, free: 9.234 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.1867, allocations: 230.3 kB / 0.5737 GB, free: 8.957 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.1867, allocations: 3.984 kB / 0.5737 GB, free: 8.953 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003771/0.1871, allocations: 248.5 kB / 0.5739 GB, free: 8.691 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.843e-05/0.1871, allocations: 63.41 kB / 0.574 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.1872, allocations: 3.938 kB / 0.574 GB, free: 8.613 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1872, allocations: 4 kB / 0.574 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.1873, allocations: 31.98 kB / 0.574 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.1873, allocations: 7.938 kB / 0.574 GB, free: 8.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1875, allocations: 24.14 kB / 0.5741 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.1875, allocations: 16 kB / 0.5741 GB, free: 8.531 MB / 446.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.0001312/0.1876, allocations: 159.5 kB / 0.5742 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.1877, allocations: 11.91 kB / 0.5742 GB, free: 8.348 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/0.1877, allocations: 25.36 kB / 0.5743 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1877, allocations: 0 / 0.5743 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1877, allocations: 0 / 0.5743 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1877, allocations: 4 kB / 0.5743 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.1879, allocations: 221.5 kB / 0.5745 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1879, allocations: 0 / 0.5745 GB, free: 8.055 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.894e-05/0.188, allocations: 15.94 kB / 0.5745 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.188, allocations: 0 / 0.5745 GB, free: 8.039 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.1881, allocations: 7.938 kB / 0.5745 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.1881, allocations: 0 / 0.5745 GB, free: 8.031 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1881, allocations: 3.984 kB / 0.5745 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.1885, allocations: 207 kB / 0.5747 GB, free: 7.801 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.1885, allocations: 92.94 kB / 0.5748 GB, free: 7.691 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.1886, allocations: 12 kB / 0.5748 GB, free: 7.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.099e-05/0.1887, allocations: 7.984 kB / 0.5748 GB, free: 7.672 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.1888, allocations: 8 kB / 0.5748 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.088e-05/0.1888, allocations: 7.984 kB / 0.5748 GB, free: 7.656 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1889, allocations: 127.2 kB / 0.575 GB, free: 7.531 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1889, allocations: 0 / 0.575 GB, free: 7.531 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.1892, allocations: 32 kB / 0.575 GB, free: 7.5 MB / 446.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.0001868/0.1894, allocations: 103.2 kB / 0.5751 GB, free: 7.391 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003691/0.1897, allocations: 218.6 kB / 0.5753 GB, free: 7.152 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1897, allocations: 0 / 0.5753 GB, free: 7.152 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001358/0.1899, allocations: 103.4 kB / 0.5754 GB, free: 7.039 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.1902, allocations: 23.86 kB / 0.5754 GB, free: 7.016 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007431/0.1909, allocations: 332.8 kB / 0.5757 GB, free: 6.668 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003563/0.1913, allocations: 0.7199 MB / 0.5764 GB, free: 5.922 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.65e-05/0.1914, allocations: 20.42 kB / 0.5765 GB, free: 5.902 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.354e-05/0.1914, allocations: 15.44 kB / 0.5765 GB, free: 5.887 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1915, allocations: 0 / 0.5765 GB, free: 5.887 MB / 446.1 MB Notification: Performance of Templates: time 0.004211/0.1957, allocations: 1.255 MB / 0.5777 GB, free: 4.656 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)