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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") translateModel(PowerSysPro.Examples.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 97.72 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001453/0.001453, allocations: 181.1 kB / 16.96 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1885/0.1885, allocations: 8.08 MB / 300.2 MB, free: 2.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003213/0.0003214, allocations: 8 kB / 363.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1126, allocations: 52.53 MB / 416 MB, free: 8.379 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.001992/0.1146, allocations: 1.148 MB / 417.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002327/0.117, allocations: 1.423 MB / 418.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.1172, allocations: 0 / 418.6 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000442/0.1176, allocations: 95.66 kB / 418.7 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000528/0.1182, allocations: 151.3 kB / 418.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.1198, allocations: 0.8486 MB / 419.7 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003998/0.1202, allocations: 183.1 kB / 419.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.1204, allocations: 49.62 kB / 419.9 MB, free: 4.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.1205, allocations: 79.64 kB / 420 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.1208, allocations: 91.66 kB / 420.1 MB, free: 4.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.387e-05/0.1208, allocations: 8 kB / 420.1 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005851/0.1214, allocations: 227.7 kB / 420.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.1e-05/0.1215, allocations: 27.84 kB / 420.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.1216, allocations: 113.2 kB / 420.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006397/0.1223, allocations: 351.2 kB / 420.8 MB, free: 3.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.1223, allocations: 0 / 420.8 MB, free: 3.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1223, allocations: 0 / 420.8 MB, free: 3.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.1223, allocations: 0 / 420.8 MB, free: 3.582 MB / 350.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.002178/0.1245, allocations: 0.6705 MB / 421.4 MB, free: 2.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.1246, allocations: 8.031 kB / 421.4 MB, free: 2.852 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001028/0.1247, allocations: 20.75 kB / 421.5 MB, free: 2.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.125, allocations: 236 kB / 421.7 MB, free: 2.562 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.358e-05/0.1251, allocations: 75.7 kB / 421.8 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.49e-05/0.1251, allocations: 16.38 kB / 421.8 MB, free: 2.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004276/0.1256, allocations: 218.7 kB / 422 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1256, allocations: 3.938 kB / 422 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.229e-05/0.1256, allocations: 11.94 kB / 422 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.1257, allocations: 3.984 kB / 422 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003504/0.126, allocations: 203.9 kB / 422.2 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.1276, allocations: 0.9241 MB / 423.1 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005817/0.1282, allocations: 242.5 kB / 423.4 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.1284, allocations: 117.1 kB / 423.5 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001507/0.1286, allocations: 81.11 kB / 423.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003625/0.1289, allocations: 175.2 kB / 423.7 MB, free: 388 kB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.129, allocations: 0 / 423.7 MB, free: 388 kB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.2336/0.3626, allocations: 0.6066 MB / 424.4 MB, free: 41.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.3627, allocations: 55.17 kB / 424.4 MB, free: 41.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.363, allocations: 179.2 kB / 424.6 MB, free: 41.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.518e-05/0.3631, allocations: 31.48 kB / 424.6 MB, free: 41.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.3632, allocations: 127.1 kB / 424.7 MB, free: 41.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.17e-05/0.3633, allocations: 72.64 kB / 424.8 MB, free: 41.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.3633, allocations: 29.38 kB / 424.8 MB, free: 41.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.3635, allocations: 335.2 kB / 425.2 MB, free: 40.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000238/0.3637, allocations: 115.3 kB / 425.3 MB, free: 40.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.364, allocations: 162.9 kB / 425.4 MB, free: 40.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004195/0.3644, allocations: 281.2 kB / 425.7 MB, free: 40.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3644, allocations: 2 kB / 425.7 MB, free: 40.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001051/0.3655, allocations: 472.7 kB / 426.2 MB, free: 40.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.3655, allocations: 5.109 kB / 426.2 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.3655, allocations: 4.5 kB / 426.2 MB, free: 40.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009507/0.3665, allocations: 190.7 kB / 426.4 MB, free: 40.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001828/0.3667, allocations: 43.06 kB / 426.4 MB, free: 40.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005723/0.3673, allocations: 0.7272 MB / 427.1 MB, free: 40.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.3675, allocations: 29.8 kB / 427.2 MB, free: 40.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.3675, allocations: 13.39 kB / 427.2 MB, free: 40.1 MB / 350.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.0001243/0.3676, allocations: 136.8 kB / 427.3 MB, free: 39.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.3677, allocations: 21.53 kB / 427.3 MB, free: 39.97 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007692/0.3685, allocations: 390.5 kB / 427.7 MB, free: 39.93 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.3685, allocations: 3.438 kB / 427.7 MB, free: 39.93 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.3685, allocations: 0.5625 kB / 427.7 MB, free: 39.93 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.3685, allocations: 1.781 kB / 427.7 MB, free: 39.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.3688, allocations: 342.3 kB / 428.1 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.3688, allocations: 3.75 kB / 428.1 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.861e-05/0.3689, allocations: 19.88 kB / 428.1 MB, free: 39.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007733/0.3697, allocations: 202.1 kB / 428.3 MB, free: 39.71 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.3697, allocations: 7.156 kB / 428.3 MB, free: 39.71 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005385/0.3703, allocations: 0.7252 MB / 429 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3703, allocations: 3.938 kB / 429 MB, free: 39.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006119/0.3709, allocations: 378.8 kB / 429.4 MB, free: 39.1 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.162e-05/0.371, allocations: 98.55 kB / 429.5 MB, free: 39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.273e-05/0.371, allocations: 3.375 kB / 429.5 MB, free: 39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.3712, allocations: 17.2 kB / 429.5 MB, free: 39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.573e-05/0.3712, allocations: 16.83 kB / 429.5 MB, free: 39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.3713, allocations: 8.719 kB / 429.5 MB, free: 39 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.3714, allocations: 138 kB / 429.7 MB, free: 38.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3714, allocations: 0 / 429.7 MB, free: 38.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002951/0.3717, allocations: 60.34 kB / 429.7 MB, free: 38.91 MB / 350.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 {(3,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001881/0.3719, allocations: 123.9 kB / 429.8 MB, free: 38.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007054/0.3726, allocations: 310.3 kB / 430.1 MB, free: 38.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3726, allocations: 3.438 kB / 430.1 MB, free: 38.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.373, allocations: 159.9 kB / 430.3 MB, free: 38.8 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.3733, allocations: 21.7 kB / 430.3 MB, free: 38.8 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008265/0.3741, allocations: 494.2 kB / 430.8 MB, free: 38.54 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001554/0.3743, allocations: 0.7264 MB / 431.5 MB, free: 37.84 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.3744, allocations: 29.52 kB / 431.6 MB, free: 37.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.484e-05/0.3745, allocations: 16.53 kB / 431.6 MB, free: 37.83 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3745, allocations: 0 / 431.6 MB, free: 37.83 MB / 350.1 MB Notification: Performance of Templates: time 0.007113/0.3816, allocations: 3.457 MB / 435 MB, free: 37.64 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: