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.00113/0.00113, allocations: 180.7 kB / 15.8 MB, free: 6.34 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.356/1.356, allocations: 223.2 MB / 239.7 MB, free: 1.785 MB / 186.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: 93.27 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04758/0.04758, allocations: 8.102 MB / 350.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.0003129, allocations: 16.84 kB / 413.1 MB, free: 89.73 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.106, allocations: 52.52 MB / 465.6 MB, free: 42.08 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3303/0.4363, allocations: 82.42 MB / 0.5352 GB, free: 16.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001686/0.4365, allocations: 74.11 kB / 0.5353 GB, free: 16.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06984/0.5064, allocations: 31.33 MB / 0.5659 GB, free: 28.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.196e-06/0.5064, allocations: 0 / 0.5659 GB, free: 28.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.832e-05/0.5065, allocations: 16.41 kB / 0.5659 GB, free: 28.61 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.006407/0.5129, allocations: 1.901 MB / 0.5677 GB, free: 27.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.513, allocations: 17.05 kB / 0.5678 GB, free: 27.55 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003822/0.5134, allocations: 128.8 kB / 0.5679 GB, free: 27.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.5144, allocations: 0.6414 MB / 0.5685 GB, free: 27.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.78e-05/0.5145, allocations: 126.6 kB / 0.5686 GB, free: 27.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.5146, allocations: 77.88 kB / 0.5687 GB, free: 27.03 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002062/0.5167, allocations: 1.278 MB / 0.5699 GB, free: 26.73 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.5167, allocations: 0 / 0.5699 GB, free: 26.73 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.5169, allocations: 37.88 kB / 0.57 GB, free: 26.73 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.5169, allocations: 20.22 kB / 0.57 GB, free: 26.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.5187, allocations: 1.226 MB / 0.5712 GB, free: 26.58 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007087/0.5257, allocations: 5.383 MB / 0.5765 GB, free: 23.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002561/0.5283, allocations: 2.226 MB / 0.5786 GB, free: 22.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001262/0.5285, allocations: 39.75 kB / 0.5787 GB, free: 22.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.5285, allocations: 54.38 kB / 0.5787 GB, free: 22.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=148): time 3.527e-06/0.5285, allocations: 0 / 0.5787 GB, free: 22.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=148): time 0.03008/0.5586, allocations: 7.939 MB / 0.5865 GB, free: 19.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.95e-05/0.5588, allocations: 145.2 kB / 0.5866 GB, free: 19.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007466/0.5595, allocations: 0.5084 MB / 0.5871 GB, free: 19.01 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00014/0.5597, allocations: 55.92 kB / 0.5872 GB, free: 18.98 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002242/0.5599, allocations: 315.1 kB / 0.5875 GB, free: 18.82 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003889/0.5603, allocations: 0.4912 MB / 0.5879 GB, free: 18.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.787e-05/0.5604, allocations: 27.31 kB / 0.588 GB, free: 18.45 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.5606, allocations: 401.4 kB / 0.5883 GB, free: 18.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009631/0.5616, allocations: 0.6932 MB / 0.589 GB, free: 18.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009221/0.5625, allocations: 0.7912 MB / 0.5898 GB, free: 17.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009513/0.5634, allocations: 0.7609 MB / 0.5905 GB, free: 17.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.5635, allocations: 7.688 kB / 0.5905 GB, free: 17.61 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.007729/0.5712, allocations: 3.277 MB / 0.5937 GB, free: 15.76 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.5712, allocations: 3.875 kB / 0.5938 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.5713, allocations: 0 / 0.5938 GB, free: 15.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008626/0.5799, allocations: 2.261 MB / 0.596 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006842/0.5806, allocations: 152.4 kB / 0.5961 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01899/0.5996, allocations: 10.58 MB / 0.6064 GB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.601, allocations: 96.73 kB / 0.6065 GB, free: 7.652 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/0.6011, allocations: 44.72 kB / 0.6066 GB, free: 7.637 MB / 378.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 () * Number of clocked 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.0005899/0.6017, allocations: 238.5 kB / 0.6068 GB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002128/0.6019, allocations: 102 kB / 0.6069 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009378/0.6113, allocations: 3.615 MB / 0.6104 GB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.6114, allocations: 19.48 kB / 0.6104 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6114, allocations: 0 / 0.6104 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.468e-05/0.6114, allocations: 7.969 kB / 0.6105 GB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/0.6232, allocations: 5.356 MB / 0.6157 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.6233, allocations: 0 / 0.6157 GB, free: 124 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/0.6239, allocations: 179.7 kB / 0.6159 GB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008917/0.6329, allocations: 2.104 MB / 0.6179 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000257/0.6332, allocations: 35.98 kB / 0.6179 GB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01928/0.6524, allocations: 10.48 MB / 0.6282 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6525, allocations: 0 / 0.6282 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00966/0.6622, allocations: 3.483 MB / 0.6316 GB, free: 15.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007415/0.663, allocations: 195.5 kB / 0.6318 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003878/0.6634, allocations: 32 kB / 0.6318 GB, free: 15.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.6645, allocations: 87.89 kB / 0.6319 GB, free: 15.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004914/0.665, allocations: 134.4 kB / 0.632 GB, free: 15.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.6651, allocations: 51.98 kB / 0.6321 GB, free: 15.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006942/0.6658, allocations: 419.1 kB / 0.6325 GB, free: 14.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6658, allocations: 0 / 0.6325 GB, free: 14.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001861/0.6677, allocations: 0.5036 MB / 0.633 GB, free: 14.25 MB / 410.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 () * Number of clocked 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.0003569/0.6681, allocations: 158.6 kB / 0.6331 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006064/0.6741, allocations: 2.671 MB / 0.6357 GB, free: 11.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.6742, allocations: 0 / 0.6357 GB, free: 11.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004569/0.6788, allocations: 1.865 MB / 0.6375 GB, free: 9.531 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008131/0.6796, allocations: 86.97 kB / 0.6376 GB, free: 9.441 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003568/0.6832, allocations: 2.297 MB / 0.6399 GB, free: 7.133 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00073/0.6839, allocations: 1.073 MB / 0.6409 GB, free: 6.027 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005163/0.6844, allocations: 127.2 kB / 0.641 GB, free: 5.898 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.6847, allocations: 87.38 kB / 0.6411 GB, free: 5.812 MB / 410.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6847, allocations: 0 / 0.6411 GB, free: 5.812 MB / 410.7 MB Notification: Performance of Templates: time 0.04694/0.7316, allocations: 31.63 MB / 0.672 GB, free: 6.258 MB / 442.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)