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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001292/0.001292, allocations: 113.3 kB / 17.13 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 186.3 kB / 18.06 MB, free: 5.027 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.309/1.309, allocations: 222.9 MB / 241.7 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04733/0.04733, allocations: 8.097 MB / 300 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 64.09 kB / 415.2 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08187/0.08309, allocations: 51.51 MB / 466.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002724/0.08586, allocations: 1.455 MB / 468.1 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.08782, allocations: 1.442 MB / 469.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.08796, allocations: 0 / 469.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003683/0.08835, allocations: 111.4 kB / 469.7 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004497/0.08881, allocations: 159.2 kB / 469.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001608/0.09043, allocations: 0.9137 MB / 470.7 MB, free: 14.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003114/0.09075, allocations: 195.1 kB / 470.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001424/0.0909, allocations: 57.58 kB / 471 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.09102, allocations: 75.77 kB / 471.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/0.0912, allocations: 111.5 kB / 471.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.987e-05/0.09125, allocations: 16 kB / 471.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003968/0.09166, allocations: 223.8 kB / 471.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.361e-05/0.09171, allocations: 43.77 kB / 471.4 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.463e-05/0.09181, allocations: 87.59 kB / 471.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.09229, allocations: 355.1 kB / 471.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.09231, allocations: 0 / 471.9 MB, free: 12.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09232, allocations: 4 kB / 471.9 MB, free: 12.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.09233, allocations: 0 / 471.9 MB, free: 12.93 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.002084/0.09442, allocations: 0.7055 MB / 472.6 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.09447, allocations: 15.89 kB / 472.6 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.5e-05/0.09455, allocations: 20.75 kB / 472.6 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.09483, allocations: 234.7 kB / 472.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.975e-05/0.09493, allocations: 71.7 kB / 472.9 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.09498, allocations: 24.38 kB / 472.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003965/0.09538, allocations: 214.5 kB / 473.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.0954, allocations: 3.938 kB / 473.2 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.09543, allocations: 8 kB / 473.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.347e-06/0.09545, allocations: 4 kB / 473.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003475/0.0958, allocations: 203.8 kB / 473.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.09733, allocations: 0.9124 MB / 474.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006001/0.09794, allocations: 238.1 kB / 474.5 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.09813, allocations: 117.1 kB / 474.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001308/0.09827, allocations: 89.08 kB / 474.7 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003617/0.09864, allocations: 170.3 kB / 474.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.09866, allocations: 0 / 474.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001787/0.1005, allocations: 0.6123 MB / 475.5 MB, free: 9.074 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.1005, allocations: 55.41 kB / 475.5 MB, free: 9.008 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.1007, allocations: 179.2 kB / 475.7 MB, free: 8.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.1007, allocations: 33.7 kB / 475.8 MB, free: 8.777 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.397e-05/0.1008, allocations: 132.2 kB / 475.9 MB, free: 8.645 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.713e-05/0.1009, allocations: 63.02 kB / 475.9 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.647e-05/0.101, allocations: 65.88 kB / 476 MB, free: 8.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1011, allocations: 326.8 kB / 476.3 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.1013, allocations: 116.5 kB / 476.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/0.1016, allocations: 169.3 kB / 476.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004243/0.102, allocations: 272.2 kB / 476.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.102, allocations: 0 / 476.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001106/0.1031, allocations: 482.3 kB / 477.3 MB, free: 7.129 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.1031, allocations: 4 kB / 477.3 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1032, allocations: 4 kB / 477.4 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009255/0.1041, allocations: 196.8 kB / 477.5 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.1043, allocations: 39.92 kB / 477.6 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000707/0.105, allocations: 0.7241 MB / 478.3 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001994/0.1052, allocations: 19.84 kB / 478.3 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.1052, allocations: 8 kB / 478.3 MB, free: 6.109 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.0001307/0.1054, allocations: 149.7 kB / 478.5 MB, free: 5.953 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.527e-05/0.1054, allocations: 15.81 kB / 478.5 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007811/0.1062, allocations: 389.6 kB / 478.9 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1062, allocations: 3.938 kB / 478.9 MB, free: 5.535 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1062, allocations: 4 kB / 478.9 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.942e-06/0.1062, allocations: 3.984 kB / 478.9 MB, free: 5.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003093/0.1066, allocations: 337.3 kB / 479.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/0.1066, allocations: 7.938 kB / 479.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.1067, allocations: 27.92 kB / 479.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008008/0.1075, allocations: 188.7 kB / 479.4 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.878e-05/0.1075, allocations: 4 kB / 479.4 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000758/0.1083, allocations: 0.7358 MB / 480.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1083, allocations: 0 / 480.2 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006817/0.109, allocations: 380.3 kB / 480.5 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.721e-05/0.1091, allocations: 96.91 kB / 480.6 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.1091, allocations: 8 kB / 480.7 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001686/0.1093, allocations: 19.92 kB / 480.7 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.1094, allocations: 15.84 kB / 480.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.1094, allocations: 8 kB / 480.7 MB, free: 3.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001241/0.1095, allocations: 131.9 kB / 480.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1095, allocations: 0 / 480.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.1098, allocations: 67.84 kB / 480.9 MB, free: 3.41 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 {(4,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001914/0.11, allocations: 131.2 kB / 481 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007764/0.1108, allocations: 307.8 kB / 481.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.1108, allocations: 256 / 481.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005514/0.1114, allocations: 171.9 kB / 481.5 MB, free: 2.805 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.1117, allocations: 24.03 kB / 481.5 MB, free: 2.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008309/0.1125, allocations: 441.2 kB / 481.9 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003758/0.1129, allocations: 0.7249 MB / 482.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/0.113, allocations: 23.44 kB / 482.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.113, allocations: 0 / 482.7 MB, free: 1.547 MB / 350.1 MB Notification: Performance of Templates: time 0.006164/0.1191, allocations: 3.395 MB / 486.1 MB, free: 14.15 MB / 366.1 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)