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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0008925/0.0008925, allocations: 172 kB / 16.8 MB, free: 5 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 223.3 MB / 240.8 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007515/0.0007515, allocations: 99.95 kB / 292 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04247/0.04247, allocations: 8.1 MB / 351.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.0003373, allocations: 12 kB / 414.4 MB, free: 57.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08094/0.08129, allocations: 52.51 MB / 466.9 MB, free: 4.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2804/0.3617, allocations: 79.83 MB / 0.5339 GB, free: 5.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/0.3619, allocations: 60.61 kB / 0.534 GB, free: 5.652 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01601/0.378, allocations: 6.417 MB / 0.5402 GB, free: 448 kB / 346.7 MB Notification: Performance of FrontEnd: time 3.808e-06/0.378, allocations: 0 / 0.5402 GB, free: 448 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.378, allocations: 7.938 kB / 0.5402 GB, free: 440 kB / 346.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.001281/0.3793, allocations: 0.5705 MB / 0.5408 GB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3794, allocations: 12.03 kB / 0.5408 GB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.132e-05/0.3794, allocations: 16.75 kB / 0.5408 GB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.3797, allocations: 247.1 kB / 0.541 GB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.413e-05/0.3798, allocations: 67.09 kB / 0.5411 GB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.475e-05/0.3798, allocations: 16.19 kB / 0.5411 GB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003591/0.3802, allocations: 219.7 kB / 0.5413 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3802, allocations: 3.938 kB / 0.5413 GB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.3803, allocations: 9.812 kB / 0.5414 GB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.3803, allocations: 4 kB / 0.5414 GB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003212/0.3806, allocations: 205.3 kB / 0.5416 GB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.3821, allocations: 0.9723 MB / 0.5425 GB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.3827, allocations: 230.5 kB / 0.5427 GB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001668/0.3828, allocations: 115.1 kB / 0.5428 GB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.411e-05/0.3829, allocations: 7.938 kB / 0.5428 GB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000306/0.3832, allocations: 176.4 kB / 0.543 GB, free: 14.05 MB / 362.7 MB Notification: Performance of pre-optimization done (n=22): time 1.913e-06/0.3832, allocations: 0 / 0.543 GB, free: 14.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001708/0.3849, allocations: 0.6359 MB / 0.5436 GB, free: 13.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.385, allocations: 55.41 kB / 0.5437 GB, free: 13.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/0.3852, allocations: 190.8 kB / 0.5439 GB, free: 13.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.3852, allocations: 29.7 kB / 0.5439 GB, free: 13.26 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.23e-05/0.3853, allocations: 133.9 kB / 0.544 GB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.66e-05/0.3853, allocations: 72.94 kB / 0.5441 GB, free: 13.08 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.338e-05/0.3854, allocations: 3.812 kB / 0.5441 GB, free: 13.08 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3855, allocations: 325.7 kB / 0.5444 GB, free: 12.76 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.3856, allocations: 105.8 kB / 0.5445 GB, free: 12.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.3858, allocations: 149.5 kB / 0.5446 GB, free: 12.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003479/0.3862, allocations: 246.4 kB / 0.5449 GB, free: 12.44 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.3862, allocations: 4 kB / 0.5449 GB, free: 12.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008441/0.3871, allocations: 435.2 kB / 0.5453 GB, free: 12.13 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3871, allocations: 16.11 kB / 0.5453 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3871, allocations: 0 / 0.5453 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008531/0.388, allocations: 197.2 kB / 0.5455 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.3881, allocations: 39.91 kB / 0.5455 GB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006288/0.3888, allocations: 0.7244 MB / 0.5462 GB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.389, allocations: 21.62 kB / 0.5463 GB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.465e-05/0.389, allocations: 8 kB / 0.5463 GB, free: 11.25 MB / 362.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 ($whenCondition1,$PRE.load.degradedMode,load.degradedMode) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001284/0.3891, allocations: 145.1 kB / 0.5464 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.3892, allocations: 15.81 kB / 0.5464 GB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006353/0.3898, allocations: 385 kB / 0.5468 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.3898, allocations: 4 kB / 0.5468 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3899, allocations: 0 / 0.5468 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.3899, allocations: 0 / 0.5468 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.3902, allocations: 367.8 kB / 0.5472 GB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.3902, allocations: 0 / 0.5472 GB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.3903, allocations: 22.3 kB / 0.5472 GB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007243/0.3911, allocations: 198.6 kB / 0.5474 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.3911, allocations: 4 kB / 0.5474 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006434/0.3917, allocations: 0.7319 MB / 0.5481 GB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3918, allocations: 0 / 0.5481 GB, free: 9.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000579/0.3923, allocations: 361.6 kB / 0.5484 GB, free: 9.195 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.3924, allocations: 92.92 kB / 0.5485 GB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.008e-05/0.3925, allocations: 12.03 kB / 0.5485 GB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.3926, allocations: 15.98 kB / 0.5485 GB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.3927, allocations: 19.95 kB / 0.5486 GB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.273e-05/0.3927, allocations: 11.94 kB / 0.5486 GB, free: 9.027 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001398/0.3929, allocations: 147.9 kB / 0.5487 GB, free: 8.883 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3929, allocations: 0 / 0.5487 GB, free: 8.883 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002886/0.3932, allocations: 51.94 kB / 0.5488 GB, free: 8.832 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001852/0.3934, allocations: 123.2 kB / 0.5489 GB, free: 8.699 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006975/0.3941, allocations: 283.9 kB / 0.5492 GB, free: 8.422 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3941, allocations: 3.938 kB / 0.5492 GB, free: 8.418 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004242/0.3945, allocations: 159.6 kB / 0.5493 GB, free: 8.262 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.3948, allocations: 23.98 kB / 0.5493 GB, free: 8.238 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009491/0.3958, allocations: 468 kB / 0.5498 GB, free: 7.758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.3961, allocations: 0.7252 MB / 0.5505 GB, free: 7.008 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.3962, allocations: 25.53 kB / 0.5505 GB, free: 6.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.3963, allocations: 19.42 kB / 0.5505 GB, free: 6.961 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.3963, allocations: 0 / 0.5505 GB, free: 6.961 MB / 362.7 MB Notification: Performance of Templates: time 0.006956/0.4032, allocations: 3.379 MB / 0.5538 GB, free: 3.602 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.makefile (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)