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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") translateModel(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 111 kB / 17.33 MB, free: 5.043 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.00135/0.00135, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.394/1.394, allocations: 225.6 MB / 244.8 MB, free: 13.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8541/0.8541, allocations: 128.4 MB / 426.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.33 kB / 0.5911 GB, free: 21.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1717, allocations: 83.27 MB / 0.6724 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL): time 0.004186/0.1759, allocations: 2.326 MB / 0.6747 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.1773, allocations: 0.7948 MB / 0.6755 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.933e-05/0.1774, allocations: 8 kB / 0.6755 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006156/0.178, allocations: 155.3 kB / 0.6756 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001823/0.1782, allocations: 55.67 kB / 0.6757 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001667/0.1783, allocations: 51.88 kB / 0.6757 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002593/0.1786, allocations: 159.5 kB / 0.6759 GB, free: 352 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002868/0.1789, allocations: 81 kB / 0.676 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001547/0.179, allocations: 71.7 kB / 0.676 GB, free: 200 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00021/0.1792, allocations: 71.67 kB / 0.6761 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.1793, allocations: 12 kB / 0.6761 GB, free: 116 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.1794, allocations: 59.88 kB / 0.6762 GB, free: 56 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.562e-05/0.1795, allocations: 35.84 kB / 0.6762 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001198/0.1796, allocations: 63.86 kB / 0.6763 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003452/0.18, allocations: 179.3 kB / 0.6764 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.166e-06/0.18, allocations: 0 / 0.6764 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.174e-06/0.18, allocations: 4 kB / 0.6764 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.18, allocations: 3.938 kB / 0.6764 GB, free: 15.77 MB / 0.5137 GB 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.0009658/0.1809, allocations: 494.3 kB / 0.6769 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.181, allocations: 12.03 kB / 0.6769 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.1812, allocations: 20.88 kB / 0.6769 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003286/0.1816, allocations: 214.3 kB / 0.6772 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.54e-05/0.1817, allocations: 34.44 kB / 0.6772 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.637e-05/0.1817, allocations: 20.06 kB / 0.6772 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003494/0.1821, allocations: 154 kB / 0.6774 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1821, allocations: 0 / 0.6774 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.579e-05/0.1821, allocations: 8 kB / 0.6774 GB, free: 14.72 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.188e-05/0.1821, allocations: 4 kB / 0.6774 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.1823, allocations: 87.88 kB / 0.6774 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009882/0.1833, allocations: 0.6403 MB / 0.6781 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002375/0.1836, allocations: 46.56 kB / 0.6781 GB, free: 13.87 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.396e-05/0.1836, allocations: 32.84 kB / 0.6781 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.042e-05/0.1837, allocations: 7.984 kB / 0.6782 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002189/0.1839, allocations: 146.7 kB / 0.6783 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.1839, allocations: 0 / 0.6783 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0004372/0.1843, allocations: 167.4 kB / 0.6785 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001007/0.1844, allocations: 128.5 kB / 0.6786 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.1846, allocations: 190.3 kB / 0.6788 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.1846, allocations: 29.7 kB / 0.6788 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.1847, allocations: 140 kB / 0.6789 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1848, allocations: 23.8 kB / 0.6789 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.972e-05/0.1848, allocations: 41.7 kB / 0.679 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.185, allocations: 322.8 kB / 0.6793 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-05/0.1851, allocations: 43.91 kB / 0.6793 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.1853, allocations: 121.4 kB / 0.6795 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002861/0.1856, allocations: 222.4 kB / 0.6797 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.1856, allocations: 0 / 0.6797 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003688/0.1859, allocations: 248.6 kB / 0.6799 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.605e-05/0.186, allocations: 63.41 kB / 0.68 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.186, allocations: 3.938 kB / 0.68 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.186, allocations: 7.984 kB / 0.68 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.1861, allocations: 31.92 kB / 0.68 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1861, allocations: 8.312 kB / 0.68 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.1863, allocations: 23.89 kB / 0.68 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.1863, allocations: 11.98 kB / 0.68 GB, free: 11.67 MB / 0.5137 GB 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.0001637/0.1865, allocations: 155.5 kB / 0.6802 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.1865, allocations: 19.89 kB / 0.6802 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.1865, allocations: 17.34 kB / 0.6802 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.1865, allocations: 3.938 kB / 0.6802 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1865, allocations: 4 kB / 0.6802 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.1865, allocations: 0 / 0.6802 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.1868, allocations: 217.6 kB / 0.6804 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1868, allocations: 0 / 0.6804 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.857e-05/0.1868, allocations: 11.98 kB / 0.6805 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1868, allocations: 0 / 0.6805 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1868, allocations: 3.938 kB / 0.6805 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1868, allocations: 3.938 kB / 0.6805 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1869, allocations: 4 kB / 0.6805 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003952/0.1872, allocations: 214.7 kB / 0.6807 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.725e-05/0.1873, allocations: 89.03 kB / 0.6808 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.1873, allocations: 3.938 kB / 0.6808 GB, free: 10.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.859e-05/0.1874, allocations: 15.98 kB / 0.6808 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.38e-05/0.1875, allocations: 7.984 kB / 0.6808 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.1875, allocations: 4 kB / 0.6808 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001224/0.1876, allocations: 127.2 kB / 0.6809 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1876, allocations: 64 / 0.6809 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002532/0.1879, allocations: 39.95 kB / 0.6809 GB, free: 10.64 MB / 0.5137 GB 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.0001125/0.188, allocations: 101.1 kB / 0.681 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003588/0.1884, allocations: 214.6 kB / 0.6812 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1884, allocations: 0 / 0.6812 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.1885, allocations: 91.94 kB / 0.6813 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002314/0.1887, allocations: 16 kB / 0.6813 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006969/0.1894, allocations: 301.9 kB / 0.6816 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004401/0.1899, allocations: 0.7118 MB / 0.6823 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.391e-05/0.19, allocations: 24.81 kB / 0.6824 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.599e-05/0.19, allocations: 15.42 kB / 0.6824 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of SimCode: time 3.8e-07/0.19, allocations: 0 / 0.6824 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of Templates: time 0.005164/0.1952, allocations: 1.451 MB / 0.6838 GB, free: 7.652 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.Utilities.Examples.TestVoltageCTRL.makefile [Timeout 660] (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) [Timeout 480]