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.001551/0.001551, allocations: 80.2 kB / 20.69 MB, free: 3.812 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.00184/0.00184, allocations: 169 kB / 24.09 MB, free: 424 kB / 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.9936/0.9936, allocations: 177.2 MB / 204.5 MB, free: 5.531 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.05308/0.05308, allocations: 4.482 MB / 265.6 MB, free: 8.426 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.523e-06/1.523e-06, allocations: 0 / 336.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11e-05/1.262e-05, allocations: 6.25 kB / 336.9 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.001548/0.00156, allocations: 1.404 MB / 338.3 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.002583, allocations: 1.473 MB / 339.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.175e-05/0.002634, allocations: 0 / 339.8 MB, free: 10.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001829/0.002817, allocations: 111.3 kB / 339.9 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002332/0.003051, allocations: 155.1 kB / 340.1 MB, free: 9.859 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006511/0.003702, allocations: 0.8283 MB / 340.9 MB, free: 9.027 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.003858, allocations: 195 kB / 341.1 MB, free: 8.836 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.917e-05/0.003937, allocations: 37.58 kB / 341.1 MB, free: 8.797 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.971e-05/0.004017, allocations: 111.8 kB / 341.2 MB, free: 8.688 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/0.00412, allocations: 83.78 kB / 341.3 MB, free: 8.605 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.004141, allocations: 12 kB / 341.3 MB, free: 8.594 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002189/0.00436, allocations: 235.6 kB / 341.6 MB, free: 8.363 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.004385, allocations: 35.84 kB / 341.6 MB, free: 8.328 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.004425, allocations: 63.83 kB / 341.7 MB, free: 8.266 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002754/0.0047, allocations: 346.8 kB / 342 MB, free: 7.926 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.332e-06/0.004701, allocations: 0 / 342 MB, free: 7.926 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.004702, allocations: 3.984 kB / 342 MB, free: 7.922 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.808e-06/0.004706, allocations: 0 / 342 MB, free: 7.922 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.0009363/0.005643, allocations: 0.7472 MB / 342.8 MB, free: 7.137 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.336e-05/0.005666, allocations: 12.03 kB / 342.8 MB, free: 7.125 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.005709, allocations: 40.8 kB / 342.8 MB, free: 7.086 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.005824, allocations: 187.6 kB / 343 MB, free: 6.875 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.474e-05/0.005869, allocations: 89.67 kB / 343.1 MB, free: 6.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.005888, allocations: 20.38 kB / 343.1 MB, free: 6.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.006023, allocations: 181.3 kB / 343.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.006028, allocations: 192 / 343.3 MB, free: 6.555 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.006041, allocations: 8.375 kB / 343.3 MB, free: 6.547 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.006045, allocations: 8.125 kB / 343.3 MB, free: 6.539 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.349e-05/0.006129, allocations: 84.23 kB / 343.4 MB, free: 6.457 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.006715, allocations: 0.6247 MB / 344 MB, free: 5.805 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.006916, allocations: 150.9 kB / 344.1 MB, free: 5.645 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/0.00696, allocations: 51.66 kB / 344.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.829e-05/0.007019, allocations: 12 kB / 344.2 MB, free: 5.578 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001211/0.00714, allocations: 169.6 kB / 344.4 MB, free: 5.387 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.042e-06/0.007141, allocations: 3.938 kB / 344.4 MB, free: 5.383 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006295/0.00777, allocations: 338.8 kB / 344.7 MB, free: 5.043 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.278e-05/0.007783, allocations: 63.34 kB / 344.8 MB, free: 4.969 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.215e-05/0.007855, allocations: 220.4 kB / 345 MB, free: 4.738 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.00787, allocations: 29.7 kB / 345 MB, free: 4.703 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.722e-05/0.007918, allocations: 183.1 kB / 345.2 MB, free: 4.52 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.00795, allocations: 79.36 kB / 345.3 MB, free: 4.441 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.714e-05/0.008007, allocations: 71.55 kB / 345.3 MB, free: 4.359 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.758e-05/0.008054, allocations: 0.4962 MB / 345.8 MB, free: 3.852 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.102e-05/0.008105, allocations: 48.53 kB / 345.9 MB, free: 3.805 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.643e-05/0.008172, allocations: 119.4 kB / 346 MB, free: 3.668 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.008289, allocations: 170.8 kB / 346.2 MB, free: 3.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.008291, allocations: 4 kB / 346.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003826/0.008673, allocations: 324.8 kB / 346.5 MB, free: 3.148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/0.008683, allocations: 7.938 kB / 346.5 MB, free: 3.141 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.008687, allocations: 4 kB / 346.5 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003744/0.009061, allocations: 151.6 kB / 346.6 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.211e-05/0.009143, allocations: 39.92 kB / 346.7 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002546/0.009398, allocations: 0.8702 MB / 347.6 MB, free: 2.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.449e-05/0.009472, allocations: 23.84 kB / 347.6 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.009484, allocations: 8 kB / 347.6 MB, free: 2.012 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 5.82e-05/0.009542, allocations: 180.4 kB / 347.8 MB, free: 1.824 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.009565, allocations: 19.91 kB / 347.8 MB, free: 1.805 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002644/0.00983, allocations: 245.5 kB / 348 MB, free: 1.559 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.009832, allocations: 4 kB / 348 MB, free: 1.555 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.009834, allocations: 3.938 kB / 348 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.009837, allocations: 0 / 348 MB, free: 1.551 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.009951, allocations: 201 kB / 348.2 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.009952, allocations: 0 / 348.2 MB, free: 1.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.491e-05/0.009997, allocations: 27.86 kB / 348.3 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003319/0.01033, allocations: 151.5 kB / 348.4 MB, free: 1.148 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.01034, allocations: 4 kB / 348.4 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002758/0.01061, allocations: 0.8857 MB / 349.3 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01061, allocations: 0 / 349.3 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.01087, allocations: 251.7 kB / 349.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.01089, allocations: 23.8 kB / 349.6 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/0.01091, allocations: 4 kB / 349.6 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.439e-05/0.01098, allocations: 20.03 kB / 349.6 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.226e-05/0.01102, allocations: 15.95 kB / 349.6 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.01103, allocations: 8 kB / 349.6 MB, free: 15.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.099e-05/0.01109, allocations: 153.9 kB / 349.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01109, allocations: 0 / 349.8 MB, free: 15.73 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001687/0.01126, allocations: 56 kB / 349.8 MB, free: 15.68 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.0001141/0.01138, allocations: 127.2 kB / 349.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.01166, allocations: 189.3 kB / 350.1 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.01166, allocations: 8.25 kB / 350.1 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.01186, allocations: 113.7 kB / 350.2 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/0.012, allocations: 31.05 kB / 350.3 MB, free: 15.21 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005941/0.01259, allocations: 374.9 kB / 350.6 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.674e-05/0.01263, allocations: 76.48 kB / 350.7 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.719e-05/0.01269, allocations: 21.62 kB / 350.7 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.753e-05/0.01276, allocations: 98.19 kB / 350.8 MB, free: 14.6 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01276, allocations: 0 / 350.8 MB, free: 14.6 MB / 282.7 MB Notification: Performance of Templates: time 0.005089/0.01785, allocations: 3.644 MB / 354.5 MB, free: 10.97 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.7173378439620137]