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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 95.5 kB / 15.73 MB, free: 440 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 176 kB / 16.61 MB, free: 6.426 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.431/1.431, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2071/0.2071, allocations: 8.081 MB / 299.7 MB, free: 2.961 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005106/0.0005107, allocations: 11.98 kB / 362.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.1572, allocations: 52.52 MB / 415.3 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.005686/0.1629, allocations: 5.229 MB / 420.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003083/0.166, allocations: 1.429 MB / 421.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003765/0.1664, allocations: 19.94 kB / 422 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004938/0.1669, allocations: 174.9 kB / 422.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.168, allocations: 0.5375 MB / 422.7 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002194/0.1702, allocations: 1.172 MB / 423.8 MB, free: 160 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.1842/0.3544, allocations: 0.8111 MB / 424.6 MB, free: 35.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005823/0.355, allocations: 315.2 kB / 425 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006151/0.3557, allocations: 416.1 kB / 425.4 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005977/0.3563, allocations: 0.5399 MB / 425.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.357e-05/0.3564, allocations: 55.44 kB / 426 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006992/0.3571, allocations: 249.1 kB / 426.2 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.3573, allocations: 184.4 kB / 426.4 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001623/0.3574, allocations: 212.7 kB / 426.6 MB, free: 34.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008761/0.3583, allocations: 0.9415 MB / 427.5 MB, free: 34.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3583, allocations: 3.281 kB / 427.5 MB, free: 34.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.3583, allocations: 0 / 427.5 MB, free: 34.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.3584, allocations: 0.5312 kB / 427.5 MB, free: 34.87 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.01096/0.3693, allocations: 2.794 MB / 430.3 MB, free: 34.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.3694, allocations: 9.469 kB / 430.3 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005003/0.3699, allocations: 125.3 kB / 430.5 MB, free: 34.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/0.3709, allocations: 0.6031 MB / 431.1 MB, free: 33.78 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.3711, allocations: 133.6 kB / 431.2 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001894/0.3713, allocations: 93.22 kB / 431.3 MB, free: 33.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.3737, allocations: 1.276 MB / 432.6 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.3737, allocations: 0 / 432.6 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.3738, allocations: 42.84 kB / 432.6 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.662e-05/0.3738, allocations: 18.72 kB / 432.6 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.3756, allocations: 1.215 MB / 433.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006521/0.3822, allocations: 5.081 MB / 438.9 MB, free: 31.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/0.3848, allocations: 2.222 MB / 441.1 MB, free: 30.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001541/0.385, allocations: 31.89 kB / 441.2 MB, free: 30.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.48e-05/0.3851, allocations: 56.47 kB / 441.2 MB, free: 30.53 MB / 350.1 MB Notification: Performance of pre-optimization done (n=148): time 5.079e-06/0.3851, allocations: 0 / 441.2 MB, free: 30.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=148): time 0.03027/0.4154, allocations: 7.805 MB / 449 MB, free: 29.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.4155, allocations: 145.1 kB / 449.2 MB, free: 29.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007102/0.4162, allocations: 0.5621 MB / 449.7 MB, free: 28.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002442/0.4165, allocations: 59.7 kB / 449.8 MB, free: 28.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/0.4167, allocations: 300.8 kB / 450.1 MB, free: 28.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/0.417, allocations: 0.49 MB / 450.6 MB, free: 28.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.653e-05/0.4171, allocations: 34.44 kB / 450.6 MB, free: 28.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.4173, allocations: 405.3 kB / 451 MB, free: 27.86 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.4184, allocations: 0.8273 MB / 451.8 MB, free: 27.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.4195, allocations: 0.9485 MB / 452.8 MB, free: 27.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.4207, allocations: 0.9081 MB / 453.7 MB, free: 26.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.4207, allocations: 6.312 kB / 453.7 MB, free: 26.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.008351/0.4291, allocations: 3.618 MB / 457.3 MB, free: 25.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.51e-05/0.4291, allocations: 5.906 kB / 457.3 MB, free: 25.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/0.4291, allocations: 0 / 457.3 MB, free: 25.17 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009171/0.4383, allocations: 2.343 MB / 459.7 MB, free: 24.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.4394, allocations: 215.5 kB / 459.9 MB, free: 24.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02172/0.4611, allocations: 10.34 MB / 470.2 MB, free: 18.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/0.4625, allocations: 150.8 kB / 470.4 MB, free: 18.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001379/0.4627, allocations: 55.53 kB / 470.4 MB, free: 18.72 MB / 350.1 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 (n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 129 * 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 {20 48} Notification: Performance of prepare postOptimizeDAE: time 0.0005293/0.4632, allocations: 248.7 kB / 470.7 MB, free: 18.53 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.4635, allocations: 98.72 kB / 470.8 MB, free: 18.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009905/0.4734, allocations: 3.616 MB / 474.4 MB, free: 17.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.628e-05/0.4735, allocations: 15.81 kB / 474.4 MB, free: 17.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.4735, allocations: 1.219 kB / 474.4 MB, free: 17.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-05/0.4735, allocations: 8.531 kB / 474.4 MB, free: 17.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/0.486, allocations: 5.128 MB / 479.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.378e-05/0.4861, allocations: 0 / 479.5 MB, free: 14.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000714/0.4868, allocations: 168.5 kB / 479.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009267/0.4961, allocations: 2.235 MB / 481.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002376/0.4964, allocations: 34.61 kB / 482 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01645/0.5129, allocations: 10.2 MB / 492.2 MB, free: 5.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/0.5129, allocations: 4 kB / 492.2 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008632/0.5216, allocations: 3.522 MB / 495.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005467/0.5222, allocations: 195.4 kB / 495.9 MB, free: 1.855 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004154/0.5226, allocations: 29.19 kB / 495.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001088/0.5237, allocations: 92.8 kB / 496 MB, free: 1.742 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005481/0.5242, allocations: 130.4 kB / 496.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.5244, allocations: 49.3 kB / 496.2 MB, free: 1.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005611/0.5249, allocations: 367.1 kB / 496.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5249, allocations: 0 / 496.5 MB, free: 1.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001717/0.5267, allocations: 0.527 MB / 497.1 MB, free: 0.6797 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: 1 (n.y) * 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 {20 48} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003116/0.527, allocations: 160 kB / 497.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.007167/0.5342, allocations: 2.851 MB / 0.4883 GB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/0.5343, allocations: 0 / 0.4883 GB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004904/0.5392, allocations: 1.815 MB / 0.4901 GB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008584/0.5401, allocations: 85.62 kB / 0.4902 GB, free: 11.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003999/0.5441, allocations: 2.403 MB / 0.4925 GB, free: 9.359 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00068/0.5448, allocations: 1.073 MB / 0.4936 GB, free: 8.254 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006144/0.5454, allocations: 132 kB / 0.4937 GB, free: 8.121 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.5456, allocations: 87.39 kB / 0.4938 GB, free: 8.035 MB / 366.1 MB Notification: Performance of SimCode: time 1.222e-06/0.5456, allocations: 4 kB / 0.4938 GB, free: 8.031 MB / 366.1 MB Notification: Performance of Templates: time 0.05298/0.5986, allocations: 31.66 MB / 0.5247 GB, free: 8.512 MB / 398.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: