Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.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.BreakerTests.DistrictWithOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers") translateModel(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001201/0.001202, allocations: 181.6 kB / 13.23 MB, free: 2.086 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.447/1.447, allocations: 221.4 MB / 235.1 MB, free: 14.38 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.0008919/0.0008919, allocations: 93.83 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03975/0.03975, allocations: 8.101 MB / 345.1 MB, free: 1.922 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.445e-05/2.447e-05, allocations: 4 kB / 405.5 MB, free: 61.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07363/0.07367, allocations: 52.52 MB / 458 MB, free: 9.461 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3099/0.3836, allocations: 82.62 MB / 0.5279 GB, free: 3.449 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.3838, allocations: 68.28 kB / 0.528 GB, free: 3.418 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07824/0.4621, allocations: 31.27 MB / 0.5585 GB, free: 10.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4621, allocations: 0 / 0.5585 GB, free: 10.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.618e-05/0.4621, allocations: 16 kB / 0.5585 GB, free: 10.5 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.005571/0.4677, allocations: 1.746 MB / 0.5603 GB, free: 8.867 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.4678, allocations: 12.02 kB / 0.5603 GB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.468, allocations: 122.6 kB / 0.5604 GB, free: 8.734 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008693/0.4689, allocations: 0.6324 MB / 0.561 GB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.365e-05/0.469, allocations: 125.7 kB / 0.5611 GB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.4691, allocations: 76 kB / 0.5612 GB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.4711, allocations: 1.272 MB / 0.5624 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4711, allocations: 0 / 0.5624 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001042/0.4712, allocations: 36 kB / 0.5625 GB, free: 6.57 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.4712, allocations: 20 kB / 0.5625 GB, free: 6.551 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.4729, allocations: 1.191 MB / 0.5636 GB, free: 5.359 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006517/0.4794, allocations: 5.387 MB / 0.5689 GB, free: 15.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002374/0.4818, allocations: 2.2 MB / 0.5711 GB, free: 13.21 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.483, allocations: 0.9446 MB / 0.572 GB, free: 12.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000142/0.4832, allocations: 33.19 kB / 0.572 GB, free: 12.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.4832, allocations: 47.88 kB / 0.5721 GB, free: 12.18 MB / 394.7 MB Notification: Performance of pre-optimization done (n=148): time 3.155e-06/0.4832, allocations: 0 / 0.5721 GB, free: 12.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=148): time 0.008481/0.4917, allocations: 3.178 MB / 0.5752 GB, free: 8.984 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.877e-05/0.4918, allocations: 145.8 kB / 0.5753 GB, free: 8.809 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006247/0.4925, allocations: 0.4956 MB / 0.5758 GB, free: 8.312 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00013/0.4926, allocations: 57.69 kB / 0.5758 GB, free: 8.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002106/0.4928, allocations: 321.8 kB / 0.5761 GB, free: 7.93 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004001/0.4932, allocations: 0.4888 MB / 0.5766 GB, free: 7.434 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.168e-05/0.4933, allocations: 28 kB / 0.5766 GB, free: 7.406 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4935, allocations: 402.7 kB / 0.577 GB, free: 7.004 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.4945, allocations: 0.6783 MB / 0.5777 GB, free: 6.328 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.4957, allocations: 0.7751 MB / 0.5785 GB, free: 5.539 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/0.4968, allocations: 0.743 MB / 0.5792 GB, free: 4.797 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.4968, allocations: 0 / 0.5792 GB, free: 4.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.008551/0.5053, allocations: 3.245 MB / 0.5823 GB, free: 1.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.5054, allocations: 15.89 kB / 0.5824 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5054, allocations: 0 / 0.5824 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008747/0.5142, allocations: 2.253 MB / 0.5846 GB, free: 15.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005983/0.5148, allocations: 143.8 kB / 0.5847 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01886/0.5337, allocations: 10.05 MB / 0.5945 GB, free: 4.957 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.5348, allocations: 91.11 kB / 0.5946 GB, free: 4.867 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/0.5349, allocations: 43.97 kB / 0.5946 GB, free: 4.824 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (brk1.BrkOpen) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {21 47} Notification: Performance of prepare postOptimizeDAE: time 0.0002754/0.5352, allocations: 170.3 kB / 0.5948 GB, free: 4.652 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/0.5354, allocations: 106.7 kB / 0.5949 GB, free: 4.547 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009314/0.5447, allocations: 3.574 MB / 0.5984 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-05/0.5448, allocations: 16 kB / 0.5984 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.5448, allocations: 0 / 0.5984 GB, free: 0.9453 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.664e-05/0.5448, allocations: 11.97 kB / 0.5984 GB, free: 0.9336 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01112/0.5559, allocations: 5.322 MB / 0.6036 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/0.556, allocations: 0 / 0.6036 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006108/0.5566, allocations: 175.7 kB / 0.6038 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008583/0.5652, allocations: 2.104 MB / 0.6058 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001525/0.5653, allocations: 35.94 kB / 0.6059 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01902/0.5844, allocations: 9.925 MB / 0.6156 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.5844, allocations: 3.938 kB / 0.6156 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009416/0.5938, allocations: 3.444 MB / 0.6189 GB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003535/0.5942, allocations: 207.4 kB / 0.6191 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002507/0.5945, allocations: 31.95 kB / 0.6192 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/0.5956, allocations: 79.95 kB / 0.6192 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004481/0.5961, allocations: 130.4 kB / 0.6194 GB, free: 11.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.5962, allocations: 47.98 kB / 0.6194 GB, free: 11.18 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005515/0.5968, allocations: 407.2 kB / 0.6198 GB, free: 10.79 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.5968, allocations: 0 / 0.6198 GB, free: 10.79 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001547/0.5983, allocations: 0.5153 MB / 0.6203 GB, free: 10.27 MB / 442.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: 1 (brk1.BrkOpen) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {21 47} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003256/0.5987, allocations: 168.9 kB / 0.6205 GB, free: 10.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005901/0.6046, allocations: 2.6 MB / 0.623 GB, free: 7.488 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.212e-06/0.6046, allocations: 4 kB / 0.623 GB, free: 7.484 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004361/0.609, allocations: 1.824 MB / 0.6248 GB, free: 5.645 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006812/0.6097, allocations: 88.86 kB / 0.6249 GB, free: 5.559 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.6125, allocations: 1.442 MB / 0.6263 GB, free: 4.094 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006027/0.6131, allocations: 1.077 MB / 0.6273 GB, free: 2.984 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000493/0.6136, allocations: 127.2 kB / 0.6275 GB, free: 2.855 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000226/0.6138, allocations: 83.39 kB / 0.6275 GB, free: 2.777 MB / 442.7 MB Notification: Performance of SimCode: time 7.11e-07/0.6138, allocations: 3.938 kB / 0.6275 GB, free: 2.773 MB / 442.7 MB Notification: Performance of Templates: time 0.2411/0.8549, allocations: 31.68 MB / 0.6585 GB, free: 131.9 MB / 458.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.makefile (rm -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.sim & ./PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.pipe 2>&1)