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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.001207/0.001207, allocations: 104.8 kB / 16.45 MB, free: 6.449 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.001252/0.001252, allocations: 192.2 kB / 17.39 MB, free: 5.668 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.39/1.39, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05153/0.05153, allocations: 8.101 MB / 299.3 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 67.89 kB / 414.5 MB, free: 21.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09738/0.09864, allocations: 51.52 MB / 466 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002648/0.1013, allocations: 1.455 MB / 467.4 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002013/0.1034, allocations: 1.446 MB / 468.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001283/0.1035, allocations: 4 kB / 468.9 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004233/0.104, allocations: 107.4 kB / 469 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004585/0.1045, allocations: 159.2 kB / 469.2 MB, free: 15 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.1061, allocations: 0.9022 MB / 470.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003554/0.1065, allocations: 207.1 kB / 470.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.1067, allocations: 53.58 kB / 470.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001194/0.1068, allocations: 75.77 kB / 470.4 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002048/0.107, allocations: 111.5 kB / 470.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.024e-05/0.1071, allocations: 16 kB / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004569/0.1075, allocations: 223.8 kB / 470.7 MB, free: 13.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.93e-05/0.1076, allocations: 39.78 kB / 470.8 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.1077, allocations: 87.58 kB / 470.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005978/0.1083, allocations: 355.1 kB / 471.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.1083, allocations: 0 / 471.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1083, allocations: 0 / 471.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.1083, allocations: 3.938 kB / 471.2 MB, free: 12.95 MB / 350.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.002045/0.1104, allocations: 0.7095 MB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.1104, allocations: 8.031 kB / 471.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.896e-05/0.1105, allocations: 20.75 kB / 471.9 MB, free: 12.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.1108, allocations: 234.5 kB / 472.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001036/0.1109, allocations: 71.72 kB / 472.2 MB, free: 11.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.111, allocations: 16.38 kB / 472.3 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004093/0.1114, allocations: 222.5 kB / 472.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1114, allocations: 3.938 kB / 472.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.1114, allocations: 11.98 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1114, allocations: 4 kB / 472.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.1118, allocations: 199.8 kB / 472.7 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.1134, allocations: 0.9202 MB / 473.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006125/0.1141, allocations: 234.5 kB / 473.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001807/0.1143, allocations: 113.1 kB / 473.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001491/0.1144, allocations: 89.11 kB / 474 MB, free: 9.902 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004006/0.1148, allocations: 170.3 kB / 474.2 MB, free: 9.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 2.004e-06/0.1148, allocations: 4 kB / 474.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001812/0.1167, allocations: 0.6084 MB / 474.8 MB, free: 9.086 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.861e-05/0.1167, allocations: 59.41 kB / 474.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002159/0.1169, allocations: 179.2 kB / 475 MB, free: 8.824 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.298e-05/0.117, allocations: 33.7 kB / 475.1 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.815e-05/0.1171, allocations: 128.2 kB / 475.2 MB, free: 8.656 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.74e-05/0.1172, allocations: 75 kB / 475.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.1173, allocations: 57.89 kB / 475.3 MB, free: 8.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1174, allocations: 326.8 kB / 475.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002052/0.1176, allocations: 120.5 kB / 475.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002453/0.1179, allocations: 162.2 kB / 475.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.1183, allocations: 272.2 kB / 476.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.1183, allocations: 0 / 476.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001098/0.1194, allocations: 486.4 kB / 476.7 MB, free: 7.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1195, allocations: 4 kB / 476.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.1195, allocations: 4 kB / 476.7 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009547/0.1204, allocations: 192.7 kB / 476.9 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001821/0.1206, allocations: 47.91 kB / 476.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007263/0.1214, allocations: 0.7202 MB / 477.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002045/0.1216, allocations: 19.84 kB / 477.7 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.1216, allocations: 19.97 kB / 477.7 MB, free: 6.105 MB / 350.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.0001511/0.1218, allocations: 141.7 kB / 477.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.806e-05/0.1218, allocations: 19.81 kB / 477.8 MB, free: 5.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007785/0.1226, allocations: 383.9 kB / 478.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.1226, allocations: 4 kB / 478.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.1226, allocations: 0 / 478.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1226, allocations: 0 / 478.2 MB, free: 5.539 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.123, allocations: 337.3 kB / 478.5 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.123, allocations: 3.938 kB / 478.5 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.1231, allocations: 27.94 kB / 478.6 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007686/0.1239, allocations: 200.7 kB / 478.8 MB, free: 4.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.1239, allocations: 8 kB / 478.8 MB, free: 4.922 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007292/0.1246, allocations: 0.7319 MB / 479.5 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1247, allocations: 4 kB / 479.5 MB, free: 4.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006578/0.1253, allocations: 384.3 kB / 479.9 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.701e-05/0.1254, allocations: 92.92 kB / 480 MB, free: 3.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.1255, allocations: 4 kB / 480 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/0.1256, allocations: 19.92 kB / 480 MB, free: 3.633 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.1257, allocations: 19.84 kB / 480 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/0.1257, allocations: 11.98 kB / 480 MB, free: 3.602 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.1259, allocations: 128 kB / 480.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1259, allocations: 0 / 480.2 MB, free: 3.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.1262, allocations: 67.84 kB / 480.2 MB, free: 3.41 MB / 350.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.0001824/0.1264, allocations: 123.2 kB / 480.3 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007493/0.1271, allocations: 303.8 kB / 480.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1271, allocations: 0 / 480.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005083/0.1276, allocations: 176.1 kB / 480.8 MB, free: 2.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000257/0.1279, allocations: 16 kB / 480.8 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007597/0.1287, allocations: 411.5 kB / 481.2 MB, free: 2.371 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002297/0.1289, allocations: 0.7171 MB / 481.9 MB, free: 1.629 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.282e-05/0.129, allocations: 29.61 kB / 482 MB, free: 1.602 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.1291, allocations: 23.42 kB / 482 MB, free: 1.578 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1291, allocations: 4.094 kB / 482 MB, free: 1.574 MB / 350.1 MB Notification: Performance of Templates: time 0.006949/0.136, allocations: 3.723 MB / 485.7 MB, free: 13.87 MB / 366.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)