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.0006674/0.0006674, allocations: 85.06 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008864/0.001554, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0006579/0.0006579, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008747/0.001533, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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 0.88/0.88, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08297/0.963, allocations: 53.67 MB / 243.4 MB, free: 15.51 MB / 250.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.02166/0.02166, allocations: 4.452 MB / 248.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.005413/0.02707, allocations: 2.093 MB / 250.7 MB, free: 8.203 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.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 1.412e-06/1.412e-06, allocations: 0 / 252 MB, free: 6.93 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.432e-05/1.573e-05, allocations: 6.312 kB / 252 MB, free: 6.922 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002517/0.002533, allocations: 1.459 MB / 253.4 MB, free: 5.465 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002065/0.004597, allocations: 1.489 MB / 254.9 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.32e-05/0.00469, allocations: 4 kB / 254.9 MB, free: 3.957 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.005033, allocations: 115.3 kB / 255.1 MB, free: 3.844 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004147/0.005448, allocations: 147.1 kB / 255.2 MB, free: 3.699 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001615/0.007062, allocations: 0.8476 MB / 256 MB, free: 2.848 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.007359, allocations: 191 kB / 256.2 MB, free: 2.66 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.00748, allocations: 38.38 kB / 256.3 MB, free: 2.625 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001899/0.00767, allocations: 127.8 kB / 256.4 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.007841, allocations: 75.8 kB / 256.5 MB, free: 2.426 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.62e-05/0.007877, allocations: 19.94 kB / 256.5 MB, free: 2.406 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004476/0.008324, allocations: 235.6 kB / 256.7 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.008366, allocations: 27.88 kB / 256.7 MB, free: 2.148 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.135e-05/0.008437, allocations: 59.81 kB / 256.8 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004736/0.008911, allocations: 311 kB / 257.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.008923, allocations: 0 / 257.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.008924, allocations: 0 / 257.1 MB, free: 1.785 MB / 250.7 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.008933, allocations: 0 / 257.1 MB, free: 1.785 MB / 250.7 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.001339/0.01027, allocations: 0.7501 MB / 257.9 MB, free: 0.9883 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.83e-05/0.0103, allocations: 12.03 kB / 257.9 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.01035, allocations: 28.91 kB / 257.9 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.01052, allocations: 158.2 kB / 258 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-05/0.01058, allocations: 93.67 kB / 258.1 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.01061, allocations: 20.38 kB / 258.2 MB, free: 0.6367 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.01079, allocations: 192.1 kB / 258.3 MB, free: 440 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.0108, allocations: 192 / 258.3 MB, free: 440 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.01082, allocations: 8.375 kB / 258.4 MB, free: 432 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.01082, allocations: 8.125 kB / 258.4 MB, free: 424 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.709e-05/0.01091, allocations: 64.28 kB / 258.4 MB, free: 360 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.01155, allocations: 465.4 kB / 258.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002336/0.01179, allocations: 181.2 kB / 259.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.635e-05/0.01183, allocations: 36.84 kB / 259.1 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.793e-05/0.01189, allocations: 12 kB / 259.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000147/0.01204, allocations: 168.8 kB / 259.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.01204, allocations: 0 / 259.3 MB, free: 15.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006415/0.01268, allocations: 306.2 kB / 259.6 MB, free: 15.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.366e-05/0.0127, allocations: 55.41 kB / 259.6 MB, free: 15.08 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.567e-05/0.0128, allocations: 174.8 kB / 259.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.01282, allocations: 29.7 kB / 259.8 MB, free: 14.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.242e-05/0.01287, allocations: 128.5 kB / 259.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.01291, allocations: 79.3 kB / 260 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.01297, allocations: 53.95 kB / 260.1 MB, free: 14.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.748e-05/0.01304, allocations: 330.7 kB / 260.4 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.795e-05/0.01309, allocations: 47.38 kB / 260.4 MB, free: 14.21 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.673e-05/0.01315, allocations: 93.8 kB / 260.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001329/0.01329, allocations: 167 kB / 260.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.01329, allocations: 0 / 260.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003769/0.01367, allocations: 268.9 kB / 261 MB, free: 13.65 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.01368, allocations: 8 kB / 261 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.01368, allocations: 0 / 261 MB, free: 13.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003908/0.01407, allocations: 148.8 kB / 261.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.969e-05/0.01417, allocations: 51.91 kB / 261.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004005/0.01457, allocations: 0.6264 MB / 261.8 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.333e-05/0.01466, allocations: 27.78 kB / 261.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.207e-05/0.01467, allocations: 7.984 kB / 261.8 MB, free: 12.76 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 (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 {(5,3)} Notification: Performance of prepare postOptimizeDAE: time 7.48e-05/0.01474, allocations: 125.8 kB / 262 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.01477, allocations: 19.92 kB / 262 MB, free: 12.61 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.01503, allocations: 199.5 kB / 262.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.01503, allocations: 4 kB / 262.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.01503, allocations: 0 / 262.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01504, allocations: 0 / 262.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.01517, allocations: 169.6 kB / 262.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01517, allocations: 4 kB / 262.3 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.554e-05/0.01523, allocations: 27.92 kB / 262.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.01525, allocations: 15.84 kB / 262.4 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003415/0.01559, allocations: 156.7 kB / 262.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.0156, allocations: 0 / 262.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003602/0.01596, allocations: 0.6225 MB / 263.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01596, allocations: 3.938 kB / 263.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002178/0.01618, allocations: 200.1 kB / 263.4 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.0162, allocations: 15.92 kB / 263.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.647e-05/0.01626, allocations: 4 kB / 263.4 MB, free: 11.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.01629, allocations: 15.97 kB / 263.4 MB, free: 11.1 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.0163, allocations: 8 kB / 263.4 MB, free: 11.09 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.697e-05/0.01634, allocations: 44.34 kB / 263.4 MB, free: 11.05 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01634, allocations: 3.938 kB / 263.4 MB, free: 11.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001605/0.0165, allocations: 56 kB / 263.5 MB, free: 10.99 MB / 266.7 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 {(5,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001254/0.01663, allocations: 116.4 kB / 263.6 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.01696, allocations: 202.2 kB / 263.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.01696, allocations: 0 / 263.8 MB, free: 10.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.01717, allocations: 156.5 kB / 264 MB, free: 10.52 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.01733, allocations: 107.3 kB / 264.1 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.02021, allocations: 389.3 kB / 264.5 MB, free: 9.984 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.473e-05/0.02025, allocations: 72 kB / 264.5 MB, free: 9.895 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.245e-05/0.02031, allocations: 25.62 kB / 264.5 MB, free: 9.871 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.993e-05/0.02039, allocations: 79.36 kB / 264.6 MB, free: 9.793 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.02039, allocations: 0 / 264.6 MB, free: 9.793 MB / 266.7 MB Notification: Performance of Templates: time 0.004904/0.02529, allocations: 3.73 MB / 268.4 MB, free: 6.098 MB / 266.7 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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.3277736473828554]