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.001024/0.001024, allocations: 100.8 kB / 16.02 MB, free: 6.336 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.001056/0.001056, allocations: 199.1 kB / 16.95 MB, free: 6.152 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.359/1.359, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05598/0.05598, allocations: 8.098 MB / 298.9 MB, free: 6.91 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 59.91 kB / 361.2 MB, free: 8.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2315/0.2327, allocations: 51.52 MB / 412.7 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.006182/0.2389, allocations: 6.434 MB / 419.2 MB, free: 19.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00304/0.242, allocations: 1.477 MB / 420.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003369/0.2423, allocations: 16 kB / 420.7 MB, free: 17.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006343/0.243, allocations: 242.8 kB / 420.9 MB, free: 17.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.2442, allocations: 0.4933 MB / 421.4 MB, free: 17.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00213/0.2463, allocations: 1.333 MB / 422.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009512/0.2473, allocations: 1.155 MB / 423.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004259/0.2477, allocations: 396.8 kB / 424.3 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.248, allocations: 498 kB / 424.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005056/0.2485, allocations: 0.6459 MB / 425.4 MB, free: 13.06 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.2486, allocations: 92 kB / 425.5 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005548/0.2492, allocations: 335.8 kB / 425.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.2493, allocations: 239 kB / 426.1 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003343/0.2497, allocations: 0.5713 MB / 426.6 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001021/0.2507, allocations: 1.3 MB / 427.9 MB, free: 10.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.854e-06/0.2507, allocations: 4 kB / 427.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.2507, allocations: 0 / 427.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.2508, allocations: 0 / 427.9 MB, free: 10.52 MB / 302.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.01062/0.2614, allocations: 2.947 MB / 430.9 MB, free: 7.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2615, allocations: 16.03 kB / 430.9 MB, free: 7.504 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002396/0.2617, allocations: 123.5 kB / 431 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006786/0.2624, allocations: 0.6125 MB / 431.6 MB, free: 6.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.964e-05/0.2625, allocations: 130.3 kB / 431.8 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.2626, allocations: 96.38 kB / 431.8 MB, free: 6.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0016/0.2642, allocations: 1.292 MB / 433.1 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2642, allocations: 0 / 433.1 MB, free: 5.188 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.186e-05/0.2643, allocations: 40 kB / 433.2 MB, free: 5.148 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.2643, allocations: 23.98 kB / 433.2 MB, free: 5.125 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001432/0.2658, allocations: 1.214 MB / 434.4 MB, free: 3.914 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005346/0.2711, allocations: 5.039 MB / 439.5 MB, free: 14.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/0.2736, allocations: 2.238 MB / 441.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/0.2748, allocations: 0.9562 MB / 442.6 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.2749, allocations: 33.27 kB / 442.7 MB, free: 11.08 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.253e-05/0.275, allocations: 59.81 kB / 442.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=148): time 2.716e-06/0.275, allocations: 0 / 442.7 MB, free: 11.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.03257/0.3076, allocations: 7.934 MB / 450.7 MB, free: 3.039 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.883e-05/0.3077, allocations: 145.8 kB / 450.8 MB, free: 2.867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006903/0.3084, allocations: 0.5546 MB / 451.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001957/0.3086, allocations: 61.7 kB / 451.4 MB, free: 2.238 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.3088, allocations: 306.3 kB / 451.7 MB, free: 1.934 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003823/0.3092, allocations: 0.4889 MB / 452.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004462/0.3096, allocations: 279.5 kB / 452.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3098, allocations: 345.9 kB / 452.8 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001194/0.311, allocations: 0.8357 MB / 453.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001299/0.3123, allocations: 0.962 MB / 454.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002677/0.315, allocations: 1.873 MB / 456.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.315, allocations: 0 / 456.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009616/0.3246, allocations: 3.651 MB / 460.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.028e-05/0.3247, allocations: 6.031 kB / 460.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/0.3247, allocations: 0 / 460.2 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009696/0.3344, allocations: 2.35 MB / 462.5 MB, free: 7.109 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000867/0.3353, allocations: 215.7 kB / 462.7 MB, free: 6.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0193/0.3546, allocations: 10.84 MB / 473.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.3557, allocations: 138.5 kB / 473.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001358/0.3559, allocations: 47.98 kB / 473.7 MB, free: 11.75 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 (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.0004873/0.3564, allocations: 257.6 kB / 474 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.3566, allocations: 106.7 kB / 474.1 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009516/0.3661, allocations: 3.613 MB / 477.7 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/0.3662, allocations: 20 kB / 477.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3662, allocations: 0 / 477.7 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.52e-05/0.3662, allocations: 7.969 kB / 477.7 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0109/0.3771, allocations: 5.131 MB / 482.9 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.3772, allocations: 0 / 482.9 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005659/0.3778, allocations: 167.8 kB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009376/0.3871, allocations: 2.233 MB / 485.3 MB, free: 132 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000167/0.3873, allocations: 28 kB / 485.3 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01784/0.4052, allocations: 10.69 MB / 496 MB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4052, allocations: 0 / 496 MB, free: 5.262 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/0.4156, allocations: 3.522 MB / 499.5 MB, free: 1.711 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003485/0.416, allocations: 195.4 kB / 499.7 MB, free: 1.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001826/0.4162, allocations: 28 kB / 499.7 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009665/0.4171, allocations: 79.88 kB / 499.8 MB, free: 1.395 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005385/0.4177, allocations: 138.2 kB / 499.9 MB, free: 1.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.4178, allocations: 44 kB / 500 MB, free: 1.219 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004425/0.4182, allocations: 383.1 kB / 0.4886 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4182, allocations: 0 / 0.4886 GB, free: 0.8438 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001445/0.4197, allocations: 0.5231 MB / 0.4891 GB, free: 328 kB / 366.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.0003083/0.42, allocations: 147.6 kB / 0.4893 GB, free: 172 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00711/0.4271, allocations: 2.944 MB / 0.4922 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4272, allocations: 0 / 0.4922 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00423/0.4314, allocations: 1.859 MB / 0.494 GB, free: 11.35 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008545/0.4323, allocations: 113.6 kB / 0.4941 GB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003887/0.4362, allocations: 2.477 MB / 0.4965 GB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006776/0.4369, allocations: 1.054 MB / 0.4975 GB, free: 7.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004947/0.4374, allocations: 135.2 kB / 0.4977 GB, free: 7.527 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.4376, allocations: 79.41 kB / 0.4977 GB, free: 7.449 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4376, allocations: 0 / 0.4977 GB, free: 7.449 MB / 382.1 MB Notification: Performance of Templates: time 0.2302/0.6678, allocations: 35.3 MB / 0.5322 GB, free: 74.27 MB / 382.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)