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.001079/0.001079, allocations: 110.1 kB / 16.45 MB, free: 6.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001102/0.001102, allocations: 186.4 kB / 17.39 MB, free: 5.688 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.384/1.384, allocations: 222.9 MB / 241.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05815/0.05815, allocations: 8.095 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 67.89 kB / 414.5 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1148, allocations: 51.51 MB / 466 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.007363/0.1222, allocations: 6.485 MB / 472.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003775/0.126, allocations: 1.49 MB / 474 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003678/0.1264, allocations: 16 kB / 474 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006889/0.1272, allocations: 302 kB / 474.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.1283, allocations: 0.5472 MB / 474.8 MB, free: 9.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002502/0.1308, allocations: 1.432 MB / 476.3 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.1319, allocations: 1.171 MB / 477.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005054/0.1324, allocations: 396.8 kB / 477.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003988/0.1328, allocations: 494.1 kB / 478.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006506/0.1335, allocations: 0.6497 MB / 479 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001199/0.1336, allocations: 92 kB / 479.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005596/0.1342, allocations: 339.7 kB / 479.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001785/0.1344, allocations: 239 kB / 479.6 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004626/0.1348, allocations: 0.5596 MB / 480.2 MB, free: 3.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.1361, allocations: 1.328 MB / 481.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.1361, allocations: 0 / 481.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1361, allocations: 0 / 481.5 MB, free: 2.586 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.143e-05/0.1361, allocations: 4 kB / 481.5 MB, free: 2.582 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.01145/0.1476, allocations: 2.936 MB / 484.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.1476, allocations: 8.031 kB / 484.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002857/0.1479, allocations: 127.5 kB / 484.6 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000866/0.1488, allocations: 0.6242 MB / 485.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001114/0.1489, allocations: 130.3 kB / 485.3 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.1491, allocations: 96.38 kB / 485.4 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002154/0.1512, allocations: 1.284 MB / 486.7 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.1513, allocations: 4 kB / 486.7 MB, free: 13.25 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001135/0.1514, allocations: 36 kB / 486.7 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/0.1514, allocations: 20 kB / 486.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001839/0.1533, allocations: 1.226 MB / 488 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006452/0.1598, allocations: 5.012 MB / 493 MB, free: 6.516 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/0.1624, allocations: 2.23 MB / 495.2 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/0.1637, allocations: 0.9562 MB / 496.2 MB, free: 3.219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001264/0.1638, allocations: 37.25 kB / 496.2 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.1639, allocations: 51.88 kB / 496.3 MB, free: 3.125 MB / 366.1 MB Notification: Performance of pre-optimization done (n=148): time 3.176e-06/0.1639, allocations: 0 / 496.3 MB, free: 3.125 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.03247/0.1964, allocations: 7.942 MB / 0.4924 GB, free: 11.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.885e-05/0.1965, allocations: 149.8 kB / 0.4925 GB, free: 10.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008494/0.1974, allocations: 0.5585 MB / 0.4931 GB, free: 10.4 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002541/0.1976, allocations: 65.7 kB / 0.4931 GB, free: 10.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.1979, allocations: 294.4 kB / 0.4934 GB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005405/0.1985, allocations: 0.4927 MB / 0.4939 GB, free: 9.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004858/0.1989, allocations: 275.6 kB / 0.4942 GB, free: 9.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.1991, allocations: 341.9 kB / 0.4945 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.2004, allocations: 0.8356 MB / 0.4953 GB, free: 8.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/0.2018, allocations: 0.9619 MB / 0.4963 GB, free: 7.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002705/0.2045, allocations: 1.881 MB / 0.4981 GB, free: 5.238 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.2045, allocations: 0 / 0.4981 GB, free: 5.238 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.0093/0.2138, allocations: 3.647 MB / 0.5017 GB, free: 1.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.2139, allocations: 4 kB / 0.5017 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.2139, allocations: 0 / 0.5017 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2599/0.4738, allocations: 2.327 MB / 0.5039 GB, free: 43.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.4748, allocations: 218.8 kB / 0.5041 GB, free: 43.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02386/0.4987, allocations: 10.82 MB / 0.5147 GB, free: 38.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/0.5004, allocations: 140 kB / 0.5148 GB, free: 38.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000199/0.5006, allocations: 50.84 kB / 0.5149 GB, free: 38.74 MB / 382.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,48)} Notification: Performance of prepare postOptimizeDAE: time 0.0007301/0.5014, allocations: 257.8 kB / 0.5151 GB, free: 38.53 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000356/0.5017, allocations: 94.81 kB / 0.5152 GB, free: 38.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/0.5121, allocations: 3.614 MB / 0.5188 GB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.5121, allocations: 16.53 kB / 0.5188 GB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.5121, allocations: 1.656 kB / 0.5188 GB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.39e-05/0.5122, allocations: 7.781 kB / 0.5188 GB, free: 37.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01146/0.5236, allocations: 5.123 MB / 0.5238 GB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.5237, allocations: 3.156 kB / 0.5238 GB, free: 34.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005836/0.5243, allocations: 166.8 kB / 0.5239 GB, free: 34.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009114/0.5334, allocations: 2.217 MB / 0.5261 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000141/0.5336, allocations: 35.62 kB / 0.5261 GB, free: 34.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0177/0.5513, allocations: 10.67 MB / 0.5366 GB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5513, allocations: 4 kB / 0.5366 GB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00871/0.56, allocations: 3.527 MB / 0.54 GB, free: 23.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003433/0.5604, allocations: 195.5 kB / 0.5402 GB, free: 22.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/0.5606, allocations: 24 kB / 0.5402 GB, free: 22.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009047/0.5615, allocations: 75.95 kB / 0.5403 GB, free: 22.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005106/0.562, allocations: 130.4 kB / 0.5404 GB, free: 22.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001147/0.5621, allocations: 47.94 kB / 0.5405 GB, free: 22.54 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004526/0.5626, allocations: 383.1 kB / 0.5408 GB, free: 22.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.064e-06/0.5626, allocations: 0 / 0.5408 GB, free: 22.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001612/0.5642, allocations: 0.5295 MB / 0.5413 GB, free: 21.64 MB / 382.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(20,48)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003125/0.5645, allocations: 157.3 kB / 0.5415 GB, free: 21.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00588/0.5704, allocations: 2.896 MB / 0.5443 GB, free: 18.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.5705, allocations: 7.938 kB / 0.5443 GB, free: 18.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004038/0.5745, allocations: 1.854 MB / 0.5461 GB, free: 16.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008105/0.5753, allocations: 119.6 kB / 0.5463 GB, free: 16.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/0.5794, allocations: 2.038 MB / 0.5482 GB, free: 14.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008048/0.5803, allocations: 1.057 MB / 0.5493 GB, free: 13.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005855/0.5809, allocations: 135.2 kB / 0.5494 GB, free: 13.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.5811, allocations: 83.41 kB / 0.5495 GB, free: 13.26 MB / 382.1 MB Notification: Performance of SimCode: time 2.234e-06/0.5811, allocations: 0 / 0.5495 GB, free: 13.26 MB / 382.1 MB Notification: Performance of Templates: time 0.054/0.6351, allocations: 35.72 MB / 0.5844 GB, free: 9.645 MB / 414.1 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)