Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.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.001972/0.001972, allocations: 108.3 kB / 19.75 MB, free: 1.879 MB / 14.72 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.002272/0.002272, allocations: 218.3 kB / 23.03 MB, free: 5.016 MB / 14.72 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.604/1.604, allocations: 230.6 MB / 256.8 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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.04166/0.04166, allocations: 6.142 MB / 319.4 MB, free: 12.81 MB / 254.1 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.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") translateModel(PowerSysPro.Examples.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00163/0.00163, allocations: 55.92 kB / 444.9 MB, free: 4.676 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1517, allocations: 55.02 MB / 499.9 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.003175/0.1549, allocations: 1.333 MB / 0.4895 GB, free: 12.22 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00221/0.1571, allocations: 1.438 MB / 0.4909 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.775e-05/0.1572, allocations: 4 kB / 0.4909 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.1575, allocations: 107.4 kB / 0.491 GB, free: 10.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004628/0.158, allocations: 143.2 kB / 0.4912 GB, free: 10.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001627/0.1596, allocations: 0.8364 MB / 0.492 GB, free: 9.68 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003515/0.16, allocations: 191.2 kB / 0.4922 GB, free: 9.492 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.1602, allocations: 29.8 kB / 0.4922 GB, free: 9.461 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.1603, allocations: 87.64 kB / 0.4923 GB, free: 9.375 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002072/0.1605, allocations: 83.66 kB / 0.4924 GB, free: 9.293 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.169e-05/0.1606, allocations: 16 kB / 0.4924 GB, free: 9.277 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004378/0.161, allocations: 223.7 kB / 0.4926 GB, free: 9.059 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.773e-05/0.1611, allocations: 43.84 kB / 0.4926 GB, free: 9.016 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.444e-05/0.1611, allocations: 71.59 kB / 0.4927 GB, free: 8.945 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000596/0.1617, allocations: 366.8 kB / 0.4931 GB, free: 8.586 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1617, allocations: 8 kB / 0.4931 GB, free: 8.578 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1617, allocations: 0 / 0.4931 GB, free: 8.578 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.1618, allocations: 0 / 0.4931 GB, free: 8.578 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.002253/0.164, allocations: 0.6297 MB / 0.4937 GB, free: 7.914 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.59e-05/0.1641, allocations: 8.031 kB / 0.4937 GB, free: 7.906 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.697e-05/0.1641, allocations: 24.8 kB / 0.4937 GB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.1645, allocations: 174.2 kB / 0.4939 GB, free: 7.688 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.1647, allocations: 101.6 kB / 0.494 GB, free: 7.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.1647, allocations: 12.38 kB / 0.494 GB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005047/0.1652, allocations: 277.9 kB / 0.4942 GB, free: 7.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.1652, allocations: 3.938 kB / 0.4943 GB, free: 7.266 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.971e-05/0.1653, allocations: 4 kB / 0.4943 GB, free: 7.262 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.1653, allocations: 4 kB / 0.4943 GB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004289/0.1657, allocations: 211.7 kB / 0.4945 GB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.1673, allocations: 0.6833 MB / 0.4951 GB, free: 6.336 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006081/0.1679, allocations: 218.5 kB / 0.4953 GB, free: 6.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/0.1681, allocations: 101.2 kB / 0.4954 GB, free: 6.012 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.1682, allocations: 11.94 kB / 0.4954 GB, free: 6 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004948/0.1687, allocations: 228.9 kB / 0.4957 GB, free: 5.754 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.382e-06/0.1687, allocations: 0 / 0.4957 GB, free: 5.754 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001826/0.1706, allocations: 0.5331 MB / 0.4962 GB, free: 5.211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.1706, allocations: 59.41 kB / 0.4962 GB, free: 5.141 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.1708, allocations: 178.1 kB / 0.4964 GB, free: 4.953 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.1709, allocations: 29.7 kB / 0.4964 GB, free: 4.918 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.171, allocations: 136.4 kB / 0.4966 GB, free: 4.781 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.927e-05/0.1711, allocations: 75.39 kB / 0.4966 GB, free: 4.707 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.1712, allocations: 57.97 kB / 0.4967 GB, free: 4.641 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1714, allocations: 322.8 kB / 0.497 GB, free: 4.316 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002302/0.1716, allocations: 120.5 kB / 0.4971 GB, free: 4.199 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/0.1719, allocations: 170.1 kB / 0.4973 GB, free: 4.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.1723, allocations: 276.2 kB / 0.4975 GB, free: 3.734 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.1723, allocations: 0 / 0.4975 GB, free: 3.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001125/0.1735, allocations: 478 kB / 0.498 GB, free: 3.258 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.1735, allocations: 8 kB / 0.498 GB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1735, allocations: 0 / 0.498 GB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009462/0.1744, allocations: 200.6 kB / 0.4982 GB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.1746, allocations: 35.98 kB / 0.4982 GB, free: 3.016 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008601/0.1755, allocations: 0.728 MB / 0.4989 GB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.1757, allocations: 27.84 kB / 0.499 GB, free: 2.234 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.005e-05/0.1757, allocations: 12 kB / 0.499 GB, free: 2.223 MB / 366.1 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 (load.degradedMode,$PRE.load.degradedMode,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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 {(3,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.1759, allocations: 140.9 kB / 0.4991 GB, free: 2.078 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.119e-05/0.1759, allocations: 19.89 kB / 0.4991 GB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008335/0.1767, allocations: 377.2 kB / 0.4995 GB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.1767, allocations: 4 kB / 0.4995 GB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.1767, allocations: 3.984 kB / 0.4995 GB, free: 1.676 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.1767, allocations: 4 kB / 0.4995 GB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003242/0.1771, allocations: 244.9 kB / 0.4997 GB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1771, allocations: 0 / 0.4997 GB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.1772, allocations: 19.98 kB / 0.4998 GB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007819/0.178, allocations: 204.5 kB / 0.5 GB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.178, allocations: 7.938 kB / 0.5 GB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009039/0.1789, allocations: 0.7304 MB / 0.5007 GB, free: 428 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1789, allocations: 3.938 kB / 0.5007 GB, free: 424 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007447/0.1796, allocations: 373.3 kB / 0.501 GB, free: 32 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.339e-05/0.1797, allocations: 23.91 kB / 0.5011 GB, free: 8 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.022e-05/0.1797, allocations: 7.953 kB / 0.5011 GB, free: 0 / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.1799, allocations: 16.09 kB / 0.5011 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.349e-05/0.1799, allocations: 23.84 kB / 0.5011 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.18, allocations: 11.98 kB / 0.5011 GB, free: 15.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001519/0.1801, allocations: 134.5 kB / 0.5012 GB, free: 15.82 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1801, allocations: 0 / 0.5012 GB, free: 15.82 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003211/0.1804, allocations: 59.94 kB / 0.5013 GB, free: 15.76 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,load.degradedMode) * Number of discrete states: 1 (load.degradedMode) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * 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 {(4,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002717/0.1807, allocations: 119.3 kB / 0.5014 GB, free: 15.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008192/0.1815, allocations: 291.7 kB / 0.5017 GB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1815, allocations: 0 / 0.5017 GB, free: 15.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.1821, allocations: 159.8 kB / 0.5018 GB, free: 15.19 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.1824, allocations: 24.25 kB / 0.5019 GB, free: 15.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.1834, allocations: 420.1 kB / 0.5023 GB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000127/0.1835, allocations: 112.9 kB / 0.5024 GB, free: 14.6 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001013/0.1836, allocations: 21.61 kB / 0.5024 GB, free: 14.58 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.806e-05/0.1837, allocations: 27.44 kB / 0.5024 GB, free: 14.55 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1837, allocations: 96 / 0.5024 GB, free: 14.55 MB / 382.1 MB Notification: Performance of Templates: time 0.008512/0.1922, allocations: 3.545 MB / 0.5059 GB, free: 11.04 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.sim & ./PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.650899164378643] Failed to read output from testmodel.py, exit status != 0: 0.20075133070349693 0.49687878799999996 0.331962423 Calling exit ...