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.001097/0.001097, allocations: 172.9 kB / 16.8 MB, free: 4.906 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.36/1.36, allocations: 223.3 MB / 240.8 MB, free: 11.7 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.0008379/0.000838, allocations: 101.7 kB / 292 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04893/0.04893, allocations: 8.09 MB / 351.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004062/0.0004062, allocations: 12 kB / 414.4 MB, free: 57.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09221/0.09264, allocations: 52.51 MB / 466.9 MB, free: 4.727 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2962/0.3889, allocations: 82.46 MB / 0.5365 GB, free: 3.043 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.3892, allocations: 71.34 kB / 0.5365 GB, free: 3.008 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07396/0.4632, allocations: 31.3 MB / 0.5671 GB, free: 6.176 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.4632, allocations: 0 / 0.5671 GB, free: 6.176 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.406e-05/0.4632, allocations: 20 kB / 0.5671 GB, free: 6.156 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.005801/0.469, allocations: 1.887 MB / 0.569 GB, free: 4.215 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4691, allocations: 12.03 kB / 0.569 GB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003054/0.4694, allocations: 123.5 kB / 0.5691 GB, free: 4.082 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009348/0.4704, allocations: 0.6785 MB / 0.5698 GB, free: 3.363 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.014e-05/0.4705, allocations: 118 kB / 0.5699 GB, free: 3.234 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.4706, allocations: 76.38 kB / 0.5699 GB, free: 3.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.4725, allocations: 1.291 MB / 0.5712 GB, free: 1.855 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.4725, allocations: 7.938 kB / 0.5712 GB, free: 1.848 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.934e-05/0.4726, allocations: 32 kB / 0.5712 GB, free: 1.816 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.4726, allocations: 24 kB / 0.5713 GB, free: 1.793 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.4744, allocations: 1.218 MB / 0.5725 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007516/0.4819, allocations: 5.375 MB / 0.5777 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002735/0.4847, allocations: 2.222 MB / 0.5799 GB, free: 8.418 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.486, allocations: 0.9587 MB / 0.5808 GB, free: 7.461 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.4862, allocations: 41.25 kB / 0.5808 GB, free: 7.422 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.4862, allocations: 55.81 kB / 0.5809 GB, free: 7.355 MB / 394.7 MB Notification: Performance of pre-optimization done (n=148): time 3.376e-06/0.4863, allocations: 0 / 0.5809 GB, free: 7.355 MB / 394.7 MB Notification: Performance of matching and sorting (n=148): time 0.04637/0.5326, allocations: 8.037 MB / 0.5887 GB, free: 15.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.5328, allocations: 153.8 kB / 0.5889 GB, free: 15.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/0.5342, allocations: 0.5782 MB / 0.5895 GB, free: 14.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000385/0.5346, allocations: 49.7 kB / 0.5895 GB, free: 14.45 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003562/0.5349, allocations: 317.9 kB / 0.5898 GB, free: 14.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007476/0.5357, allocations: 0.4888 MB / 0.5903 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.5358, allocations: 24 kB / 0.5903 GB, free: 13.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002831/0.5361, allocations: 398.7 kB / 0.5907 GB, free: 13.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/0.538, allocations: 0.7053 MB / 0.5914 GB, free: 12.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/0.5399, allocations: 0.7984 MB / 0.5922 GB, free: 11.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003798/0.5437, allocations: 1.538 MB / 0.5937 GB, free: 10.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.616e-06/0.5437, allocations: 0 / 0.5937 GB, free: 10.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.01302/0.5568, allocations: 3.295 MB / 0.5969 GB, free: 6.855 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.5569, allocations: 7.984 kB / 0.5969 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.5569, allocations: 0 / 0.5969 GB, free: 6.848 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01248/0.5694, allocations: 2.253 MB / 0.5991 GB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.5705, allocations: 147.8 kB / 0.5992 GB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03017/0.6007, allocations: 10.1 MB / 0.6091 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.6023, allocations: 99.09 kB / 0.6092 GB, free: 10.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.6025, allocations: 39.98 kB / 0.6092 GB, free: 10.09 MB / 426.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.0007256/0.6032, allocations: 241.7 kB / 0.6095 GB, free: 9.844 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003208/0.6036, allocations: 102.9 kB / 0.6095 GB, free: 9.742 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01417/0.6178, allocations: 3.617 MB / 0.6131 GB, free: 6.117 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.281e-05/0.6178, allocations: 16 kB / 0.6131 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.6179, allocations: 3.984 kB / 0.6131 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.761e-05/0.6179, allocations: 7.969 kB / 0.6131 GB, free: 6.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01829/0.6362, allocations: 5.357 MB / 0.6183 GB, free: 0.6641 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.181e-05/0.6363, allocations: 4 kB / 0.6183 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/0.6374, allocations: 171.7 kB / 0.6185 GB, free: 0.4922 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01306/0.6504, allocations: 2.104 MB / 0.6206 GB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004528/0.6509, allocations: 35.98 kB / 0.6206 GB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02965/0.6806, allocations: 9.988 MB / 0.6303 GB, free: 4.215 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6807, allocations: 4 kB / 0.6304 GB, free: 4.211 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/0.6943, allocations: 3.483 MB / 0.6338 GB, free: 0.707 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005639/0.6949, allocations: 207.4 kB / 0.634 GB, free: 496 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000355/0.6953, allocations: 28 kB / 0.634 GB, free: 468 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.6968, allocations: 79.95 kB / 0.6341 GB, free: 388 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000694/0.6975, allocations: 134.4 kB / 0.6342 GB, free: 252 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/0.6977, allocations: 51.98 kB / 0.6342 GB, free: 200 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009707/0.6986, allocations: 427.1 kB / 0.6346 GB, free: 15.78 MB / 458.7 MB Notification: Performance of sort global known variables: time 3e-07/0.6987, allocations: 0 / 0.6346 GB, free: 15.78 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002361/0.701, allocations: 0.5114 MB / 0.6351 GB, free: 15.27 MB / 458.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.0003881/0.7014, allocations: 155.6 kB / 0.6353 GB, free: 15.11 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009738/0.7112, allocations: 2.659 MB / 0.6379 GB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.163e-05/0.7112, allocations: 4 kB / 0.6379 GB, free: 12.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007866/0.7191, allocations: 1.868 MB / 0.6397 GB, free: 10.54 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.721, allocations: 122.9 kB / 0.6398 GB, free: 10.42 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006105/0.7272, allocations: 2.26 MB / 0.642 GB, free: 8.145 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.7283, allocations: 1.058 MB / 0.6431 GB, free: 7.059 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009455/0.7292, allocations: 131.2 kB / 0.6432 GB, free: 6.926 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.7296, allocations: 79.39 kB / 0.6433 GB, free: 6.852 MB / 458.7 MB Notification: Performance of SimCode: time 1.233e-06/0.7296, allocations: 0 / 0.6433 GB, free: 6.852 MB / 458.7 MB Notification: Performance of Templates: time 0.296/1.026, allocations: 31.8 MB / 0.6743 GB, free: 134 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)