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.0008101/0.0008101, allocations: 72.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001318/0.002128, allocations: 447.8 kB / 10.35 MB, free: 348 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.0008643/0.0008643, allocations: 157.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001175/0.002039, allocations: 467.6 kB / 11.69 MB, free: 2.477 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 1.041/1.041, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1123/1.154, allocations: 53.65 MB / 243.2 MB, free: 15.58 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.04978/0.04978, allocations: 4.471 MB / 248.4 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004275/0.05405, allocations: 2.08 MB / 250.5 MB, free: 8.289 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.413e-06/1.413e-06, allocations: 0 / 251.8 MB, free: 7.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.387e-05, allocations: 2.312 kB / 251.8 MB, free: 7.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.001743/0.001756, allocations: 1.447 MB / 253.2 MB, free: 5.582 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.00386, allocations: 1.496 MB / 254.7 MB, free: 4.07 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001142/0.003974, allocations: 4 kB / 254.7 MB, free: 4.066 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000323/0.004297, allocations: 119.3 kB / 254.8 MB, free: 3.949 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000406/0.004703, allocations: 147.1 kB / 255 MB, free: 3.805 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.005762, allocations: 0.8398 MB / 255.8 MB, free: 2.961 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.006064, allocations: 199 kB / 256 MB, free: 2.766 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.006208, allocations: 34.44 kB / 256.1 MB, free: 2.734 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.006365, allocations: 127.7 kB / 256.2 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001606/0.006526, allocations: 83.72 kB / 256.3 MB, free: 2.527 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.006559, allocations: 16 kB / 256.3 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000439/0.006998, allocations: 231.6 kB / 256.5 MB, free: 2.285 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.007033, allocations: 31.92 kB / 256.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.774e-05/0.007091, allocations: 47.88 kB / 256.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.007449, allocations: 319 kB / 256.9 MB, free: 1.895 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.723e-05/0.007466, allocations: 0 / 256.9 MB, free: 1.895 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.007468, allocations: 7.938 kB / 256.9 MB, free: 1.887 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.605e-05/0.007485, allocations: 0 / 256.9 MB, free: 1.887 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.001348/0.008833, allocations: 0.7463 MB / 257.6 MB, free: 1.094 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.008878, allocations: 12.03 kB / 257.7 MB, free: 1.082 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.431e-05/0.008953, allocations: 32.91 kB / 257.7 MB, free: 1.051 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.00923, allocations: 158.2 kB / 257.8 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.442e-05/0.009325, allocations: 97.67 kB / 257.9 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.009351, allocations: 16.38 kB / 258 MB, free: 0.7383 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.009582, allocations: 188.1 kB / 258.1 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.009594, allocations: 4.188 kB / 258.1 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/0.009611, allocations: 4.375 kB / 258.1 MB, free: 0.5273 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.009621, allocations: 8.125 kB / 258.2 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001072/0.009728, allocations: 67.89 kB / 258.2 MB, free: 464 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007377/0.01047, allocations: 465.4 kB / 258.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002936/0.01076, allocations: 173.3 kB / 258.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.181e-05/0.01082, allocations: 44.69 kB / 258.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.493e-05/0.01091, allocations: 8 kB / 258.9 MB, free: 15.75 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.01109, allocations: 165.8 kB / 259.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.455e-06/0.01109, allocations: 4 kB / 259.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006918/0.01178, allocations: 301.2 kB / 259.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.01181, allocations: 55.41 kB / 259.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.01193, allocations: 178.8 kB / 259.6 MB, free: 15 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.714e-05/0.01196, allocations: 29.7 kB / 259.6 MB, free: 14.96 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.383e-05/0.01202, allocations: 128.5 kB / 259.7 MB, free: 14.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.01206, allocations: 67.38 kB / 259.8 MB, free: 14.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.814e-05/0.01213, allocations: 65.94 kB / 259.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.01222, allocations: 330.7 kB / 260.2 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.705e-05/0.01228, allocations: 43.38 kB / 260.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.444e-05/0.01236, allocations: 95.28 kB / 260.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.01252, allocations: 155 kB / 260.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.01252, allocations: 0 / 260.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004295/0.01295, allocations: 272.9 kB / 260.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.01297, allocations: 4 kB / 260.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.01297, allocations: 0 / 260.7 MB, free: 13.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004513/0.01342, allocations: 148.8 kB / 260.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.01353, allocations: 55.91 kB / 260.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004689/0.014, allocations: 0.6147 MB / 261.6 MB, free: 12.92 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.055e-05/0.01409, allocations: 27.78 kB / 261.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.01411, allocations: 11.98 kB / 261.6 MB, free: 12.88 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 0.0001005/0.01421, allocations: 129.8 kB / 261.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.01423, allocations: 23.92 kB / 261.8 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.01457, allocations: 199.5 kB / 261.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.069e-06/0.01457, allocations: 4 kB / 261.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.01458, allocations: 0 / 261.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.01458, allocations: 0 / 261.9 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.01475, allocations: 169.6 kB / 262.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01475, allocations: 0 / 262.1 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.755e-05/0.01482, allocations: 35.98 kB / 262.2 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.109e-05/0.01484, allocations: 19.78 kB / 262.2 MB, free: 12.27 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003717/0.01521, allocations: 144.7 kB / 262.3 MB, free: 12.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.01523, allocations: 7.984 kB / 262.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000416/0.01564, allocations: 0.6264 MB / 262.9 MB, free: 11.47 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.01565, allocations: 7.938 kB / 263 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000245/0.01589, allocations: 195.4 kB / 263.1 MB, free: 11.25 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.01592, allocations: 7.938 kB / 263.2 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.377e-05/0.01598, allocations: 15.98 kB / 263.2 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.01602, allocations: 15.97 kB / 263.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.01604, allocations: 4 kB / 263.2 MB, free: 11.21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.484e-05/0.01608, allocations: 52.33 kB / 263.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01608, allocations: 0 / 263.2 MB, free: 11.15 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001791/0.01626, allocations: 56 kB / 263.3 MB, free: 11.1 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.0001918/0.01645, allocations: 104.3 kB / 263.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003735/0.01683, allocations: 199.1 kB / 263.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.01683, allocations: 0 / 263.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.01703, allocations: 132.7 kB / 263.7 MB, free: 10.66 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.01719, allocations: 51.81 kB / 263.8 MB, free: 10.61 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.02023, allocations: 400.8 kB / 264.2 MB, free: 10.19 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.28e-05/0.02028, allocations: 76.48 kB / 264.2 MB, free: 10.1 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.814e-05/0.02034, allocations: 25.62 kB / 264.3 MB, free: 10.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.605e-05/0.02043, allocations: 79.36 kB / 264.3 MB, free: 9.996 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.02043, allocations: 0 / 264.3 MB, free: 9.996 MB / 266.7 MB Notification: Performance of Templates: time 0.005884/0.02631, allocations: 3.702 MB / 268 MB, free: 6.324 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.7670961674302816]