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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 114.8 kB / 17.85 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 187.7 kB / 20.79 MB, free: 2.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 225.6 MB / 249.2 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04981/0.04981, allocations: 8.221 MB / 312.3 MB, free: 2.012 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-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(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.001972/0.001972, allocations: 71.88 kB / 435.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2487, allocations: 54.35 MB / 489.5 MB, free: 27.61 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.00233/0.251, allocations: 1.458 MB / 490.9 MB, free: 26.49 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.2526, allocations: 1.45 MB / 492.4 MB, free: 25.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.077e-05/0.2526, allocations: 6.719 kB / 492.4 MB, free: 25.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003184/0.253, allocations: 109.3 kB / 492.5 MB, free: 25.25 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.2533, allocations: 162.7 kB / 492.7 MB, free: 25.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001301/0.2546, allocations: 0.912 MB / 493.6 MB, free: 24.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.2549, allocations: 193.5 kB / 493.8 MB, free: 24.34 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.255, allocations: 40.77 kB / 493.8 MB, free: 24.31 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.291e-05/0.2551, allocations: 78.14 kB / 493.9 MB, free: 24.27 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.2552, allocations: 107.3 kB / 494 MB, free: 24.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.2553, allocations: 15.12 kB / 494 MB, free: 24.2 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003833/0.2557, allocations: 226.8 kB / 494.2 MB, free: 24.1 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.756e-05/0.2557, allocations: 42.94 kB / 494.3 MB, free: 24.06 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.967e-05/0.2558, allocations: 90.27 kB / 494.4 MB, free: 24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.2562, allocations: 363.1 kB / 494.7 MB, free: 23.77 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2562, allocations: 1.812 kB / 494.7 MB, free: 23.77 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2562, allocations: 0 / 494.7 MB, free: 23.77 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.2562, allocations: 0 / 494.7 MB, free: 23.77 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.001969/0.2582, allocations: 0.7101 MB / 495.4 MB, free: 23.19 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.2582, allocations: 17.48 kB / 495.4 MB, free: 23.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.876e-05/0.2583, allocations: 28.53 kB / 495.5 MB, free: 23.17 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.2586, allocations: 227.9 kB / 495.7 MB, free: 22.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.2587, allocations: 72.53 kB / 495.8 MB, free: 22.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/0.2588, allocations: 27.58 kB / 495.8 MB, free: 22.83 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003795/0.2592, allocations: 216.8 kB / 496 MB, free: 22.7 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2592, allocations: 3.938 kB / 496 MB, free: 22.69 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.645e-05/0.2592, allocations: 9.375 kB / 496 MB, free: 22.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.2592, allocations: 8.062 kB / 496 MB, free: 22.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.2596, allocations: 201.5 kB / 496.2 MB, free: 22.58 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.2611, allocations: 0.9083 MB / 497.1 MB, free: 21.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006027/0.2617, allocations: 219.5 kB / 497.3 MB, free: 21.65 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.2619, allocations: 103.7 kB / 497.4 MB, free: 21.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000111/0.262, allocations: 90.09 kB / 497.5 MB, free: 21.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003318/0.2624, allocations: 165.9 kB / 497.7 MB, free: 21.37 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.2624, allocations: 0 / 497.7 MB, free: 21.37 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.001879/0.2643, allocations: 0.6067 MB / 498.3 MB, free: 20.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.916e-05/0.2643, allocations: 53.88 kB / 498.3 MB, free: 20.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.2644, allocations: 181.2 kB / 498.5 MB, free: 20.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.2645, allocations: 31.98 kB / 498.6 MB, free: 20.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.2645, allocations: 127.1 kB / 498.7 MB, free: 20.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.306e-05/0.2645, allocations: 76.3 kB / 498.8 MB, free: 20.54 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.958e-05/0.2646, allocations: 59.47 kB / 498.8 MB, free: 20.5 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.532e-05/0.2647, allocations: 334.7 kB / 499.1 MB, free: 20.16 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.2649, allocations: 113.7 kB / 499.3 MB, free: 20.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.2652, allocations: 165.3 kB / 499.4 MB, free: 19.99 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/0.2655, allocations: 272.3 kB / 499.7 MB, free: 19.82 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2655, allocations: 1.281 kB / 499.7 MB, free: 19.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001095/0.2666, allocations: 474.7 kB / 0.4884 GB, free: 19.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.2667, allocations: 5.062 kB / 0.4884 GB, free: 19.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2667, allocations: 5.312 kB / 0.4884 GB, free: 19.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.2677, allocations: 196.6 kB / 0.4886 GB, free: 19.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.2679, allocations: 39.14 kB / 0.4887 GB, free: 19.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005974/0.2685, allocations: 0.7291 MB / 0.4894 GB, free: 18.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.2687, allocations: 31 kB / 0.4894 GB, free: 18.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.2687, allocations: 8.312 kB / 0.4894 GB, free: 18.76 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.000105/0.2688, allocations: 134.3 kB / 0.4895 GB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.061e-05/0.2689, allocations: 16.34 kB / 0.4896 GB, free: 18.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007769/0.2696, allocations: 378.1 kB / 0.4899 GB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.2697, allocations: 2.156 kB / 0.4899 GB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2697, allocations: 0 / 0.4899 GB, free: 18.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2697, allocations: 8.891 kB / 0.4899 GB, free: 18.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002552/0.2699, allocations: 341.9 kB / 0.4902 GB, free: 18.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2699, allocations: 3.938 kB / 0.4903 GB, free: 18.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.27, allocations: 26.61 kB / 0.4903 GB, free: 18.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007925/0.2708, allocations: 198.5 kB / 0.4905 GB, free: 17.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.2708, allocations: 9.062 kB / 0.4905 GB, free: 17.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000651/0.2715, allocations: 0.7276 MB / 0.4912 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.2715, allocations: 5.094 kB / 0.4912 GB, free: 17.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006522/0.2721, allocations: 373.6 kB / 0.4915 GB, free: 17.03 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.2722, allocations: 98.83 kB / 0.4916 GB, free: 16.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.2722, allocations: 5.516 kB / 0.4916 GB, free: 16.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.2724, allocations: 13.78 kB / 0.4917 GB, free: 16.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.2725, allocations: 24.02 kB / 0.4917 GB, free: 16.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.2725, allocations: 4.594 kB / 0.4917 GB, free: 16.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.2726, allocations: 143.3 kB / 0.4918 GB, free: 16.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2726, allocations: 0 / 0.4918 GB, free: 16.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003211/0.2729, allocations: 59.55 kB / 0.4919 GB, free: 16.77 MB / 366.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.0001701/0.2731, allocations: 114.2 kB / 0.492 GB, free: 16.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007572/0.2738, allocations: 294.7 kB / 0.4923 GB, free: 16.54 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.2738, allocations: 0 / 0.4923 GB, free: 16.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005267/0.2744, allocations: 162.2 kB / 0.4924 GB, free: 16.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.2746, allocations: 38.61 kB / 0.4925 GB, free: 16.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007826/0.2754, allocations: 436.7 kB / 0.4929 GB, free: 16.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001205/0.2755, allocations: 0.727 MB / 0.4936 GB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.2756, allocations: 23.06 kB / 0.4936 GB, free: 15.39 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2756, allocations: 0 / 0.4936 GB, free: 15.39 MB / 366.1 MB Notification: Performance of Templates: time 0.005166/0.2807, allocations: 3.419 MB / 0.4969 GB, free: 13.61 MB / 366.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 sys.exit(0), Time elapsed: 6.830417749006301] Failed to read output from testmodel.py, exit status != 0: 0.2880262681283057 0.296968296 0.03876699 Calling exit ...