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.001044/0.001044, allocations: 104.2 kB / 16.02 MB, free: 6.312 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.0009979/0.000998, allocations: 191.1 kB / 16.95 MB, free: 6.137 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.367/1.367, allocations: 222.9 MB / 240.6 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.07781/0.07781, allocations: 8.1 MB / 298.9 MB, free: 6.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.91 kB / 361.2 MB, free: 8.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2431, allocations: 51.52 MB / 412.7 MB, free: 25.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002518/0.2457, allocations: 1.493 MB / 414.2 MB, free: 24.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001528/0.2472, allocations: 1.43 MB / 415.7 MB, free: 22.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.749e-05/0.2473, allocations: 4 kB / 415.7 MB, free: 22.83 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003048/0.2476, allocations: 99.53 kB / 415.8 MB, free: 22.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.248, allocations: 143.4 kB / 415.9 MB, free: 22.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.2491, allocations: 0.8484 MB / 416.7 MB, free: 21.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.2494, allocations: 195.1 kB / 416.9 MB, free: 21.55 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.2495, allocations: 53.64 kB / 417 MB, free: 21.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.119e-05/0.2496, allocations: 75.77 kB / 417.1 MB, free: 21.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.2497, allocations: 103.5 kB / 417.2 MB, free: 21.32 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.2498, allocations: 16 kB / 417.2 MB, free: 21.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.2501, allocations: 223.8 kB / 417.4 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.683e-05/0.2501, allocations: 43.77 kB / 417.4 MB, free: 21.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.225e-05/0.2502, allocations: 95.58 kB / 417.5 MB, free: 20.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.2506, allocations: 361 kB / 417.9 MB, free: 20.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2506, allocations: 0 / 417.9 MB, free: 20.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.2506, allocations: 0 / 417.9 MB, free: 20.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.2506, allocations: 0 / 417.9 MB, free: 20.6 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.001824/0.2525, allocations: 0.7016 MB / 418.6 MB, free: 19.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.2525, allocations: 12.03 kB / 418.6 MB, free: 19.83 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.2526, allocations: 24.66 kB / 418.6 MB, free: 19.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.2528, allocations: 243.3 kB / 418.9 MB, free: 19.54 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.293e-05/0.2529, allocations: 71.95 kB / 418.9 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.888e-05/0.2529, allocations: 20.36 kB / 419 MB, free: 19.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003702/0.2533, allocations: 214.5 kB / 419.2 MB, free: 19.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.2533, allocations: 3.938 kB / 419.2 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.89e-05/0.2534, allocations: 8 kB / 419.2 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.2534, allocations: 4 kB / 419.2 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.2537, allocations: 203.8 kB / 419.4 MB, free: 19 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.255, allocations: 0.9087 MB / 420.3 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005299/0.2555, allocations: 242.5 kB / 420.5 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001576/0.2557, allocations: 113.1 kB / 420.6 MB, free: 17.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.2558, allocations: 89.09 kB / 420.7 MB, free: 17.55 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004126/0.2563, allocations: 168.6 kB / 420.9 MB, free: 17.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.814e-06/0.2563, allocations: 0 / 420.9 MB, free: 17.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.00167/0.2579, allocations: 0.6063 MB / 421.5 MB, free: 16.75 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.258, allocations: 59.34 kB / 421.5 MB, free: 16.68 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.2581, allocations: 175.3 kB / 421.7 MB, free: 16.49 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.2582, allocations: 33.7 kB / 421.8 MB, free: 16.45 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.222e-05/0.2582, allocations: 128.2 kB / 421.9 MB, free: 16.32 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.537e-05/0.2583, allocations: 74.91 kB / 421.9 MB, free: 16.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.26e-05/0.2584, allocations: 57.91 kB / 422 MB, free: 16.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.731e-05/0.2584, allocations: 330.8 kB / 422.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001628/0.2586, allocations: 120.5 kB / 422.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.2588, allocations: 158.1 kB / 422.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003225/0.2591, allocations: 281.2 kB / 422.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2591, allocations: 0 / 422.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009194/0.2601, allocations: 477.9 kB / 423.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.2601, allocations: 8 kB / 423.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2601, allocations: 3.984 kB / 423.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008955/0.261, allocations: 192.7 kB / 423.5 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001759/0.2612, allocations: 51.86 kB / 423.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005229/0.2617, allocations: 0.7202 MB / 424.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001914/0.2619, allocations: 31.72 kB / 424.3 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.438e-05/0.262, allocations: 12 kB / 424.4 MB, free: 13.76 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.0001197/0.2621, allocations: 129.8 kB / 424.5 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.2621, allocations: 19.81 kB / 424.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006396/0.2628, allocations: 386.4 kB / 424.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.2628, allocations: 4 kB / 424.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.698e-06/0.2628, allocations: 0 / 424.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2628, allocations: 3.984 kB / 424.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002173/0.263, allocations: 337.3 kB / 425.2 MB, free: 12.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.263, allocations: 3.938 kB / 425.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.535e-05/0.2631, allocations: 31.92 kB / 425.3 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007219/0.2639, allocations: 192.8 kB / 425.4 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.2639, allocations: 12 kB / 425.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005656/0.2645, allocations: 0.7358 MB / 426.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2645, allocations: 3.984 kB / 426.2 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005575/0.265, allocations: 377.4 kB / 426.6 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.2651, allocations: 92.86 kB / 426.7 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.2651, allocations: 11.89 kB / 426.7 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.2654, allocations: 15.94 kB / 426.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.162e-05/0.2654, allocations: 19.97 kB / 426.7 MB, free: 11.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.2655, allocations: 4 kB / 426.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.724e-05/0.2656, allocations: 137.6 kB / 426.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2656, allocations: 0 / 426.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002952/0.2659, allocations: 56 kB / 426.9 MB, free: 11.09 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.0001743/0.2661, allocations: 119.2 kB / 427 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000675/0.2667, allocations: 313.5 kB / 427.3 MB, free: 10.66 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2668, allocations: 3.938 kB / 427.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004753/0.2672, allocations: 183.7 kB / 427.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.2675, allocations: 19.94 kB / 427.5 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/0.2682, allocations: 472 kB / 428 MB, free: 9.965 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001478/0.2684, allocations: 0.7249 MB / 428.7 MB, free: 9.215 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.2685, allocations: 21.53 kB / 428.7 MB, free: 9.191 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.223e-05/0.2685, allocations: 19.44 kB / 428.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2686, allocations: 0 / 428.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of Templates: time 0.005795/0.2744, allocations: 3.664 MB / 432.4 MB, free: 5.527 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)