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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009669/0.0009669, allocations: 80.06 kB / 20.76 MB, free: 3.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 173 kB / 24.19 MB, free: 312 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.046/1.046, allocations: 177.1 MB / 204.6 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.02578/0.02578, allocations: 4.49 MB / 265.6 MB, free: 8.453 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") translateModel(PowerSysPro.Examples.DegradedModeForLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 283.7 MB, free: 6.301 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.234e-05/1.474e-05, allocations: 6.312 kB / 283.7 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.001805/0.001819, allocations: 1.463 MB / 285.2 MB, free: 4.828 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001472/0.003292, allocations: 1.485 MB / 286.7 MB, free: 3.328 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.003355, allocations: 8 kB / 286.7 MB, free: 3.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002768/0.003632, allocations: 111.3 kB / 286.8 MB, free: 3.211 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002999/0.003932, allocations: 163 kB / 286.9 MB, free: 3.051 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009226/0.004855, allocations: 0.836 MB / 287.8 MB, free: 2.211 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002285/0.005083, allocations: 195 kB / 288 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.005189, allocations: 41.81 kB / 288 MB, free: 1.984 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.005289, allocations: 111.7 kB / 288.1 MB, free: 1.875 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001411/0.00543, allocations: 79.77 kB / 288.2 MB, free: 1.797 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.005458, allocations: 16 kB / 288.2 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003225/0.005781, allocations: 235.5 kB / 288.4 MB, free: 1.551 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.005818, allocations: 43.83 kB / 288.5 MB, free: 1.508 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/0.005874, allocations: 59.83 kB / 288.5 MB, free: 1.449 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004188/0.006293, allocations: 354.9 kB / 288.9 MB, free: 1.102 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.006298, allocations: 4 kB / 288.9 MB, free: 1.098 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.006299, allocations: 0 / 288.9 MB, free: 1.098 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.006305, allocations: 0 / 288.9 MB, free: 1.098 MB / 266.7 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.001239/0.007544, allocations: 0.6322 MB / 289.5 MB, free: 448 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.007585, allocations: 8.031 kB / 289.5 MB, free: 440 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.007654, allocations: 32.92 kB / 289.6 MB, free: 408 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000221/0.007875, allocations: 154.2 kB / 289.7 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.996e-05/0.007965, allocations: 93.67 kB / 289.8 MB, free: 112 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.007989, allocations: 16.38 kB / 289.8 MB, free: 96 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1232/0.1312, allocations: 196.5 kB / 290 MB, free: 20.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.1312, allocations: 192 / 290 MB, free: 20.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.1312, allocations: 8.672 kB / 290 MB, free: 20.38 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.1313, allocations: 5.094 kB / 290 MB, free: 20.38 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001775/0.1314, allocations: 63.97 kB / 290.1 MB, free: 20.38 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/0.1325, allocations: 463.4 kB / 290.5 MB, free: 20.22 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003231/0.1328, allocations: 181.7 kB / 290.7 MB, free: 20.15 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.276e-05/0.1329, allocations: 43.41 kB / 290.8 MB, free: 20.14 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.747e-05/0.1329, allocations: 9.359 kB / 290.8 MB, free: 20.14 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.1331, allocations: 163 kB / 290.9 MB, free: 20.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.593e-06/0.1331, allocations: 0 / 290.9 MB, free: 20.03 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008634/0.134, allocations: 306.3 kB / 291.2 MB, free: 19.98 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.134, allocations: 55.47 kB / 291.3 MB, free: 19.92 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.1342, allocations: 174.3 kB / 291.5 MB, free: 19.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.1342, allocations: 30.95 kB / 291.5 MB, free: 19.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.1343, allocations: 126.1 kB / 291.6 MB, free: 19.67 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.374e-05/0.1343, allocations: 80.48 kB / 291.7 MB, free: 19.63 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.554e-05/0.1344, allocations: 60 kB / 291.7 MB, free: 19.61 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.204e-05/0.1345, allocations: 328.1 kB / 292.1 MB, free: 19.3 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.1346, allocations: 45.17 kB / 292.1 MB, free: 19.29 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.1347, allocations: 93.05 kB / 292.2 MB, free: 19.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.1349, allocations: 156.8 kB / 292.4 MB, free: 19.2 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.1349, allocations: 0 / 292.4 MB, free: 19.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000704/0.1356, allocations: 274.3 kB / 292.6 MB, free: 19.15 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.1357, allocations: 6 kB / 292.6 MB, free: 19.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.365e-06/0.1357, allocations: 1.812 kB / 292.6 MB, free: 19.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007014/0.1364, allocations: 143.2 kB / 292.8 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.1365, allocations: 45.17 kB / 292.8 MB, free: 19.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003529/0.1369, allocations: 0.5838 MB / 293.4 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.512e-05/0.137, allocations: 25.27 kB / 293.4 MB, free: 18.62 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.137, allocations: 6.406 kB / 293.4 MB, free: 18.62 MB / 266.7 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 6.918e-05/0.1371, allocations: 134.2 kB / 293.6 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.738e-05/0.1371, allocations: 18.84 kB / 293.6 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003036/0.1374, allocations: 199.1 kB / 293.8 MB, free: 18.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.1374, allocations: 6.062 kB / 293.8 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.1374, allocations: 1.156 kB / 293.8 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1374, allocations: 1.453 kB / 293.8 MB, free: 18.45 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.1376, allocations: 160.8 kB / 293.9 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1376, allocations: 0.6094 kB / 293.9 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.967e-05/0.1376, allocations: 26.11 kB / 294 MB, free: 18.38 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003957/0.138, allocations: 150 kB / 294.1 MB, free: 18.37 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.138, allocations: 5.703 kB / 294.1 MB, free: 18.37 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002778/0.1383, allocations: 0.6055 MB / 294.7 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1383, allocations: 1.531 kB / 294.7 MB, free: 17.84 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00026/0.1386, allocations: 209.8 kB / 294.9 MB, free: 17.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.274e-05/0.1386, allocations: 16.75 kB / 294.9 MB, free: 17.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1386, allocations: 6.328 kB / 295 MB, free: 17.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.539e-05/0.1387, allocations: 10.34 kB / 295 MB, free: 17.75 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.1387, allocations: 14.28 kB / 295 MB, free: 17.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.1387, allocations: 7.047 kB / 295 MB, free: 17.75 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.855e-05/0.1388, allocations: 45.53 kB / 295 MB, free: 17.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1388, allocations: 1.094 kB / 295 MB, free: 17.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001704/0.139, allocations: 60.81 kB / 295.1 MB, free: 17.74 MB / 266.7 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.0001289/0.1391, allocations: 98.34 kB / 295.2 MB, free: 17.67 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003222/0.1394, allocations: 178 kB / 295.4 MB, free: 17.65 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.1394, allocations: 1.062 kB / 295.4 MB, free: 17.65 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.1396, allocations: 113.9 kB / 295.5 MB, free: 17.64 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001316/0.1398, allocations: 34.22 kB / 295.5 MB, free: 17.63 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006978/0.1405, allocations: 384.1 kB / 295.9 MB, free: 17.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.338e-05/0.1405, allocations: 74.2 kB / 296 MB, free: 17.36 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.479e-05/0.1406, allocations: 26.08 kB / 296 MB, free: 17.36 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.832e-05/0.1406, allocations: 76.89 kB / 296.1 MB, free: 17.31 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.1406, allocations: 0 / 296.1 MB, free: 17.31 MB / 266.7 MB Notification: Performance of Templates: time 0.00555/0.1462, allocations: 3.636 MB / 299.7 MB, free: 16.92 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.7767511308193207]