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.0009286/0.0009288, allocations: 89.94 kB / 16.71 MB, free: 6.617 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.001094/0.001094, allocations: 179 kB / 17.62 MB, free: 6.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.298/1.298, allocations: 223.3 MB / 241.7 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04028/0.04028, allocations: 8.093 MB / 300.9 MB, free: 6.703 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003181/0.000318, allocations: 12.19 kB / 364.1 MB, free: 7.398 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.2038, allocations: 52.51 MB / 416.6 MB, free: 25.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.001276/0.2052, allocations: 1.15 MB / 417.8 MB, free: 23.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001351/0.2065, allocations: 1.423 MB / 419.2 MB, free: 22.45 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.287e-05/0.2066, allocations: 7.938 kB / 419.2 MB, free: 22.44 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.2069, allocations: 91.67 kB / 419.3 MB, free: 22.35 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003332/0.2072, allocations: 143.4 kB / 419.5 MB, free: 22.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001182/0.2084, allocations: 0.8674 MB / 420.3 MB, free: 21.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002008/0.2086, allocations: 187.2 kB / 420.5 MB, free: 21.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.2087, allocations: 37.66 kB / 420.5 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.411e-05/0.2088, allocations: 71.7 kB / 420.6 MB, free: 21.05 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.209, allocations: 95.59 kB / 420.7 MB, free: 20.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.209, allocations: 11.94 kB / 420.7 MB, free: 20.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000328/0.2093, allocations: 211.8 kB / 420.9 MB, free: 20.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.351e-05/0.2094, allocations: 43.83 kB / 421 MB, free: 20.7 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.32e-05/0.2094, allocations: 109.2 kB / 421.1 MB, free: 20.58 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.2097, allocations: 249.5 kB / 421.3 MB, free: 20.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.2097, allocations: 0 / 421.3 MB, free: 20.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2097, allocations: 0 / 421.3 MB, free: 20.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.2097, allocations: 0 / 421.3 MB, free: 20.34 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.001801/0.2115, allocations: 0.686 MB / 422 MB, free: 19.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.2116, allocations: 11.97 kB / 422 MB, free: 19.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.606e-05/0.2117, allocations: 24.69 kB / 422 MB, free: 19.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.2119, allocations: 232 kB / 422.3 MB, free: 19.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.757e-05/0.212, allocations: 67.97 kB / 422.3 MB, free: 19.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.283e-05/0.212, allocations: 20.36 kB / 422.4 MB, free: 19.2 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000337/0.2124, allocations: 222.5 kB / 422.6 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.2124, allocations: 3.938 kB / 422.6 MB, free: 18.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.845e-05/0.2124, allocations: 4 kB / 422.6 MB, free: 18.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.2124, allocations: 8 kB / 422.6 MB, free: 18.96 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.2127, allocations: 207.8 kB / 422.8 MB, free: 18.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001218/0.2139, allocations: 0.9165 MB / 423.7 MB, free: 17.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.2145, allocations: 242.4 kB / 423.9 MB, free: 17.52 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001595/0.2146, allocations: 113.2 kB / 424.1 MB, free: 17.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.2148, allocations: 89.09 kB / 424.1 MB, free: 17.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002899/0.2151, allocations: 165 kB / 424.3 MB, free: 17.13 MB / 302.1 MB Notification: Performance of pre-optimization done (n=22): time 1.894e-06/0.2151, allocations: 4 kB / 424.3 MB, free: 17.13 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.001633/0.2167, allocations: 0.6141 MB / 424.9 MB, free: 16.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.2168, allocations: 55.41 kB / 425 MB, free: 16.42 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.2169, allocations: 175.3 kB / 425.1 MB, free: 16.23 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.217, allocations: 29.69 kB / 425.2 MB, free: 16.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.475e-05/0.2171, allocations: 136.2 kB / 425.3 MB, free: 16.06 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.2171, allocations: 78.94 kB / 425.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.2172, allocations: 25.72 kB / 425.4 MB, free: 15.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.018e-05/0.2173, allocations: 330.8 kB / 425.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.2174, allocations: 116.5 kB / 425.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.2176, allocations: 157.4 kB / 426 MB, free: 15.34 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003722/0.218, allocations: 280.2 kB / 426.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.218, allocations: 0 / 426.3 MB, free: 15.05 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009916/0.219, allocations: 481.9 kB / 426.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.2191, allocations: 8 kB / 426.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.2191, allocations: 0 / 426.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008888/0.22, allocations: 200.7 kB / 426.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001738/0.2202, allocations: 43.92 kB / 427 MB, free: 14.32 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005275/0.2207, allocations: 0.7202 MB / 427.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002035/0.2209, allocations: 31.72 kB / 427.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.2209, allocations: 12 kB / 427.8 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 0.00011/0.2211, allocations: 129.8 kB / 427.9 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.2211, allocations: 19.81 kB / 427.9 MB, free: 13.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007149/0.2218, allocations: 393 kB / 428.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.2218, allocations: 4 kB / 428.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2218, allocations: 0 / 428.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.2219, allocations: 0 / 428.3 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.2221, allocations: 337.3 kB / 428.6 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.2221, allocations: 7.922 kB / 428.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.2222, allocations: 23.94 kB / 428.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007527/0.223, allocations: 200.7 kB / 428.8 MB, free: 12.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.223, allocations: 4 kB / 428.8 MB, free: 12.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004776/0.2235, allocations: 0.728 MB / 429.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2235, allocations: 0 / 429.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.2241, allocations: 383.7 kB / 430 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.2241, allocations: 96.86 kB / 430 MB, free: 11.1 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.2242, allocations: 11.92 kB / 430.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001722/0.2244, allocations: 15.94 kB / 430.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.2244, allocations: 23.97 kB / 430.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.2245, allocations: 8 kB / 430.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.529e-05/0.2246, allocations: 133.6 kB / 430.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2246, allocations: 0 / 430.2 MB, free: 10.91 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.2249, allocations: 63.91 kB / 430.3 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 {(3,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001487/0.225, allocations: 115.2 kB / 430.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006709/0.2257, allocations: 303.8 kB / 430.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2257, allocations: 4 kB / 430.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.2261, allocations: 159.6 kB / 430.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002495/0.2264, allocations: 20 kB / 430.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007095/0.2271, allocations: 0.5219 MB / 431.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.2272, allocations: 0.7285 MB / 432.1 MB, free: 8.953 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.396e-05/0.2273, allocations: 19.44 kB / 432.2 MB, free: 8.934 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2273, allocations: 3.938 kB / 432.2 MB, free: 8.93 MB / 302.1 MB Notification: Performance of Templates: time 0.004408/0.2317, allocations: 3.367 MB / 435.5 MB, free: 5.566 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)