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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 186.9 kB / 16.68 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.4 MB, free: 11.01 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 106.8 kB / 290.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04887/0.04887, allocations: 8.099 MB / 348.8 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001696/0.001696, allocations: 59.61 kB / 411.1 MB, free: 57.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1122, allocations: 51.52 MB / 462.6 MB, free: 6.086 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002116/0.1144, allocations: 1.495 MB / 464.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.1159, allocations: 1.442 MB / 465.5 MB, free: 3.133 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.521e-05/0.116, allocations: 4 kB / 465.6 MB, free: 3.129 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.1163, allocations: 91.66 kB / 465.6 MB, free: 3.039 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003821/0.1167, allocations: 143.4 kB / 465.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.118, allocations: 0.8942 MB / 466.7 MB, free: 2.004 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.1183, allocations: 183.2 kB / 466.9 MB, free: 1.824 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.1184, allocations: 37.66 kB / 466.9 MB, free: 1.785 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.917e-05/0.1185, allocations: 83.64 kB / 467 MB, free: 1.703 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001843/0.1187, allocations: 91.66 kB / 467.1 MB, free: 1.613 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.775e-05/0.1187, allocations: 19.94 kB / 467.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000319/0.119, allocations: 219.8 kB / 467.3 MB, free: 1.379 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.581e-05/0.1191, allocations: 35.83 kB / 467.3 MB, free: 1.344 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.1192, allocations: 87.53 kB / 467.4 MB, free: 1.258 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003369/0.1195, allocations: 355.3 kB / 467.8 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1195, allocations: 0 / 467.8 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.1195, allocations: 0 / 467.8 MB, free: 0.9102 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1195, allocations: 0 / 467.8 MB, free: 0.9102 MB / 298.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.00177/0.1213, allocations: 0.7094 MB / 468.5 MB, free: 152 kB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.1214, allocations: 11.97 kB / 468.5 MB, free: 140 kB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.196e-05/0.1214, allocations: 20.75 kB / 468.5 MB, free: 120 kB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.1217, allocations: 239.1 kB / 468.7 MB, free: 15.85 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-05/0.1218, allocations: 63.97 kB / 468.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.152e-05/0.1218, allocations: 16.38 kB / 468.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003895/0.1222, allocations: 226.5 kB / 469 MB, free: 15.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1222, allocations: 7.922 kB / 469 MB, free: 15.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.52e-05/0.1223, allocations: 11.92 kB / 469.1 MB, free: 15.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1223, allocations: 8 kB / 469.1 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003667/0.1227, allocations: 199.9 kB / 469.3 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001525/0.1242, allocations: 0.9164 MB / 470.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005776/0.1248, allocations: 230.5 kB / 470.4 MB, free: 14.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/0.125, allocations: 113.1 kB / 470.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.1251, allocations: 89.09 kB / 470.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003627/0.1255, allocations: 173.5 kB / 470.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=22): time 1.823e-06/0.1255, allocations: 4 kB / 470.8 MB, free: 13.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.001786/0.1273, allocations: 0.6099 MB / 471.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.1274, allocations: 55.41 kB / 471.4 MB, free: 12.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.1275, allocations: 175.3 kB / 471.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/0.1276, allocations: 29.7 kB / 471.6 MB, free: 12.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.1277, allocations: 132.2 kB / 471.8 MB, free: 12.62 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/0.1277, allocations: 70.94 kB / 471.8 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.1278, allocations: 57.98 kB / 471.9 MB, free: 12.49 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.128, allocations: 330.8 kB / 472.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002032/0.1282, allocations: 112.5 kB / 472.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002444/0.1284, allocations: 162.2 kB / 472.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000433/0.1289, allocations: 273.7 kB / 472.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1289, allocations: 0 / 472.7 MB, free: 11.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001096/0.13, allocations: 493.9 kB / 473.2 MB, free: 11.1 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.13, allocations: 7.938 kB / 473.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.13, allocations: 4 kB / 473.2 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009922/0.131, allocations: 192.6 kB / 473.4 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/0.1312, allocations: 51.97 kB / 473.5 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007658/0.132, allocations: 0.7201 MB / 474.2 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001979/0.1322, allocations: 23.75 kB / 474.2 MB, free: 10.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.1322, allocations: 12.03 kB / 474.2 MB, free: 10.07 MB / 314.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 0.0001455/0.1324, allocations: 138.4 kB / 474.4 MB, free: 9.922 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.449e-05/0.1324, allocations: 19.81 kB / 474.4 MB, free: 9.902 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007832/0.1332, allocations: 387.6 kB / 474.8 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1332, allocations: 0 / 474.8 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.1333, allocations: 0 / 474.8 MB, free: 9.516 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1333, allocations: 4 kB / 474.8 MB, free: 9.512 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003349/0.1336, allocations: 337.3 kB / 475.1 MB, free: 9.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1336, allocations: 3.938 kB / 475.1 MB, free: 9.129 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001012/0.1337, allocations: 24 kB / 475.1 MB, free: 9.105 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007979/0.1345, allocations: 204.6 kB / 475.3 MB, free: 8.902 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.1346, allocations: 0 / 475.3 MB, free: 8.902 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006577/0.1352, allocations: 0.7319 MB / 476.1 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1353, allocations: 0 / 476.1 MB, free: 8.145 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001142/0.1364, allocations: 1.077 MB / 477.1 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.504e-05/0.1365, allocations: 88.92 kB / 477.2 MB, free: 6.898 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.448e-05/0.1365, allocations: 4 kB / 477.2 MB, free: 6.895 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/0.1367, allocations: 19.98 kB / 477.3 MB, free: 6.875 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.326e-05/0.1368, allocations: 15.97 kB / 477.3 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.1368, allocations: 8 kB / 477.3 MB, free: 6.852 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001201/0.1369, allocations: 128 kB / 477.4 MB, free: 6.727 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.733e-06/0.1369, allocations: 0 / 477.4 MB, free: 6.727 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003884/0.1373, allocations: 67.86 kB / 477.5 MB, free: 6.66 MB / 314.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 {(3,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002119/0.1375, allocations: 127.2 kB / 477.6 MB, free: 6.527 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007379/0.1383, allocations: 303.7 kB / 477.9 MB, free: 6.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.1383, allocations: 0 / 477.9 MB, free: 6.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.1388, allocations: 151.2 kB / 478 MB, free: 6.086 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.139, allocations: 34.73 kB / 478.1 MB, free: 6.055 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009407/0.14, allocations: 0.6408 MB / 478.7 MB, free: 5.375 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.1402, allocations: 0.7324 MB / 479.4 MB, free: 4.617 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001092/0.1404, allocations: 25.62 kB / 479.5 MB, free: 4.59 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.644e-05/0.1404, allocations: 19.38 kB / 479.5 MB, free: 4.57 MB / 314.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1404, allocations: 3.938 kB / 479.5 MB, free: 4.566 MB / 314.7 MB Notification: Performance of Templates: time 0.006566/0.147, allocations: 3.67 MB / 483.2 MB, free: 0.9102 MB / 314.7 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)