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.0009109/0.0009109, allocations: 79.36 kB / 20.47 MB, free: 4.105 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.0009178/0.0009178, allocations: 173 kB / 23.84 MB, free: 0.7305 MB / 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 0.9744/0.9744, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.02784/0.02784, allocations: 4.485 MB / 265.2 MB, free: 8.559 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.062e-06/1.062e-06, allocations: 0 / 336.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.373e-05/1.479e-05, allocations: 2.312 kB / 336.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.001437/0.001452, allocations: 1.412 MB / 337.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.00256, allocations: 1.485 MB / 339.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.6e-05/0.002616, allocations: 4 kB / 339.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.002851, allocations: 103.4 kB / 339.5 MB, free: 10.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002909/0.003142, allocations: 159 kB / 339.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007438/0.003886, allocations: 0.8518 MB / 340.5 MB, free: 9.242 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001906/0.004077, allocations: 195 kB / 340.7 MB, free: 9.051 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.004188, allocations: 41.64 kB / 340.7 MB, free: 9.008 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.806e-05/0.004266, allocations: 111.7 kB / 340.8 MB, free: 8.898 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.004384, allocations: 79.78 kB / 340.9 MB, free: 8.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.427e-05/0.004408, allocations: 16 kB / 340.9 MB, free: 8.805 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002168/0.004625, allocations: 231.5 kB / 341.1 MB, free: 8.578 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.784e-05/0.004652, allocations: 39.84 kB / 341.2 MB, free: 8.539 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.676e-05/0.004699, allocations: 59.83 kB / 341.2 MB, free: 8.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003121/0.005011, allocations: 350.9 kB / 341.6 MB, free: 8.137 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005013, allocations: 0 / 341.6 MB, free: 8.137 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.82e-07/0.005014, allocations: 3.938 kB / 341.6 MB, free: 8.133 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.158e-06/0.005018, allocations: 4 kB / 341.6 MB, free: 8.129 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.00108/0.006099, allocations: 0.7395 MB / 342.3 MB, free: 7.352 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.006134, allocations: 8.031 kB / 342.3 MB, free: 7.344 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.585e-05/0.0062, allocations: 40.8 kB / 342.4 MB, free: 7.305 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001794/0.006379, allocations: 187.4 kB / 342.6 MB, free: 7.094 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.873e-05/0.006448, allocations: 89.67 kB / 342.7 MB, free: 6.988 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.654e-05/0.006474, allocations: 24.38 kB / 342.7 MB, free: 6.965 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.006676, allocations: 197.3 kB / 342.9 MB, free: 6.754 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.006683, allocations: 4.188 kB / 342.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.006701, allocations: 8.375 kB / 342.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.006709, allocations: 12.06 kB / 342.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.006841, allocations: 91.92 kB / 343 MB, free: 6.641 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007598/0.007601, allocations: 0.6592 MB / 343.6 MB, free: 5.945 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002692/0.00787, allocations: 166.9 kB / 343.8 MB, free: 5.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.07e-05/0.007941, allocations: 59.59 kB / 343.9 MB, free: 5.707 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-05/0.008017, allocations: 12 kB / 343.9 MB, free: 5.695 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.008177, allocations: 177.6 kB / 344 MB, free: 5.496 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.402e-06/0.008179, allocations: 0 / 344 MB, free: 5.496 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008174/0.008996, allocations: 375.1 kB / 344.4 MB, free: 5.121 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.648e-05/0.009013, allocations: 55.41 kB / 344.5 MB, free: 5.055 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.93e-05/0.009102, allocations: 224.5 kB / 344.7 MB, free: 4.82 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.009119, allocations: 33.7 kB / 344.7 MB, free: 4.781 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.469e-05/0.009163, allocations: 183.1 kB / 344.9 MB, free: 4.598 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.987e-05/0.009193, allocations: 75.38 kB / 345 MB, free: 4.523 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.914e-05/0.009252, allocations: 63.62 kB / 345 MB, free: 4.449 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.848e-05/0.009301, allocations: 0.5001 MB / 345.5 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.614e-05/0.009377, allocations: 56.53 kB / 345.6 MB, free: 3.883 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.579e-05/0.009473, allocations: 131.4 kB / 345.7 MB, free: 3.734 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.00965, allocations: 206.7 kB / 345.9 MB, free: 3.512 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.009652, allocations: 0 / 345.9 MB, free: 3.512 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000474/0.01013, allocations: 356.8 kB / 346.3 MB, free: 3.152 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.01014, allocations: 7.938 kB / 346.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01014, allocations: 8.125 kB / 346.3 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004197/0.01056, allocations: 147.5 kB / 346.4 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.212e-05/0.01064, allocations: 47.91 kB / 346.5 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003063/0.01095, allocations: 0.8741 MB / 347.4 MB, free: 2.035 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.917e-05/0.01103, allocations: 23.84 kB / 347.4 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.01104, allocations: 11.98 kB / 347.4 MB, free: 2 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 {(3,5)} Notification: Performance of prepare postOptimizeDAE: time 6.351e-05/0.01111, allocations: 180.4 kB / 347.6 MB, free: 1.812 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.01113, allocations: 23.91 kB / 347.6 MB, free: 1.789 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.01146, allocations: 262.3 kB / 347.8 MB, free: 1.523 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01147, allocations: 7.938 kB / 347.8 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.01147, allocations: 0 / 347.8 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.01147, allocations: 0 / 347.8 MB, free: 1.516 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.01159, allocations: 228.4 kB / 348.1 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.01159, allocations: 0 / 348.1 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.01164, allocations: 19.98 kB / 348.1 MB, free: 1.238 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000343/0.01198, allocations: 163.5 kB / 348.3 MB, free: 1.074 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.012, allocations: 8 kB / 348.3 MB, free: 1.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003086/0.0123, allocations: 0.8897 MB / 349.1 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.0123, allocations: 0 / 349.1 MB, free: 148 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.01263, allocations: 276.5 kB / 349.4 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.084e-05/0.01265, allocations: 15.84 kB / 349.4 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.01267, allocations: 11.95 kB / 349.4 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.844e-05/0.01275, allocations: 11.98 kB / 349.5 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.01279, allocations: 11.97 kB / 349.5 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/0.01281, allocations: 12 kB / 349.5 MB, free: 15.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.996e-05/0.01288, allocations: 162 kB / 349.6 MB, free: 15.63 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01288, allocations: 0 / 349.6 MB, free: 15.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001772/0.01305, allocations: 56 kB / 349.7 MB, free: 15.57 MB / 282.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 {(4,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001375/0.01319, allocations: 127.1 kB / 349.8 MB, free: 15.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003824/0.01357, allocations: 220.4 kB / 350 MB, free: 15.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.01358, allocations: 4 kB / 350 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003647/0.01394, allocations: 123.5 kB / 350.2 MB, free: 15.1 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001656/0.01411, allocations: 27.98 kB / 350.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007397/0.01485, allocations: 379 kB / 350.6 MB, free: 14.67 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.711e-05/0.01488, allocations: 72.48 kB / 350.6 MB, free: 14.58 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.932e-05/0.01494, allocations: 29.62 kB / 350.7 MB, free: 14.55 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.752e-05/0.01498, allocations: 24.5 kB / 350.7 MB, free: 14.52 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01498, allocations: 0 / 350.7 MB, free: 14.52 MB / 282.7 MB Notification: Performance of Templates: time 0.004846/0.01983, allocations: 3.384 MB / 354.1 MB, free: 11.18 MB / 282.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 os._exit(0), Time elapsed: 2.938725685235113]