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.001311/0.001312, allocations: 109 kB / 17.09 MB, free: 5.988 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.001127/0.001127, allocations: 192 kB / 18.02 MB, free: 5.062 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.369/1.369, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05465/0.05465, allocations: 8.095 MB / 300 MB, free: 6.656 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 71.88 kB / 363.2 MB, free: 7.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2434/0.2448, allocations: 51.51 MB / 414.7 MB, free: 25.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002476/0.2473, allocations: 1.454 MB / 416.1 MB, free: 24 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001412/0.2487, allocations: 1.446 MB / 417.6 MB, free: 22.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.2488, allocations: 4 kB / 417.6 MB, free: 22.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002778/0.2491, allocations: 111.5 kB / 417.7 MB, free: 22.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003395/0.2495, allocations: 151.2 kB / 417.8 MB, free: 22.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.2506, allocations: 0.9062 MB / 418.8 MB, free: 21.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.2509, allocations: 199.1 kB / 419 MB, free: 21.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.251, allocations: 49.64 kB / 419 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.16e-05/0.2511, allocations: 79.7 kB / 419.1 MB, free: 21.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.2513, allocations: 111.5 kB / 419.2 MB, free: 20.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.85e-05/0.2513, allocations: 16 kB / 419.2 MB, free: 20.91 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003272/0.2516, allocations: 219.8 kB / 419.4 MB, free: 20.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.998e-05/0.2517, allocations: 35.89 kB / 419.5 MB, free: 20.66 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.825e-05/0.2518, allocations: 99.45 kB / 419.5 MB, free: 20.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.2521, allocations: 364.7 kB / 419.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2521, allocations: 0 / 419.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2522, allocations: 0 / 419.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.173e-06/0.2522, allocations: 0 / 419.9 MB, free: 20.21 MB / 302.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.001742/0.2539, allocations: 0.7016 MB / 420.6 MB, free: 19.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.254, allocations: 15.89 kB / 420.6 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.15e-05/0.254, allocations: 20.66 kB / 420.6 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.2543, allocations: 246.6 kB / 420.9 MB, free: 19.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.416e-05/0.2544, allocations: 63.97 kB / 420.9 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.2544, allocations: 20.38 kB / 421 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003596/0.2548, allocations: 218.3 kB / 421.2 MB, free: 18.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.2548, allocations: 7.938 kB / 421.2 MB, free: 18.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.799e-05/0.2549, allocations: 8 kB / 421.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.2549, allocations: 11.97 kB / 421.2 MB, free: 18.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002906/0.2552, allocations: 195.9 kB / 421.4 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.2564, allocations: 0.9086 MB / 422.3 MB, free: 17.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005065/0.257, allocations: 230.5 kB / 422.5 MB, free: 17.4 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.2571, allocations: 121.1 kB / 422.6 MB, free: 17.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.2573, allocations: 81.11 kB / 422.7 MB, free: 17.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003667/0.2577, allocations: 164.8 kB / 422.9 MB, free: 17.01 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.463e-06/0.2577, allocations: 0 / 422.9 MB, free: 17.01 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001549/0.2592, allocations: 0.6219 MB / 423.5 MB, free: 16.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.424e-05/0.2593, allocations: 51.41 kB / 423.6 MB, free: 16.3 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.2594, allocations: 184.9 kB / 423.7 MB, free: 16.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.247e-05/0.2594, allocations: 29.7 kB / 423.8 MB, free: 16.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.055e-05/0.2595, allocations: 124.2 kB / 423.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.2595, allocations: 82.83 kB / 424 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/0.2596, allocations: 57.98 kB / 424 MB, free: 15.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.312e-05/0.2597, allocations: 326.8 kB / 424.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.2599, allocations: 116.5 kB / 424.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.26, allocations: 161.3 kB / 424.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003342/0.2604, allocations: 280.1 kB / 424.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2604, allocations: 0 / 424.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000888/0.2613, allocations: 486.4 kB / 425.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2613, allocations: 4 kB / 425.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2613, allocations: 4 kB / 425.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008608/0.2622, allocations: 184.7 kB / 425.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/0.2624, allocations: 43.97 kB / 425.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005929/0.263, allocations: 0.7318 MB / 426.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.2632, allocations: 27.69 kB / 426.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.593e-05/0.2632, allocations: 12.03 kB / 426.4 MB, free: 13.38 MB / 302.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.0001359/0.2633, allocations: 141.8 kB / 426.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.2634, allocations: 15.81 kB / 426.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006765/0.2641, allocations: 388 kB / 426.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.2641, allocations: 0 / 426.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.2641, allocations: 0 / 426.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2641, allocations: 4 kB / 426.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.2643, allocations: 349.3 kB / 427.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.2644, allocations: 3.938 kB / 427.3 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.363e-05/0.2645, allocations: 16 kB / 427.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006705/0.2651, allocations: 208.7 kB / 427.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.2652, allocations: 4 kB / 427.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005356/0.2657, allocations: 0.7318 MB / 428.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.2657, allocations: 4 kB / 428.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005383/0.2663, allocations: 381.1 kB / 428.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.2663, allocations: 96.8 kB / 428.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.2663, allocations: 11.91 kB / 428.7 MB, free: 10.92 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001433/0.2665, allocations: 15.92 kB / 428.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.2666, allocations: 15.98 kB / 428.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.2666, allocations: 15.98 kB / 428.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.136e-05/0.2667, allocations: 128 kB / 428.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2667, allocations: 0 / 428.9 MB, free: 10.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002784/0.267, allocations: 56 kB / 428.9 MB, free: 10.7 MB / 302.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.0001649/0.2672, allocations: 127.2 kB / 429 MB, free: 10.56 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006414/0.2678, allocations: 303.8 kB / 429.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2678, allocations: 0 / 429.3 MB, free: 10.27 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004523/0.2683, allocations: 184 kB / 429.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.2685, allocations: 19.94 kB / 429.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000719/0.2693, allocations: 399.8 kB / 429.9 MB, free: 9.648 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.2694, allocations: 0.7249 MB / 430.7 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.263e-05/0.2695, allocations: 21.62 kB / 430.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.2696, allocations: 23.42 kB / 430.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2696, allocations: 0 / 430.7 MB, free: 8.852 MB / 302.1 MB Notification: Performance of Templates: time 0.005894/0.2755, allocations: 3.687 MB / 434.4 MB, free: 5.184 MB / 302.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 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1)