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.001256/0.001256, allocations: 103.5 kB / 16.57 MB, free: 6.262 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.001077/0.001077, allocations: 195.6 kB / 17.49 MB, free: 5.875 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.399/1.399, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05168/0.05168, allocations: 8.092 MB / 299.4 MB, free: 6.926 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00221/0.002209, allocations: 63.91 kB / 361.7 MB, free: 8.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2654/0.2676, allocations: 51.52 MB / 413.2 MB, free: 25.96 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002307/0.27, allocations: 1.497 MB / 414.7 MB, free: 24.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.2714, allocations: 1.442 MB / 416.1 MB, free: 23.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/0.2714, allocations: 4 kB / 416.1 MB, free: 23 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.2717, allocations: 91.66 kB / 416.2 MB, free: 22.91 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.2721, allocations: 147.4 kB / 416.4 MB, free: 22.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.2732, allocations: 0.8874 MB / 417.3 MB, free: 21.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000193/0.2734, allocations: 191.1 kB / 417.5 MB, free: 21.69 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.2736, allocations: 41.66 kB / 417.5 MB, free: 21.65 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.823e-05/0.2736, allocations: 79.7 kB / 417.6 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001252/0.2738, allocations: 95.59 kB / 417.7 MB, free: 21.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.776e-05/0.2738, allocations: 8 kB / 417.7 MB, free: 21.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002836/0.2741, allocations: 223.8 kB / 417.9 MB, free: 21.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.675e-05/0.2741, allocations: 39.78 kB / 417.9 MB, free: 21.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.585e-05/0.2742, allocations: 79.59 kB / 418 MB, free: 21.13 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.2744, allocations: 261.5 kB / 418.3 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2745, allocations: 0 / 418.3 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.2745, allocations: 4 kB / 418.3 MB, free: 20.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.2745, allocations: 0 / 418.3 MB, free: 20.88 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.001856/0.2763, allocations: 0.7016 MB / 419 MB, free: 20.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.2764, allocations: 15.95 kB / 419 MB, free: 20.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.108e-05/0.2765, allocations: 24.66 kB / 419 MB, free: 20.08 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.2767, allocations: 242.8 kB / 419.2 MB, free: 19.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.609e-05/0.2768, allocations: 67.97 kB / 419.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.2768, allocations: 16.38 kB / 419.3 MB, free: 19.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000358/0.2772, allocations: 226.4 kB / 419.6 MB, free: 19.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.2772, allocations: 3.938 kB / 419.6 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.56e-05/0.2772, allocations: 4 kB / 419.6 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.2772, allocations: 4 kB / 419.6 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003015/0.2776, allocations: 203.9 kB / 419.8 MB, free: 19.28 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001253/0.2788, allocations: 0.9126 MB / 420.7 MB, free: 18.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.2794, allocations: 242.4 kB / 420.9 MB, free: 18.04 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.2795, allocations: 113.1 kB / 421 MB, free: 17.93 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.2796, allocations: 81.11 kB / 421.1 MB, free: 17.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003475/0.28, allocations: 179.2 kB / 421.3 MB, free: 17.64 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.472e-06/0.28, allocations: 0 / 421.3 MB, free: 17.64 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.00164/0.2817, allocations: 0.6078 MB / 421.9 MB, free: 17.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.2817, allocations: 55.41 kB / 421.9 MB, free: 16.95 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.2819, allocations: 175.3 kB / 422.1 MB, free: 16.76 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.2819, allocations: 33.7 kB / 422.1 MB, free: 16.72 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.2819, allocations: 124.2 kB / 422.3 MB, free: 16.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.282, allocations: 82.89 kB / 422.3 MB, free: 16.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.437e-05/0.2821, allocations: 53.97 kB / 422.4 MB, free: 16.45 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.25e-05/0.2821, allocations: 330.8 kB / 422.7 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.2823, allocations: 112.5 kB / 422.8 MB, free: 16.01 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.2825, allocations: 157.4 kB / 423 MB, free: 15.84 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003555/0.2829, allocations: 277.2 kB / 423.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2829, allocations: 0 / 423.3 MB, free: 15.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009737/0.2839, allocations: 485.9 kB / 423.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2839, allocations: 4 kB / 423.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2839, allocations: 4 kB / 423.7 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009142/0.2848, allocations: 184.7 kB / 423.9 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.285, allocations: 47.91 kB / 424 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005678/0.2856, allocations: 0.724 MB / 424.7 MB, free: 14.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001942/0.2858, allocations: 31.72 kB / 424.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.382e-05/0.2859, allocations: 12 kB / 424.7 MB, free: 14.04 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.0001091/0.286, allocations: 125.8 kB / 424.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.617e-05/0.286, allocations: 15.81 kB / 424.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007151/0.2867, allocations: 395.7 kB / 425.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.2867, allocations: 0 / 425.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.2868, allocations: 4 kB / 425.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.2868, allocations: 0 / 425.3 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.287, allocations: 349.2 kB / 425.6 MB, free: 13.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2871, allocations: 3.938 kB / 425.6 MB, free: 13.1 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.987e-05/0.2872, allocations: 27.98 kB / 425.6 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007618/0.2879, allocations: 192.6 kB / 425.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.22e-05/0.288, allocations: 8 kB / 425.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005009/0.2885, allocations: 0.724 MB / 426.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2885, allocations: 0 / 426.6 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/0.2891, allocations: 381.5 kB / 426.9 MB, free: 11.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.2892, allocations: 96.86 kB / 427 MB, free: 11.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.2892, allocations: 7.984 kB / 427 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.2894, allocations: 15.94 kB / 427 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.2895, allocations: 11.97 kB / 427.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.021e-05/0.2895, allocations: 12 kB / 427.1 MB, free: 11.57 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.2896, allocations: 133.6 kB / 427.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.383e-06/0.2896, allocations: 0 / 427.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003123/0.2899, allocations: 63.84 kB / 427.3 MB, free: 11.38 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 {(3,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001828/0.2901, allocations: 111.3 kB / 427.4 MB, free: 11.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006953/0.2908, allocations: 311.9 kB / 427.7 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2908, allocations: 4 kB / 427.7 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003972/0.2912, allocations: 151.7 kB / 427.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.2915, allocations: 22.5 kB / 427.8 MB, free: 10.79 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007765/0.2923, allocations: 0.4953 MB / 428.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.2925, allocations: 0.7246 MB / 429.1 MB, free: 9.508 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.689e-05/0.2925, allocations: 19.44 kB / 429.1 MB, free: 9.488 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2925, allocations: 4 kB / 429.1 MB, free: 9.484 MB / 302.1 MB Notification: Performance of Templates: time 0.00438/0.2969, allocations: 3.367 MB / 432.5 MB, free: 6.117 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1)