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-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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.001392/0.001392, allocations: 115.3 kB / 17.13 MB, free: 5.938 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.001556/0.001556, allocations: 193.2 kB / 18.06 MB, free: 5.023 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.317/1.317, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04507/0.04507, allocations: 8.103 MB / 300 MB, free: 6.629 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.89 kB / 415.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08169/0.08289, allocations: 51.51 MB / 466.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.006556/0.08948, allocations: 6.481 MB / 473.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002564/0.09207, allocations: 1.494 MB / 474.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002648/0.09235, allocations: 16 kB / 474.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005645/0.09294, allocations: 306 kB / 475 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009742/0.09392, allocations: 0.5511 MB / 475.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.09637, allocations: 1.42 MB / 476.9 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00114/0.09752, allocations: 1.175 MB / 478.1 MB, free: 6.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004906/0.09802, allocations: 392.8 kB / 478.5 MB, free: 6.273 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004046/0.09843, allocations: 494.1 kB / 479 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006709/0.09911, allocations: 0.6497 MB / 479.6 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.09925, allocations: 92 kB / 479.7 MB, free: 5.047 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005502/0.09981, allocations: 331.8 kB / 480 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.09998, allocations: 243 kB / 480.3 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004362/0.1004, allocations: 0.5674 MB / 480.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.1016, allocations: 1.328 MB / 482.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1016, allocations: 0 / 482.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1016, allocations: 0 / 482.2 MB, free: 2.582 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.1017, allocations: 0 / 482.2 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.01151/0.1132, allocations: 2.932 MB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.1132, allocations: 8.031 kB / 485.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002479/0.1135, allocations: 127.5 kB / 485.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007876/0.1143, allocations: 0.6281 MB / 485.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.1144, allocations: 130.3 kB / 486 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001457/0.1145, allocations: 96.38 kB / 486.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.1165, allocations: 1.299 MB / 487.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1165, allocations: 0 / 487.4 MB, free: 13.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.1166, allocations: 32 kB / 487.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.1166, allocations: 20 kB / 487.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.1184, allocations: 1.218 MB / 488.7 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005991/0.1244, allocations: 5.019 MB / 493.7 MB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002469/0.1269, allocations: 2.222 MB / 495.9 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.1281, allocations: 0.9601 MB / 496.9 MB, free: 3.215 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/0.1283, allocations: 33.27 kB / 496.9 MB, free: 3.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.725e-05/0.1283, allocations: 51.88 kB / 496.9 MB, free: 3.125 MB / 366.1 MB Notification: Performance of pre-optimization done (n=148): time 3.296e-06/0.1283, allocations: 4 kB / 497 MB, free: 3.121 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.03137/0.1597, allocations: 7.934 MB / 0.4931 GB, free: 11.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.1598, allocations: 153.8 kB / 0.4932 GB, free: 10.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007233/0.1605, allocations: 0.5624 MB / 0.4937 GB, free: 10.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.1607, allocations: 57.7 kB / 0.4938 GB, free: 10.33 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002103/0.1609, allocations: 298.4 kB / 0.4941 GB, free: 10.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003952/0.1613, allocations: 0.4927 MB / 0.4946 GB, free: 9.535 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004502/0.1618, allocations: 271.6 kB / 0.4948 GB, free: 9.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1619, allocations: 345.9 kB / 0.4952 GB, free: 8.922 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.1632, allocations: 0.8357 MB / 0.496 GB, free: 8.086 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001539/0.1647, allocations: 0.9619 MB / 0.4969 GB, free: 7.117 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002887/0.1676, allocations: 1.873 MB / 0.4987 GB, free: 5.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1676, allocations: 0 / 0.4987 GB, free: 5.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009294/0.1769, allocations: 3.655 MB / 0.5023 GB, free: 1.578 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.177, allocations: 4 kB / 0.5023 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.177, allocations: 3.984 kB / 0.5023 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1957/0.3727, allocations: 2.331 MB / 0.5046 GB, free: 43.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008927/0.3736, allocations: 216.8 kB / 0.5048 GB, free: 43.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01913/0.3928, allocations: 10.82 MB / 0.5154 GB, free: 38.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.3939, allocations: 141.4 kB / 0.5155 GB, free: 38.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.3941, allocations: 49.81 kB / 0.5155 GB, free: 38.75 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.0004397/0.3945, allocations: 262.1 kB / 0.5158 GB, free: 38.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002209/0.3947, allocations: 95.03 kB / 0.5159 GB, free: 38.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009185/0.4039, allocations: 3.617 MB / 0.5194 GB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.404, allocations: 15.97 kB / 0.5194 GB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.404, allocations: 0 / 0.5194 GB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-05/0.404, allocations: 9.375 kB / 0.5194 GB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009858/0.4139, allocations: 5.122 MB / 0.5244 GB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/0.4139, allocations: 1.5 kB / 0.5244 GB, free: 34.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000522/0.4144, allocations: 167.8 kB / 0.5246 GB, free: 34.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008458/0.4229, allocations: 2.218 MB / 0.5268 GB, free: 34.45 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.039e-05/0.423, allocations: 31.73 kB / 0.5268 GB, free: 34.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01586/0.4388, allocations: 10.68 MB / 0.5372 GB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4389, allocations: 4 kB / 0.5372 GB, free: 26.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007949/0.4468, allocations: 3.531 MB / 0.5407 GB, free: 23.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001477/0.447, allocations: 191.5 kB / 0.5409 GB, free: 22.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.4471, allocations: 24 kB / 0.5409 GB, free: 22.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000832/0.448, allocations: 73.81 kB / 0.541 GB, free: 22.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003122/0.4483, allocations: 130.4 kB / 0.5411 GB, free: 22.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.984e-05/0.4484, allocations: 51.98 kB / 0.5411 GB, free: 22.53 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003711/0.4488, allocations: 379.1 kB / 0.5415 GB, free: 22.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.372e-06/0.4488, allocations: 0 / 0.5415 GB, free: 22.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001256/0.45, allocations: 0.5251 MB / 0.542 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.0002427/0.4503, allocations: 164 kB / 0.5422 GB, free: 21.47 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005183/0.4555, allocations: 2.894 MB / 0.545 GB, free: 18.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.4555, allocations: 4 kB / 0.545 GB, free: 18.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003706/0.4592, allocations: 1.851 MB / 0.5468 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.0006995/0.4599, allocations: 122.8 kB / 0.5469 GB, free: 16.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.4628, allocations: 2.073 MB / 0.5489 GB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.4631, allocations: 1.054 MB / 0.55 GB, free: 13.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002262/0.4634, allocations: 95.39 kB / 0.5501 GB, free: 13.35 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4634, allocations: 0 / 0.5501 GB, free: 13.35 MB / 382.1 MB Notification: Performance of Templates: time 0.02014/0.4835, allocations: 20.68 MB / 0.5703 GB, free: 8.672 MB / 398.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)