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.001108/0.001108, allocations: 102.3 kB / 16.31 MB, free: 6.441 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.001215/0.001215, allocations: 188 kB / 17.24 MB, free: 5.938 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.387/1.387, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05234/0.05234, allocations: 8.095 MB / 299.2 MB, free: 6.734 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 59.91 kB / 361.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.273, allocations: 51.51 MB / 413.2 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002931/0.2759, allocations: 1.448 MB / 414.7 MB, free: 24.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002011/0.278, allocations: 1.438 MB / 416.1 MB, free: 22.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/0.2782, allocations: 7.938 kB / 416.1 MB, free: 22.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004737/0.2787, allocations: 111.4 kB / 416.2 MB, free: 22.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005815/0.2793, allocations: 155.2 kB / 416.4 MB, free: 22.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.2807, allocations: 0.8985 MB / 417.3 MB, free: 21.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002597/0.281, allocations: 195.1 kB / 417.5 MB, free: 21.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.2811, allocations: 49.66 kB / 417.5 MB, free: 21.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.88e-05/0.2812, allocations: 79.77 kB / 417.6 MB, free: 21.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.2814, allocations: 103.5 kB / 417.7 MB, free: 21.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.139e-05/0.2814, allocations: 16 kB / 417.7 MB, free: 21.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.2819, allocations: 227.8 kB / 418 MB, free: 20.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.261e-05/0.2819, allocations: 39.8 kB / 418 MB, free: 20.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.17e-05/0.282, allocations: 91.58 kB / 418.1 MB, free: 20.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000411/0.2824, allocations: 360.9 kB / 418.4 MB, free: 20.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2824, allocations: 0 / 418.4 MB, free: 20.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2824, allocations: 0 / 418.4 MB, free: 20.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.2825, allocations: 0 / 418.4 MB, free: 20.38 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.001786/0.2842, allocations: 0.7055 MB / 419.1 MB, free: 19.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.2843, allocations: 8.031 kB / 419.1 MB, free: 19.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.623e-05/0.2844, allocations: 24.66 kB / 419.2 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.2846, allocations: 240 kB / 419.4 MB, free: 19.32 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.371e-05/0.2847, allocations: 67.97 kB / 419.5 MB, free: 19.24 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.917e-05/0.2847, allocations: 16.38 kB / 419.5 MB, free: 19.22 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.285, allocations: 222.5 kB / 419.7 MB, free: 19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/0.2851, allocations: 7.922 kB / 419.7 MB, free: 18.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.456e-05/0.2851, allocations: 7.938 kB / 419.7 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.2851, allocations: 8 kB / 419.7 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00028/0.2854, allocations: 203.8 kB / 419.9 MB, free: 18.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.2867, allocations: 0.9126 MB / 420.8 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000506/0.2872, allocations: 234.5 kB / 421.1 MB, free: 17.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/0.2874, allocations: 113.1 kB / 421.2 MB, free: 17.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001125/0.2875, allocations: 81.11 kB / 421.3 MB, free: 17.34 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003543/0.2879, allocations: 173 kB / 421.4 MB, free: 17.16 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.2879, allocations: 4 kB / 421.4 MB, free: 17.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001564/0.2894, allocations: 0.6067 MB / 422 MB, free: 16.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.553e-05/0.2895, allocations: 51.41 kB / 422.1 MB, free: 16.46 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001487/0.2896, allocations: 181.6 kB / 422.3 MB, free: 16.27 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.177e-05/0.2897, allocations: 29.7 kB / 422.3 MB, free: 16.23 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.2897, allocations: 132.2 kB / 422.4 MB, free: 16.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.2898, allocations: 74.91 kB / 422.5 MB, free: 16.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.781e-05/0.2899, allocations: 53.97 kB / 422.5 MB, free: 15.97 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.369e-05/0.2899, allocations: 326.8 kB / 422.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.2901, allocations: 124.5 kB / 423 MB, free: 15.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.2903, allocations: 158.2 kB / 423.1 MB, free: 15.35 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/0.2906, allocations: 280.2 kB / 423.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.2907, allocations: 0 / 423.4 MB, free: 15.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009117/0.2916, allocations: 486.4 kB / 423.9 MB, free: 14.58 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.2916, allocations: 4 kB / 423.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.2916, allocations: 3.984 kB / 423.9 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008669/0.2925, allocations: 196.6 kB / 424.1 MB, free: 14.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.2927, allocations: 47.91 kB / 424.1 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005382/0.2932, allocations: 0.7241 MB / 424.9 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.2934, allocations: 27.69 kB / 424.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.2934, allocations: 16.03 kB / 424.9 MB, free: 13.54 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.0001033/0.2936, allocations: 137.8 kB / 425 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.2936, allocations: 19.81 kB / 425.1 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006453/0.2942, allocations: 380 kB / 425.4 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.2943, allocations: 4 kB / 425.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2943, allocations: 4 kB / 425.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2943, allocations: 0 / 425.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002284/0.2945, allocations: 341.3 kB / 425.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.2945, allocations: 7.938 kB / 425.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.326e-05/0.2946, allocations: 19.94 kB / 425.8 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006991/0.2953, allocations: 208.7 kB / 426 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.87e-05/0.2954, allocations: 4 kB / 426 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005794/0.2959, allocations: 0.728 MB / 426.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.296, allocations: 0 / 426.7 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005695/0.2965, allocations: 385.1 kB / 427.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.883e-05/0.2966, allocations: 92.86 kB / 427.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.773e-05/0.2966, allocations: 11.91 kB / 427.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.2968, allocations: 15.92 kB / 427.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.201e-05/0.2969, allocations: 19.97 kB / 427.2 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.709e-05/0.2969, allocations: 4 kB / 427.3 MB, free: 11.05 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.721e-05/0.297, allocations: 140.2 kB / 427.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.297, allocations: 0 / 427.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.2973, allocations: 64 kB / 427.5 MB, free: 10.85 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.0001637/0.2975, allocations: 123.2 kB / 427.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006851/0.2981, allocations: 311.8 kB / 427.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.2982, allocations: 0 / 427.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004771/0.2986, allocations: 179.7 kB / 428.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.2989, allocations: 29.52 kB / 428.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007192/0.2996, allocations: 403.8 kB / 428.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001278/0.2998, allocations: 0.7211 MB / 429.2 MB, free: 9.051 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.6e-05/0.2999, allocations: 33.45 kB / 429.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.147e-05/0.2999, allocations: 19.44 kB / 429.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2999, allocations: 0 / 429.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of Templates: time 0.006219/0.3062, allocations: 3.668 MB / 432.9 MB, free: 5.344 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)