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.001372/0.001372, allocations: 104.5 kB / 16.98 MB, free: 6.137 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.001483/0.001483, allocations: 191.4 kB / 17.91 MB, free: 5.234 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.375/1.375, allocations: 222.9 MB / 241.6 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04998/0.04998, allocations: 8.099 MB / 299.9 MB, free: 6.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 59.91 kB / 362.4 MB, free: 8.133 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2163, allocations: 51.51 MB / 413.9 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002149/0.2185, allocations: 1.445 MB / 415.4 MB, free: 24.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.2199, allocations: 1.442 MB / 416.8 MB, free: 22.69 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.22, allocations: 4 kB / 416.8 MB, free: 22.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002982/0.2203, allocations: 107.5 kB / 416.9 MB, free: 22.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.2207, allocations: 163.1 kB / 417.1 MB, free: 22.42 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.2219, allocations: 0.898 MB / 418 MB, free: 21.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.2221, allocations: 191.2 kB / 418.2 MB, free: 21.33 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.2222, allocations: 53.66 kB / 418.2 MB, free: 21.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.235e-05/0.2223, allocations: 79.64 kB / 418.3 MB, free: 21.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.2224, allocations: 103.6 kB / 418.4 MB, free: 21.1 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.2224, allocations: 16 kB / 418.4 MB, free: 21.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003162/0.2228, allocations: 227.8 kB / 418.6 MB, free: 20.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.809e-05/0.2228, allocations: 43.83 kB / 418.7 MB, free: 20.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.279e-05/0.2229, allocations: 83.55 kB / 418.8 MB, free: 20.73 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003284/0.2232, allocations: 368.9 kB / 419.1 MB, free: 20.38 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2232, allocations: 0 / 419.1 MB, free: 20.38 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2233, allocations: 0 / 419.1 MB, free: 20.38 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.258e-06/0.2233, allocations: 0 / 419.1 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.001744/0.225, allocations: 0.7094 MB / 419.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.2251, allocations: 12.03 kB / 419.8 MB, free: 19.6 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.472e-05/0.2251, allocations: 24.66 kB / 419.9 MB, free: 19.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.2254, allocations: 242.8 kB / 420.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/0.2254, allocations: 63.97 kB / 420.2 MB, free: 19.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.2255, allocations: 16.38 kB / 420.2 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.2258, allocations: 222.5 kB / 420.4 MB, free: 18.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.2258, allocations: 3.938 kB / 420.4 MB, free: 18.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.517e-05/0.2258, allocations: 8 kB / 420.4 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.2259, allocations: 7.938 kB / 420.4 MB, free: 18.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002702/0.2261, allocations: 199.9 kB / 420.6 MB, free: 18.78 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001164/0.2273, allocations: 0.9086 MB / 421.5 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00049/0.2278, allocations: 234.5 kB / 421.7 MB, free: 17.55 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.228, allocations: 117.1 kB / 421.9 MB, free: 17.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001084/0.2281, allocations: 97.02 kB / 421.9 MB, free: 17.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.2284, allocations: 165 kB / 422.1 MB, free: 17.15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.2284, allocations: 0 / 422.1 MB, free: 17.15 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001529/0.2299, allocations: 0.6106 MB / 422.7 MB, free: 16.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.23, allocations: 55.41 kB / 422.8 MB, free: 16.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.2301, allocations: 180.9 kB / 423 MB, free: 16.26 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/0.2301, allocations: 33.7 kB / 423 MB, free: 16.22 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.2302, allocations: 124.2 kB / 423.1 MB, free: 16.09 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.893e-05/0.2302, allocations: 70.91 kB / 423.2 MB, free: 16.02 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.767e-05/0.2303, allocations: 57.97 kB / 423.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 4.455e-05/0.2304, allocations: 330.8 kB / 423.6 MB, free: 15.63 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/0.2305, allocations: 116.5 kB / 423.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001726/0.2307, allocations: 161.3 kB / 423.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/0.2311, allocations: 280.2 kB / 424.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2311, allocations: 0 / 424.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009048/0.232, allocations: 482.4 kB / 424.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.232, allocations: 8 kB / 424.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.232, allocations: 3.938 kB / 424.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008381/0.2329, allocations: 200.6 kB / 424.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.233, allocations: 35.98 kB / 424.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004899/0.2335, allocations: 0.7318 MB / 425.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.2337, allocations: 31.72 kB / 425.6 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.2338, allocations: 11.94 kB / 425.6 MB, free: 13.53 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 9.168e-05/0.2339, allocations: 133.8 kB / 425.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.224e-05/0.2339, allocations: 15.81 kB / 425.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006272/0.2345, allocations: 389.6 kB / 426.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2346, allocations: 4 kB / 426.1 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2346, allocations: 4 kB / 426.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.2346, allocations: 3.984 kB / 426.1 MB, free: 12.97 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/0.2348, allocations: 337.3 kB / 426.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2348, allocations: 3.938 kB / 426.5 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.2349, allocations: 27.98 kB / 426.5 MB, free: 12.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007023/0.2356, allocations: 196.7 kB / 426.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.766e-05/0.2357, allocations: 4 kB / 426.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005532/0.2362, allocations: 0.7319 MB / 427.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2362, allocations: 4 kB / 427.4 MB, free: 11.6 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005471/0.2368, allocations: 385.1 kB / 427.8 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.848e-05/0.2368, allocations: 92.86 kB / 427.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.686e-05/0.2369, allocations: 7.906 kB / 427.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.237, allocations: 19.92 kB / 427.9 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.556e-05/0.2371, allocations: 15.97 kB / 427.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.2371, allocations: 8 kB / 427.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.034e-05/0.2372, allocations: 128 kB / 428.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2372, allocations: 0 / 428.1 MB, free: 10.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002825/0.2375, allocations: 63.98 kB / 428.1 MB, free: 10.86 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.0001544/0.2377, allocations: 123.2 kB / 428.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006565/0.2383, allocations: 319.8 kB / 428.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.2383, allocations: 96 / 428.6 MB, free: 10.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004659/0.2388, allocations: 183.7 kB / 428.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.2391, allocations: 20 kB / 428.8 MB, free: 10.21 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006709/0.2398, allocations: 429.6 kB / 429.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.2399, allocations: 0.7249 MB / 429.9 MB, free: 9.012 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.916e-05/0.2399, allocations: 27.44 kB / 429.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2399, allocations: 0 / 429.9 MB, free: 8.984 MB / 302.1 MB Notification: Performance of Templates: time 0.004066/0.244, allocations: 3.38 MB / 433.3 MB, free: 5.605 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)