Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.QfURegulation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 80.06 kB / 20.76 MB, free: 3.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001669/0.001669, allocations: 173 kB / 24.19 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.021/1.021, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.0239/0.0239, allocations: 4.488 MB / 265.6 MB, free: 8.457 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") translateModel(PowerSysPro.Examples.QfURegulation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.QfURegulation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 283.7 MB, free: 6.297 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.53e-05, allocations: 2.312 kB / 283.7 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.QfURegulation): time 0.003591/0.003616, allocations: 2.003 MB / 285.7 MB, free: 4.289 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002805/0.006421, allocations: 1.707 MB / 287.4 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001861/0.006607, allocations: 7.938 kB / 287.4 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004899/0.007097, allocations: 135.1 kB / 287.6 MB, free: 2.426 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000739/0.007836, allocations: 230.5 kB / 287.8 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001923/0.009759, allocations: 1.132 MB / 288.9 MB, free: 1.062 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005801/0.01034, allocations: 382.4 kB / 289.3 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001808/0.01052, allocations: 74.91 kB / 289.4 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004139/0.01093, allocations: 239.4 kB / 289.6 MB, free: 388 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.01128, allocations: 159.5 kB / 289.8 MB, free: 228 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.836e-05/0.01134, allocations: 32 kB / 289.8 MB, free: 196 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1517/0.1631, allocations: 286.3 kB / 290.1 MB, free: 19.65 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001416/0.1632, allocations: 95.67 kB / 290.2 MB, free: 19.65 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001762/0.1634, allocations: 115.3 kB / 290.3 MB, free: 19.65 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008192/0.1642, allocations: 0.5213 MB / 290.8 MB, free: 19.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1642, allocations: 1.219 kB / 290.8 MB, free: 19.65 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1642, allocations: 0.5938 kB / 290.8 MB, free: 19.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.794e-06/0.1642, allocations: 0 / 290.8 MB, free: 19.65 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002239/0.1664, allocations: 1.043 MB / 291.8 MB, free: 19.3 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.1665, allocations: 10.34 kB / 291.9 MB, free: 19.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.1666, allocations: 55.72 kB / 291.9 MB, free: 19.3 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.1668, allocations: 192.9 kB / 292.1 MB, free: 19.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001135/0.1669, allocations: 222.2 kB / 292.3 MB, free: 18.92 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.167, allocations: 30.59 kB / 292.3 MB, free: 18.92 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005658/0.1675, allocations: 0.5205 MB / 292.9 MB, free: 18.67 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1675, allocations: 192 / 292.9 MB, free: 18.67 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.1676, allocations: 11.62 kB / 292.9 MB, free: 18.67 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.1676, allocations: 11.88 kB / 292.9 MB, free: 18.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.1678, allocations: 121 kB / 293 MB, free: 18.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009834/0.1688, allocations: 0.7148 MB / 293.7 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004013/0.1692, allocations: 338.5 kB / 294 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001328/0.1693, allocations: 105.8 kB / 294.2 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.08e-05/0.1694, allocations: 17.67 kB / 294.2 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.1696, allocations: 278 kB / 294.4 MB, free: 18.04 MB / 266.7 MB Notification: Performance of pre-optimization done (n=43): time 2.475e-06/0.1696, allocations: 1.125 kB / 294.4 MB, free: 18.04 MB / 266.7 MB Notification: Performance of matching and sorting (n=43): time 0.001292/0.1709, allocations: 0.5464 MB / 295 MB, free: 17.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.171, allocations: 146.7 kB / 295.1 MB, free: 17.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.1711, allocations: 215.4 kB / 295.3 MB, free: 17.69 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.1711, allocations: 36.33 kB / 295.4 MB, free: 17.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.498e-05/0.1712, allocations: 148.5 kB / 295.5 MB, free: 17.55 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.1713, allocations: 114.1 kB / 295.6 MB, free: 17.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-05/0.1714, allocations: 82.17 kB / 295.7 MB, free: 17.46 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.602e-05/0.1714, allocations: 339.3 kB / 296 MB, free: 17.14 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.1715, allocations: 76.73 kB / 296.1 MB, free: 17.13 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001309/0.1716, allocations: 150.4 kB / 296.3 MB, free: 17.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.1719, allocations: 230.2 kB / 296.5 MB, free: 17 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1719, allocations: 0 / 296.5 MB, free: 17 MB / 266.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.000625/0.1725, allocations: 396.3 kB / 296.9 MB, free: 16.94 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.1725, allocations: 5.312 kB / 296.9 MB, free: 16.94 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.1725, allocations: 1.906 kB / 296.9 MB, free: 16.94 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.1736, allocations: 386.1 kB / 297.3 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.1738, allocations: 77.38 kB / 297.3 MB, free: 16.91 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005765/0.1744, allocations: 0.6999 MB / 298 MB, free: 16.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/0.1745, allocations: 34.59 kB / 298.1 MB, free: 16.37 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.153e-05/0.1745, allocations: 14.05 kB / 298.1 MB, free: 16.37 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (varLoad.degradedMode,$PRE.varLoad.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,3)} Notification: Performance of prepare postOptimizeDAE: time 9.575e-05/0.1746, allocations: 142.4 kB / 298.2 MB, free: 16.25 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.1747, allocations: 98.62 kB / 298.3 MB, free: 16.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000401/0.1751, allocations: 301.3 kB / 298.6 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.1751, allocations: 6.281 kB / 298.6 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.1751, allocations: 2.219 kB / 298.6 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.1752, allocations: 5.922 kB / 298.6 MB, free: 16.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008364/0.176, allocations: 0.6928 MB / 299.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.176, allocations: 0.9688 kB / 299.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001997/0.1762, allocations: 79.58 kB / 299.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009672/0.1772, allocations: 378.6 kB / 299.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.1772, allocations: 10.08 kB / 299.8 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005722/0.1778, allocations: 0.7126 MB / 300.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1778, allocations: 1.312 kB / 300.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007826/0.1785, allocations: 0.5594 MB / 301.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.1786, allocations: 41.28 kB / 301.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.1786, allocations: 10.19 kB / 301.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.1788, allocations: 30.2 kB / 301.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.861e-05/0.1788, allocations: 27.97 kB / 301.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.1788, allocations: 10.12 kB / 301.2 MB, free: 15.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.548e-05/0.1789, allocations: 67.84 kB / 301.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1789, allocations: 1.375 kB / 301.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002875/0.1792, allocations: 104 kB / 301.3 MB, free: 15.06 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,varLoad.degradedMode) * Number of discrete states: 1 (varLoad.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001847/0.1794, allocations: 124 kB / 301.5 MB, free: 14.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0007578/0.1801, allocations: 368.4 kB / 301.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.1802, allocations: 5.594 kB / 301.8 MB, free: 14.95 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004495/0.1806, allocations: 225.1 kB / 302 MB, free: 14.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002998/0.1809, allocations: 84.58 kB / 302.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.1822, allocations: 0.6722 MB / 302.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.497e-05/0.1823, allocations: 108.7 kB / 302.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.1824, allocations: 36.02 kB / 302.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001526/0.1825, allocations: 108.1 kB / 303 MB, free: 14.49 MB / 266.7 MB Notification: Performance of SimCode: time 1.352e-06/0.1825, allocations: 0 / 303 MB, free: 14.49 MB / 266.7 MB Notification: Performance of Templates: time 0.007281/0.1898, allocations: 6.166 MB / 309.2 MB, free: 10.31 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.QfURegulation.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.QfURegulation.sim & ./PowerSysPro_PowerSysPro.Examples.QfURegulation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.QfURegulation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8326741470955312]