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.001329/0.001329, allocations: 181 kB / 8.045 MB, free: 1.016 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.731/1.731, allocations: 221.5 MB / 230 MB, free: 3.141 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.0008928/0.0008928, allocations: 85 kB / 280.9 MB, free: 1.145 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04851/0.04851, allocations: 8.099 MB / 339.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.869e-05, allocations: 0 / 398.5 MB, free: 67.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1154, allocations: 52.52 MB / 451 MB, free: 15.14 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.365/0.4804, allocations: 82.02 MB / 0.5205 GB, free: 11.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001972/0.4806, allocations: 64.91 kB / 0.5206 GB, free: 11.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0757/0.5564, allocations: 30.83 MB / 0.5507 GB, free: 4.105 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.664e-06/0.5564, allocations: 4.75 kB / 0.5507 GB, free: 4.102 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.703e-05/0.5564, allocations: 17.31 kB / 0.5507 GB, free: 4.086 MB / 362.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.005942/0.5624, allocations: 1.743 MB / 0.5524 GB, free: 2.297 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.5625, allocations: 15.98 kB / 0.5524 GB, free: 2.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004854/0.5629, allocations: 122.6 kB / 0.5525 GB, free: 2.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.5641, allocations: 0.6353 MB / 0.5532 GB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001139/0.5643, allocations: 93.36 kB / 0.5532 GB, free: 1.379 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001268/0.5644, allocations: 47.94 kB / 0.5533 GB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001855/0.5663, allocations: 1.156 MB / 0.5544 GB, free: 180 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.5681, allocations: 1.155 MB / 0.5556 GB, free: 15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.5681, allocations: 0 / 0.5556 GB, free: 15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.981e-05/0.5682, allocations: 7.938 kB / 0.5556 GB, free: 14.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.5683, allocations: 20 kB / 0.5556 GB, free: 14.97 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00738/0.5757, allocations: 5.247 MB / 0.5607 GB, free: 9.293 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/0.5781, allocations: 2.142 MB / 0.5628 GB, free: 7.035 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.5793, allocations: 0.9016 MB / 0.5637 GB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.5794, allocations: 37.25 kB / 0.5637 GB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.5795, allocations: 47.88 kB / 0.5638 GB, free: 6.043 MB / 378.7 MB Notification: Performance of pre-optimization done (n=147): time 3.446e-06/0.5795, allocations: 0 / 0.5638 GB, free: 6.043 MB / 378.7 MB Notification: Performance of matching and sorting (n=147): time 0.01066/0.5901, allocations: 3.143 MB / 0.5668 GB, free: 2.883 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.5903, allocations: 145.8 kB / 0.567 GB, free: 2.707 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007393/0.591, allocations: 483.5 kB / 0.5674 GB, free: 2.227 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001936/0.5912, allocations: 29.7 kB / 0.5675 GB, free: 2.191 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.5915, allocations: 317.8 kB / 0.5678 GB, free: 1.875 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004814/0.592, allocations: 480.7 kB / 0.5682 GB, free: 1.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.5921, allocations: 0 / 0.5682 GB, free: 1.398 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.5923, allocations: 410.7 kB / 0.5686 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.5933, allocations: 0.6548 MB / 0.5692 GB, free: 344 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.5943, allocations: 0.7414 MB / 0.57 GB, free: 15.58 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001904/0.5962, allocations: 0.7716 MB / 0.5707 GB, free: 14.81 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.5962, allocations: 0 / 0.5707 GB, free: 14.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.009698/0.606, allocations: 3.202 MB / 0.5738 GB, free: 11.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.606, allocations: 9.5 kB / 0.5739 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.6061, allocations: 0 / 0.5739 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008866/0.6149, allocations: 2.081 MB / 0.5759 GB, free: 9.508 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007389/0.6157, allocations: 151.8 kB / 0.576 GB, free: 9.359 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01841/0.6341, allocations: 9.727 MB / 0.5855 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.6355, allocations: 71.11 kB / 0.5856 GB, free: 15.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.6356, allocations: 47.97 kB / 0.5856 GB, free: 15.39 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: load11.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real load21.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real 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.000381/0.636, allocations: 126.4 kB / 0.5858 GB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002272/0.6362, allocations: 102.8 kB / 0.5859 GB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/0.6463, allocations: 3.468 MB / 0.5893 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.879e-05/0.6464, allocations: 27.89 kB / 0.5893 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/0.6464, allocations: 4 kB / 0.5893 GB, free: 11.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/0.6464, allocations: 7.969 kB / 0.5893 GB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01221/0.6586, allocations: 5.119 MB / 0.5943 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.6587, allocations: 0 / 0.5943 GB, free: 6.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000608/0.6593, allocations: 163.8 kB / 0.5944 GB, free: 6.312 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008898/0.6682, allocations: 2.081 MB / 0.5965 GB, free: 4.227 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001818/0.6684, allocations: 19.97 kB / 0.5965 GB, free: 4.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01815/0.6866, allocations: 9.738 MB / 0.606 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/0.6866, allocations: 0 / 0.606 GB, free: 10.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009631/0.6963, allocations: 3.378 MB / 0.6093 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003782/0.6967, allocations: 199.5 kB / 0.6095 GB, free: 6.727 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.6969, allocations: 0 / 0.6095 GB, free: 6.727 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009666/0.6978, allocations: 55.94 kB / 0.6095 GB, free: 6.672 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003877/0.6982, allocations: 130.3 kB / 0.6097 GB, free: 6.547 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.6983, allocations: 51.97 kB / 0.6097 GB, free: 6.496 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004544/0.6988, allocations: 379.2 kB / 0.6101 GB, free: 6.125 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.6988, allocations: 0 / 0.6101 GB, free: 6.125 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001292/0.7001, allocations: 443.7 kB / 0.6105 GB, free: 5.691 MB / 426.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 (102): * Single equations (assignments): 101 * 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.0002738/0.7004, allocations: 123.1 kB / 0.6106 GB, free: 5.562 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005659/0.7061, allocations: 2.504 MB / 0.6131 GB, free: 3.051 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.7061, allocations: 0 / 0.6131 GB, free: 3.051 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004192/0.7103, allocations: 1.757 MB / 0.6148 GB, free: 1.285 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005294/0.7108, allocations: 67.22 kB / 0.6148 GB, free: 1.219 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.7131, allocations: 1.342 MB / 0.6162 GB, free: 15.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005803/0.7137, allocations: 1.077 MB / 0.6172 GB, free: 14.74 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004582/0.7141, allocations: 131.1 kB / 0.6173 GB, free: 14.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.7143, allocations: 83.39 kB / 0.6174 GB, free: 14.52 MB / 442.7 MB Notification: Performance of SimCode: time 3.31e-07/0.7144, allocations: 0 / 0.6174 GB, free: 14.52 MB / 442.7 MB Notification: Performance of Templates: time 0.04224/0.7566, allocations: 29.68 MB / 0.6464 GB, free: 0.9102 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)