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.0008956/0.0008956, allocations: 80.06 kB / 20.76 MB, free: 3.73 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.0008788/0.0008788, allocations: 173 kB / 24.19 MB, free: 316 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 0.9552/0.9552, allocations: 177.1 MB / 204.6 MB, free: 5.465 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.024/0.024, allocations: 4.48 MB / 265.6 MB, free: 8.434 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 1.293e-06/1.293e-06, allocations: 0 / 283.7 MB, free: 6.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.107e-05, allocations: 2.312 kB / 283.7 MB, free: 6.316 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.001982/0.002003, allocations: 1.407 MB / 285.1 MB, free: 4.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.003605, allocations: 1.496 MB / 286.6 MB, free: 3.398 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.734e-05/0.003672, allocations: 4 kB / 286.6 MB, free: 3.395 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.003954, allocations: 115.3 kB / 286.7 MB, free: 3.281 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.004303, allocations: 155.1 kB / 286.8 MB, free: 3.129 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.005313, allocations: 0.8555 MB / 287.7 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00025/0.005563, allocations: 199 kB / 287.9 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.005659, allocations: 30.45 kB / 287.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.005761, allocations: 123.6 kB / 288 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001239/0.005885, allocations: 75.77 kB / 288.1 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.005911, allocations: 16 kB / 288.1 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002901/0.006201, allocations: 223.6 kB / 288.4 MB, free: 1.617 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.723e-05/0.006238, allocations: 43.83 kB / 288.4 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.462e-05/0.006293, allocations: 63.83 kB / 288.5 MB, free: 1.512 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003643/0.006657, allocations: 354.9 kB / 288.8 MB, free: 1.164 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.00666, allocations: 0 / 288.8 MB, free: 1.164 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.00666, allocations: 0 / 288.8 MB, free: 1.164 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.006664, allocations: 3.938 kB / 288.8 MB, free: 1.16 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.00108/0.007743, allocations: 0.6244 MB / 289.4 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.007775, allocations: 12.03 kB / 289.4 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.083e-05/0.007826, allocations: 36.91 kB / 289.5 MB, free: 472 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.007989, allocations: 157.1 kB / 289.6 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.361e-05/0.008063, allocations: 97.67 kB / 289.7 MB, free: 172 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.008086, allocations: 16.38 kB / 289.7 MB, free: 156 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1141/0.1222, allocations: 188.4 kB / 289.9 MB, free: 20.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/0.1222, allocations: 192 / 289.9 MB, free: 20.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.818e-05/0.1223, allocations: 8.094 kB / 289.9 MB, free: 20.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.1223, allocations: 7 kB / 289.9 MB, free: 20.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001481/0.1224, allocations: 62.14 kB / 290 MB, free: 20.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008232/0.1232, allocations: 461.9 kB / 290.5 MB, free: 20.36 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.1235, allocations: 182 kB / 290.6 MB, free: 20.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.979e-05/0.1236, allocations: 42.03 kB / 290.7 MB, free: 20.28 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.028e-05/0.1237, allocations: 11.77 kB / 290.7 MB, free: 20.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001568/0.1238, allocations: 164.8 kB / 290.8 MB, free: 20.16 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.853e-06/0.1238, allocations: 0.5312 kB / 290.8 MB, free: 20.16 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007475/0.1246, allocations: 306.6 kB / 291.1 MB, free: 20.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.679e-05/0.1246, allocations: 55.73 kB / 291.2 MB, free: 20.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.1247, allocations: 173 kB / 291.4 MB, free: 19.94 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.96e-05/0.1247, allocations: 31.77 kB / 291.4 MB, free: 19.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.1247, allocations: 125.3 kB / 291.5 MB, free: 19.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.1248, allocations: 77.23 kB / 291.6 MB, free: 19.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.561e-05/0.1249, allocations: 60.89 kB / 291.7 MB, free: 19.75 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 4.395e-05/0.1249, allocations: 334.6 kB / 292 MB, free: 19.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.047e-05/0.125, allocations: 41.7 kB / 292 MB, free: 19.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.468e-05/0.125, allocations: 92.3 kB / 292.1 MB, free: 19.39 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.1252, allocations: 158.9 kB / 292.3 MB, free: 19.34 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.1252, allocations: 0 / 292.3 MB, free: 19.34 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004606/0.1257, allocations: 272.8 kB / 292.5 MB, free: 19.29 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.1257, allocations: 6.438 kB / 292.5 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1257, allocations: 1.094 kB / 292.5 MB, free: 19.29 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004603/0.1261, allocations: 147.3 kB / 292.7 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1262, allocations: 43.94 kB / 292.7 MB, free: 19.28 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002852/0.1265, allocations: 0.5769 MB / 293.3 MB, free: 18.76 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.1266, allocations: 31.16 kB / 293.3 MB, free: 18.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.1267, allocations: 8.938 kB / 293.3 MB, free: 18.75 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 7.316e-05/0.1267, allocations: 123.3 kB / 293.5 MB, free: 18.64 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.1268, allocations: 21.83 kB / 293.5 MB, free: 18.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.1271, allocations: 196.1 kB / 293.7 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1271, allocations: 6.891 kB / 293.7 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.1271, allocations: 0 / 293.7 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1271, allocations: 3.266 kB / 293.7 MB, free: 18.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.1272, allocations: 167.9 kB / 293.9 MB, free: 18.51 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1272, allocations: 0 / 293.9 MB, free: 18.51 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.511e-05/0.1273, allocations: 21.94 kB / 293.9 MB, free: 18.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003825/0.1277, allocations: 147.2 kB / 294 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.1277, allocations: 8.719 kB / 294 MB, free: 18.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002856/0.128, allocations: 0.6029 MB / 294.6 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.128, allocations: 4.969 kB / 294.6 MB, free: 17.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.1283, allocations: 205.9 kB / 294.8 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.78e-05/0.1283, allocations: 17.09 kB / 294.9 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.1283, allocations: 9.469 kB / 294.9 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.711e-05/0.1284, allocations: 12.11 kB / 294.9 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.391e-05/0.1284, allocations: 14.45 kB / 294.9 MB, free: 17.89 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.1284, allocations: 7.484 kB / 294.9 MB, free: 17.89 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.019e-05/0.1285, allocations: 43.39 kB / 294.9 MB, free: 17.88 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1285, allocations: 0 / 294.9 MB, free: 17.88 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000192/0.1287, allocations: 58.02 kB / 295 MB, free: 17.88 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.0001483/0.1288, allocations: 104.8 kB / 295.1 MB, free: 17.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003399/0.1292, allocations: 175 kB / 295.3 MB, free: 17.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/0.1292, allocations: 2.219 kB / 295.3 MB, free: 17.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002217/0.1294, allocations: 111.6 kB / 295.4 MB, free: 17.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001469/0.1295, allocations: 37.33 kB / 295.4 MB, free: 17.76 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007567/0.1303, allocations: 369.4 kB / 295.8 MB, free: 17.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.213e-05/0.1303, allocations: 81.17 kB / 295.9 MB, free: 17.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.139e-05/0.1304, allocations: 20.41 kB / 295.9 MB, free: 17.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.884e-05/0.1305, allocations: 78.52 kB / 296 MB, free: 17.45 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.1305, allocations: 0 / 296 MB, free: 17.45 MB / 266.7 MB Notification: Performance of Templates: time 0.006826/0.1373, allocations: 3.646 MB / 299.6 MB, free: 17.05 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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.DegradedModeForLoads.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.707160770893097]