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.00113/0.00113, allocations: 108.1 kB / 17.07 MB, free: 6.062 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.001114/0.001114, allocations: 194.9 kB / 18.01 MB, free: 5.152 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.339/1.339, 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.04656/0.04656, allocations: 8.093 MB / 300 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001337/0.001337, allocations: 63.91 kB / 363.2 MB, free: 7.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2146, allocations: 51.52 MB / 414.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002457/0.2171, allocations: 1.447 MB / 416.1 MB, free: 23.99 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00136/0.2185, allocations: 1.442 MB / 417.6 MB, free: 22.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.757e-05/0.2186, allocations: 3.938 kB / 417.6 MB, free: 22.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003167/0.2189, allocations: 107.5 kB / 417.7 MB, free: 22.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004123/0.2194, allocations: 162.6 kB / 417.8 MB, free: 22.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001294/0.2207, allocations: 0.9024 MB / 418.7 MB, free: 21.36 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.2209, allocations: 203.1 kB / 418.9 MB, free: 21.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.221, allocations: 45.67 kB / 419 MB, free: 21.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.811e-05/0.2211, allocations: 75.77 kB / 419.1 MB, free: 21.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.2213, allocations: 107.5 kB / 419.2 MB, free: 20.93 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.536e-05/0.2213, allocations: 12 kB / 419.2 MB, free: 20.92 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003281/0.2216, allocations: 231.8 kB / 419.4 MB, free: 20.7 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.2217, allocations: 43.78 kB / 419.4 MB, free: 20.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.25e-05/0.2218, allocations: 83.59 kB / 419.5 MB, free: 20.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003879/0.2222, allocations: 364.7 kB / 419.9 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2222, allocations: 4 kB / 419.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.2222, allocations: 0 / 419.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.641e-06/0.2222, allocations: 3.938 kB / 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.001782/0.224, allocations: 0.6977 MB / 420.6 MB, free: 19.46 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.224, allocations: 19.89 kB / 420.6 MB, free: 19.44 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.043e-05/0.2241, allocations: 24.64 kB / 420.6 MB, free: 19.42 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.2243, allocations: 240 kB / 420.9 MB, free: 19.14 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.142e-05/0.2244, allocations: 67.97 kB / 420.9 MB, free: 19.07 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.2244, allocations: 12.38 kB / 420.9 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.2247, allocations: 230.2 kB / 421.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2248, allocations: 3.938 kB / 421.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.214e-05/0.2248, allocations: 7.938 kB / 421.2 MB, free: 18.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2248, allocations: 4 kB / 421.2 MB, free: 18.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002723/0.2251, allocations: 203.9 kB / 421.4 MB, free: 18.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001142/0.2262, allocations: 0.9048 MB / 422.3 MB, free: 17.63 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004884/0.2267, allocations: 238.5 kB / 422.5 MB, free: 17.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00015/0.2269, allocations: 113.1 kB / 422.6 MB, free: 17.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.227, allocations: 85.11 kB / 422.7 MB, free: 17.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003292/0.2274, allocations: 168.8 kB / 422.9 MB, free: 17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.2274, allocations: 0 / 422.9 MB, free: 17 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001508/0.2289, allocations: 0.6143 MB / 423.5 MB, free: 16.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.2289, allocations: 51.41 kB / 423.5 MB, free: 16.29 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.2291, allocations: 184.9 kB / 423.7 MB, free: 16.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.2291, allocations: 29.7 kB / 423.8 MB, free: 16.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.023e-05/0.2292, allocations: 128.2 kB / 423.9 MB, free: 15.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.2292, allocations: 70.91 kB / 424 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.988e-05/0.2293, allocations: 57.97 kB / 424 MB, free: 15.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.578e-05/0.2293, allocations: 330.8 kB / 424.3 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.2295, allocations: 116.5 kB / 424.4 MB, free: 15.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.2297, allocations: 165.2 kB / 424.6 MB, free: 15.18 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003269/0.23, allocations: 276.2 kB / 424.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2301, allocations: 4 kB / 424.9 MB, free: 14.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009088/0.231, allocations: 486.4 kB / 425.4 MB, free: 14.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/0.231, allocations: 7.938 kB / 425.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.231, allocations: 0 / 425.4 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000867/0.2319, allocations: 192.7 kB / 425.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.232, allocations: 43.91 kB / 425.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005301/0.2326, allocations: 0.7241 MB / 426.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001809/0.2328, allocations: 35.72 kB / 426.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.2328, allocations: 8 kB / 426.4 MB, free: 13.37 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.0001193/0.2329, allocations: 137.8 kB / 426.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.297e-05/0.233, allocations: 15.81 kB / 426.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006667/0.2337, allocations: 394.2 kB / 426.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.2337, allocations: 0 / 426.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2337, allocations: 0 / 426.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2337, allocations: 0 / 426.9 MB, free: 12.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.2339, allocations: 345.3 kB / 427.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.2339, allocations: 3.938 kB / 427.2 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001013/0.234, allocations: 23.98 kB / 427.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007012/0.2348, allocations: 196.7 kB / 427.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.2348, allocations: 8 kB / 427.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005633/0.2354, allocations: 0.7319 MB / 428.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2354, allocations: 0 / 428.2 MB, free: 11.44 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.2359, allocations: 381.5 kB / 428.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.236, allocations: 92.86 kB / 428.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.236, allocations: 11.91 kB / 428.7 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.2362, allocations: 19.92 kB / 428.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.476e-05/0.2363, allocations: 15.97 kB / 428.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.2363, allocations: 8 kB / 428.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001004/0.2364, allocations: 132 kB / 428.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2364, allocations: 4 kB / 428.8 MB, free: 10.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.2367, 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.0001714/0.2369, allocations: 119.1 kB / 429 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006554/0.2375, allocations: 317.4 kB / 429.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2376, allocations: 0 / 429.3 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004731/0.238, allocations: 175.7 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.0002556/0.2383, allocations: 26.92 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.0007311/0.239, allocations: 403.9 kB / 429.9 MB, free: 9.645 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.2392, allocations: 0.721 MB / 430.6 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.116e-05/0.2393, allocations: 21.53 kB / 430.7 MB, free: 8.875 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.2393, allocations: 31.36 kB / 430.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2393, allocations: 0 / 430.7 MB, free: 8.844 MB / 302.1 MB Notification: Performance of Templates: time 0.00577/0.2451, allocations: 3.67 MB / 434.4 MB, free: 5.188 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 gbode -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1)