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.001084/0.001084, allocations: 105.2 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.00113/0.00113, allocations: 192.1 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.37/1.37, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04732/0.04732, allocations: 8.113 MB / 299.3 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00113/0.00113, allocations: 63.89 kB / 414.5 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09762/0.09876, allocations: 51.51 MB / 466 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.DegradedModeForLoads): time 0.002593/0.1014, allocations: 1.463 MB / 467.4 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.1032, allocations: 1.442 MB / 468.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.001e-05/0.1033, allocations: 8 kB / 468.9 MB, free: 15.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.1036, allocations: 107.4 kB / 469 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.104, allocations: 155.2 kB / 469.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00151/0.1055, allocations: 0.9061 MB / 470.1 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002535/0.1058, allocations: 195.1 kB / 470.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.1059, allocations: 60.95 kB / 470.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.798e-05/0.106, allocations: 75.77 kB / 470.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.1061, allocations: 111.5 kB / 470.5 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.182e-05/0.1062, allocations: 16 kB / 470.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003431/0.1065, allocations: 223.8 kB / 470.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.1066, allocations: 47.77 kB / 470.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.168e-05/0.1067, allocations: 83.59 kB / 470.8 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000426/0.1071, allocations: 362.8 kB / 471.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1071, allocations: 0 / 471.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1071, allocations: 0 / 471.2 MB, free: 12.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.384e-05/0.1072, allocations: 0 / 471.2 MB, free: 12.92 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.001981/0.1091, allocations: 0.7166 MB / 471.9 MB, free: 12.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1092, allocations: 8.031 kB / 471.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.292e-05/0.1093, allocations: 28.8 kB / 472 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002934/0.1096, allocations: 226.7 kB / 472.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.159e-05/0.1097, allocations: 75.7 kB / 472.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.1097, allocations: 16.38 kB / 472.3 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.1101, allocations: 218.5 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1101, allocations: 7.938 kB / 472.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.1102, allocations: 8 kB / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.1102, allocations: 4 kB / 472.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003304/0.1105, allocations: 199.8 kB / 472.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.1119, allocations: 0.9126 MB / 473.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000575/0.1125, allocations: 246.4 kB / 473.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.1127, allocations: 113.2 kB / 474 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001557/0.1129, allocations: 93.08 kB / 474.1 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003677/0.1133, allocations: 167.3 kB / 474.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 1.533e-06/0.1133, allocations: 0 / 474.2 MB, free: 9.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001714/0.115, allocations: 0.6114 MB / 474.8 MB, free: 9.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.253e-05/0.1151, allocations: 59.39 kB / 474.9 MB, free: 8.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.1152, allocations: 175.3 kB / 475.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.1153, allocations: 33.7 kB / 475.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.308e-05/0.1154, allocations: 132.4 kB / 475.2 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.555e-05/0.1154, allocations: 83.28 kB / 475.3 MB, free: 8.539 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.1155, allocations: 53.97 kB / 475.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1156, allocations: 326.8 kB / 475.7 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.1159, allocations: 120.5 kB / 475.8 MB, free: 8.035 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000222/0.1161, allocations: 158.1 kB / 475.9 MB, free: 7.867 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.1165, allocations: 276.2 kB / 476.2 MB, free: 7.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1165, allocations: 4 kB / 476.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001036/0.1176, allocations: 478.5 kB / 476.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.1176, allocations: 8 kB / 476.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1176, allocations: 0 / 476.7 MB, free: 7.094 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009047/0.1185, allocations: 192.7 kB / 476.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001757/0.1187, allocations: 43.92 kB / 476.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000651/0.1194, allocations: 0.7281 MB / 477.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.1196, allocations: 23.84 kB / 477.7 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.1196, allocations: 12 kB / 477.7 MB, free: 6.07 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.0001263/0.1198, allocations: 141.6 kB / 477.8 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.1198, allocations: 19.89 kB / 477.8 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007573/0.1206, allocations: 385.7 kB / 478.2 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.1206, allocations: 7.938 kB / 478.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.1206, allocations: 3.984 kB / 478.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1206, allocations: 0 / 478.2 MB, free: 5.496 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002864/0.1209, allocations: 341.3 kB / 478.6 MB, free: 5.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1209, allocations: 3.938 kB / 478.6 MB, free: 5.109 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.121, allocations: 27.92 kB / 478.6 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007678/0.1218, allocations: 192.7 kB / 478.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/0.1218, allocations: 12 kB / 478.8 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007257/0.1225, allocations: 0.7319 MB / 479.5 MB, free: 4.121 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1226, allocations: 4 kB / 479.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006582/0.1232, allocations: 380.4 kB / 479.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.1233, allocations: 93 kB / 480 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.1233, allocations: 4 kB / 480 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.1235, allocations: 19.92 kB / 480 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.1236, allocations: 23.84 kB / 480 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.1236, allocations: 4 kB / 480 MB, free: 3.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001154/0.1237, allocations: 135.9 kB / 480.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1237, allocations: 0 / 480.2 MB, free: 3.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002925/0.124, allocations: 63.89 kB / 480.2 MB, free: 3.371 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.000162/0.1242, allocations: 127.2 kB / 480.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007311/0.1249, allocations: 299.8 kB / 480.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1249, allocations: 0 / 480.7 MB, free: 2.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005147/0.1255, allocations: 176.1 kB / 480.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.1257, allocations: 27.94 kB / 480.9 MB, free: 2.746 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007728/0.1265, allocations: 411.2 kB / 481.3 MB, free: 2.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002483/0.1268, allocations: 0.7249 MB / 482 MB, free: 1.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.961e-05/0.1269, allocations: 25.53 kB / 482 MB, free: 1.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.1269, allocations: 23.44 kB / 482 MB, free: 1.523 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1269, allocations: 0 / 482 MB, free: 1.523 MB / 350.1 MB Notification: Performance of Templates: time 0.006917/0.1339, allocations: 3.724 MB / 485.8 MB, free: 13.81 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)