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.001314/0.001314, allocations: 83.34 kB / 20.56 MB, free: 1.242 MB / 14.72 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.001404/0.001404, allocations: 167.2 kB / 23.81 MB, free: 4.43 MB / 14.72 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.398/1.398, allocations: 177.2 MB / 204.2 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] 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.03535/0.03535, allocations: 4.492 MB / 265.1 MB, free: 12.2 MB / 254.1 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 0.001618/0.001618, allocations: 51.92 kB / 390.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09717/0.09879, allocations: 54.99 MB / 445.6 MB, free: 6.801 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002679/0.1015, allocations: 1.334 MB / 446.9 MB, free: 5.469 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.1034, allocations: 1.435 MB / 448.4 MB, free: 4.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.802e-05/0.1035, allocations: 4 kB / 448.4 MB, free: 4.016 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003201/0.1038, allocations: 107.4 kB / 448.5 MB, free: 3.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004186/0.1042, allocations: 155.2 kB / 448.6 MB, free: 3.758 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.1059, allocations: 0.8285 MB / 449.4 MB, free: 2.926 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.1061, allocations: 183.2 kB / 449.6 MB, free: 2.746 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.1063, allocations: 33.78 kB / 449.7 MB, free: 2.711 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.1064, allocations: 83.66 kB / 449.7 MB, free: 2.629 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001752/0.1065, allocations: 91.59 kB / 449.8 MB, free: 2.539 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.757e-05/0.1066, allocations: 19.94 kB / 449.8 MB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003925/0.107, allocations: 227.8 kB / 450.1 MB, free: 2.297 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.253e-05/0.107, allocations: 35.91 kB / 450.1 MB, free: 2.262 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.075e-05/0.1071, allocations: 75.58 kB / 450.2 MB, free: 2.188 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004927/0.1076, allocations: 362.8 kB / 450.5 MB, free: 1.832 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1076, allocations: 4 kB / 450.5 MB, free: 1.828 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1076, allocations: 0 / 450.5 MB, free: 1.828 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.187e-06/0.1076, allocations: 0 / 450.5 MB, free: 1.828 MB / 414.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.002097/0.1097, allocations: 0.6452 MB / 451.2 MB, free: 1.148 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1098, allocations: 8.031 kB / 451.2 MB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.389e-05/0.1098, allocations: 20.84 kB / 451.2 MB, free: 1.121 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.1101, allocations: 177.5 kB / 451.4 MB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.1102, allocations: 101.6 kB / 451.5 MB, free: 0.8086 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.258e-05/0.1103, allocations: 12.38 kB / 451.5 MB, free: 0.7969 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.1107, allocations: 277.7 kB / 451.8 MB, free: 0.5078 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.1107, allocations: 3.938 kB / 451.8 MB, free: 0.5039 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.1107, allocations: 8 kB / 451.8 MB, free: 0.4961 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.1107, allocations: 4 kB / 451.8 MB, free: 0.4922 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003696/0.1111, allocations: 211.9 kB / 452 MB, free: 292 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.1126, allocations: 0.6792 MB / 452.7 MB, free: 15.57 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006016/0.1132, allocations: 210.5 kB / 452.9 MB, free: 15.36 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001949/0.1134, allocations: 101.2 kB / 453 MB, free: 15.26 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.577e-05/0.1135, allocations: 19.94 kB / 453 MB, free: 15.24 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003822/0.1138, allocations: 226.7 kB / 453.2 MB, free: 14.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.392e-06/0.1138, allocations: 0 / 453.2 MB, free: 14.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.001816/0.1157, allocations: 0.5361 MB / 453.8 MB, free: 14.45 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.1157, allocations: 55.41 kB / 453.8 MB, free: 14.38 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.1159, allocations: 178.2 kB / 454 MB, free: 14.2 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.1159, allocations: 29.7 kB / 454 MB, free: 14.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.069e-05/0.116, allocations: 136.4 kB / 454.1 MB, free: 14.03 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.239e-05/0.1161, allocations: 79.36 kB / 454.2 MB, free: 13.95 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1162, allocations: 53.98 kB / 454.3 MB, free: 13.89 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.1164, allocations: 326.8 kB / 454.6 MB, free: 13.56 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.1166, allocations: 116.5 kB / 454.7 MB, free: 13.45 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.1168, allocations: 165.9 kB / 454.9 MB, free: 13.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004681/0.1173, allocations: 284.1 kB / 455.1 MB, free: 12.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.1173, allocations: 4 kB / 455.1 MB, free: 12.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001144/0.1185, allocations: 473.9 kB / 455.6 MB, free: 12.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.1185, allocations: 11.98 kB / 455.6 MB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1185, allocations: 0 / 455.6 MB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009444/0.1194, allocations: 196.8 kB / 455.8 MB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.1196, allocations: 35.98 kB / 455.9 MB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008045/0.1204, allocations: 0.7318 MB / 456.6 MB, free: 11.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.1206, allocations: 19.89 kB / 456.6 MB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.1206, allocations: 8 kB / 456.6 MB, free: 11.47 MB / 430.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.0001496/0.1208, allocations: 145.8 kB / 456.8 MB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.1208, allocations: 19.91 kB / 456.8 MB, free: 11.3 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000813/0.1216, allocations: 382.4 kB / 457.1 MB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1216, allocations: 4 kB / 457.1 MB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1216, allocations: 0 / 457.1 MB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.1216, allocations: 3.938 kB / 457.2 MB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003061/0.1219, allocations: 241 kB / 457.4 MB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.1219, allocations: 3.938 kB / 457.4 MB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.1221, allocations: 19.98 kB / 457.4 MB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008038/0.1229, allocations: 200.6 kB / 457.6 MB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.1229, allocations: 11.92 kB / 457.6 MB, free: 10.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008592/0.1237, allocations: 0.7398 MB / 458.4 MB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1237, allocations: 0 / 458.4 MB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008161/0.1246, allocations: 377.5 kB / 458.7 MB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.1246, allocations: 19.91 kB / 458.7 MB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.1246, allocations: 7.922 kB / 458.8 MB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.1248, allocations: 12 kB / 458.8 MB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.1249, allocations: 27.75 kB / 458.8 MB, free: 9.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.379e-05/0.1249, allocations: 8 kB / 458.8 MB, free: 9.184 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001456/0.125, allocations: 132 kB / 458.9 MB, free: 9.055 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.125, allocations: 0 / 458.9 MB, free: 9.055 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003073/0.1253, allocations: 56 kB / 459 MB, free: 9 MB / 430.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.0001878/0.1255, allocations: 115.3 kB / 459.1 MB, free: 8.879 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008007/0.1263, allocations: 283.8 kB / 459.4 MB, free: 8.602 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1263, allocations: 4.25 kB / 459.4 MB, free: 8.598 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005446/0.1269, allocations: 158.7 kB / 459.5 MB, free: 8.445 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.1271, allocations: 20 kB / 459.6 MB, free: 8.426 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009398/0.1281, allocations: 439.8 kB / 460 MB, free: 7.973 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001129/0.1282, allocations: 117 kB / 460.1 MB, free: 7.84 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 9.175e-05/0.1283, allocations: 21.72 kB / 460.1 MB, free: 7.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.24e-05/0.1283, allocations: 24.5 kB / 460.1 MB, free: 7.797 MB / 430.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1283, allocations: 0 / 460.1 MB, free: 7.797 MB / 430.1 MB Notification: Performance of Templates: time 0.007682/0.136, allocations: 3.324 MB / 463.5 MB, free: 4.504 MB / 430.1 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=480 -s ida -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.4656195000279695] Failed to read output from testmodel.py, exit status != 0: 0.1447668169857934 0.159629343 0.048861848000000006 Calling exit ...