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.001424/0.001424, allocations: 84.23 kB / 20.25 MB, free: 4.188 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.001576/0.001576, allocations: 157.7 kB / 23.56 MB, free: 0.8789 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 1.475/1.475, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.04068/0.04068, allocations: 4.477 MB / 264.8 MB, free: 8.59 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 2.285e-06/2.285e-06, allocations: 0 / 335.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/3.011e-05, allocations: 6.312 kB / 335.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.00219/0.00222, allocations: 1.335 MB / 337.1 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001775/0.003995, allocations: 1.434 MB / 338.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.00412, allocations: 4 kB / 338.5 MB, free: 10.86 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003887/0.004509, allocations: 111.2 kB / 338.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004305/0.00494, allocations: 151.1 kB / 338.8 MB, free: 10.6 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.006253, allocations: 0.8361 MB / 339.6 MB, free: 9.758 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003197/0.006573, allocations: 195 kB / 339.8 MB, free: 9.566 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.006703, allocations: 33.66 kB / 339.8 MB, free: 9.531 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.006825, allocations: 115.7 kB / 339.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.006979, allocations: 83.78 kB / 340 MB, free: 9.336 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.00701, allocations: 12 kB / 340 MB, free: 9.324 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003416/0.007352, allocations: 227.5 kB / 340.2 MB, free: 9.102 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.827e-05/0.00739, allocations: 43.83 kB / 340.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.026e-05/0.00746, allocations: 63.83 kB / 340.4 MB, free: 8.996 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004249/0.007885, allocations: 382.9 kB / 340.7 MB, free: 8.621 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.00789, allocations: 3.938 kB / 340.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.007891, allocations: 0 / 340.7 MB, free: 8.617 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.007897, allocations: 4 kB / 340.7 MB, free: 8.613 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.001892/0.00979, allocations: 0.6354 MB / 341.4 MB, free: 7.945 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.009829, allocations: 12.03 kB / 341.4 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.947e-05/0.009928, allocations: 32.8 kB / 341.4 MB, free: 7.902 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.01017, allocations: 177.5 kB / 341.6 MB, free: 7.703 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.542e-05/0.01026, allocations: 89.67 kB / 341.7 MB, free: 7.598 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.26e-05/0.0103, allocations: 20.38 kB / 341.7 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003516/0.01065, allocations: 281.6 kB / 342 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.01066, allocations: 192 / 342 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.01068, allocations: 8.375 kB / 342 MB, free: 7.277 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.01069, allocations: 8.125 kB / 342 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002924/0.01098, allocations: 207.9 kB / 342.2 MB, free: 7.066 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.01217, allocations: 0.6911 MB / 342.9 MB, free: 6.344 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005285/0.0127, allocations: 214.5 kB / 343.1 MB, free: 6.125 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.01285, allocations: 96.84 kB / 343.2 MB, free: 6.027 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.876e-05/0.01295, allocations: 11.98 kB / 343.2 MB, free: 6.016 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003564/0.01331, allocations: 232 kB / 343.4 MB, free: 5.766 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.333e-06/0.01331, allocations: 3.938 kB / 343.4 MB, free: 5.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.001638/0.01495, allocations: 0.5315 MB / 344 MB, free: 5.223 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.01497, allocations: 59.34 kB / 344 MB, free: 5.152 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.01512, allocations: 180.2 kB / 344.2 MB, free: 4.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.01516, allocations: 33.7 kB / 344.2 MB, free: 4.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.582e-05/0.01521, allocations: 132.5 kB / 344.4 MB, free: 4.793 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.603e-05/0.01526, allocations: 79.3 kB / 344.4 MB, free: 4.715 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.228e-05/0.01534, allocations: 53.98 kB / 344.5 MB, free: 4.652 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.728e-05/0.01541, allocations: 330.8 kB / 344.8 MB, free: 4.32 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001772/0.01559, allocations: 112.5 kB / 344.9 MB, free: 4.211 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001971/0.01578, allocations: 166.1 kB / 345.1 MB, free: 4.035 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003705/0.01615, allocations: 280.6 kB / 345.4 MB, free: 3.746 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.01616, allocations: 8 kB / 345.4 MB, free: 3.738 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009727/0.01713, allocations: 477.9 kB / 345.8 MB, free: 3.262 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.01715, allocations: 11.11 kB / 345.8 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.01715, allocations: 4 kB / 345.8 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008945/0.01805, allocations: 192.8 kB / 346 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.01822, allocations: 51.86 kB / 346.1 MB, free: 3.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005593/0.01878, allocations: 0.7241 MB / 346.8 MB, free: 2.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.01896, allocations: 23.84 kB / 346.8 MB, free: 2.234 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.01899, allocations: 12 kB / 346.8 MB, free: 2.223 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 0.0001169/0.0191, allocations: 137.8 kB / 347 MB, free: 2.078 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.01915, allocations: 27.91 kB / 347 MB, free: 2.051 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006926/0.01984, allocations: 371.5 kB / 347.4 MB, free: 1.68 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.01985, allocations: 11.88 kB / 347.4 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.01985, allocations: 96 / 347.4 MB, free: 1.668 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01986, allocations: 3.984 kB / 347.4 MB, free: 1.664 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.02006, allocations: 233.1 kB / 347.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.02007, allocations: 0 / 347.6 MB, free: 1.406 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/0.02017, allocations: 23.98 kB / 347.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007538/0.02092, allocations: 196.6 kB / 347.8 MB, free: 1.188 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.02094, allocations: 8 kB / 347.8 MB, free: 1.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005996/0.02154, allocations: 0.7397 MB / 348.6 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.02154, allocations: 0 / 348.6 MB, free: 424 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005933/0.02214, allocations: 384 kB / 348.9 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.446e-05/0.02219, allocations: 23.88 kB / 349 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.912e-05/0.02223, allocations: 4 kB / 349 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.0224, allocations: 15.94 kB / 349 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.156e-05/0.02247, allocations: 19.91 kB / 349 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.436e-05/0.02249, allocations: 8 kB / 349 MB, free: 15.95 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.02265, allocations: 130.1 kB / 349.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02265, allocations: 0 / 349.1 MB, free: 15.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003447/0.02299, allocations: 71.88 kB / 349.2 MB, free: 15.75 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.0002425/0.02324, allocations: 111.2 kB / 349.3 MB, free: 15.64 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008601/0.0241, allocations: 297.5 kB / 349.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.0241, allocations: 4.188 kB / 349.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005678/0.02467, allocations: 163.8 kB / 349.8 MB, free: 15.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.02495, allocations: 34.55 kB / 349.8 MB, free: 15.15 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.02599, allocations: 406.3 kB / 350.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.02612, allocations: 112.7 kB / 350.3 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001023/0.02623, allocations: 25.62 kB / 350.3 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.335e-05/0.02629, allocations: 20.5 kB / 350.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02629, allocations: 0 / 350.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of Templates: time 0.008467/0.03476, allocations: 3.357 MB / 353.7 MB, free: 11.23 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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.6629763341043144]