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.00119/0.001191, allocations: 105 kB / 16.57 MB, free: 6.262 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.001229/0.00123, allocations: 194.7 kB / 17.49 MB, free: 5.875 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.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05336/0.05336, allocations: 8.107 MB / 299.4 MB, free: 6.941 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 59.91 kB / 361.7 MB, free: 8.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2165, allocations: 51.52 MB / 413.2 MB, free: 25.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.005055/0.2216, allocations: 6.438 MB / 419.6 MB, free: 19.37 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.2242, allocations: 1.485 MB / 421.1 MB, free: 17.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006443/0.2249, allocations: 16 kB / 421.1 MB, free: 17.86 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000757/0.2257, allocations: 254.8 kB / 421.4 MB, free: 17.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.2271, allocations: 489.2 kB / 421.9 MB, free: 17.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.2293, allocations: 1.381 MB / 423.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001283/0.2306, allocations: 1.12 MB / 424.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004387/0.2311, allocations: 342.1 kB / 424.7 MB, free: 14.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004869/0.2316, allocations: 458.1 kB / 425.1 MB, free: 13.83 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005674/0.2321, allocations: 0.6263 MB / 425.8 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.2323, allocations: 72 kB / 425.8 MB, free: 13.13 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008033/0.2331, allocations: 307.7 kB / 426.1 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001442/0.2332, allocations: 215 kB / 426.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004063/0.2336, allocations: 0.5362 MB / 426.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008539/0.2345, allocations: 0.9782 MB / 427.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2345, allocations: 0 / 427.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.2345, allocations: 0 / 427.9 MB, free: 11.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.2345, allocations: 0 / 427.9 MB, free: 11.1 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.01073/0.2453, allocations: 2.952 MB / 430.8 MB, free: 8.094 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.2453, allocations: 11.97 kB / 430.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002538/0.2456, allocations: 127.5 kB / 431 MB, free: 7.957 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007515/0.2464, allocations: 0.6125 MB / 431.6 MB, free: 7.305 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.717e-05/0.2465, allocations: 134.3 kB / 431.7 MB, free: 7.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/0.2466, allocations: 92.38 kB / 431.8 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/0.2484, allocations: 1.29 MB / 433.1 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.757e-05/0.2484, allocations: 0 / 433.1 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.992e-05/0.2485, allocations: 43.98 kB / 433.1 MB, free: 5.723 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.234e-05/0.2485, allocations: 19.94 kB / 433.1 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001613/0.2501, allocations: 1.214 MB / 434.4 MB, free: 4.488 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00604/0.2562, allocations: 5.047 MB / 439.4 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/0.259, allocations: 2.226 MB / 441.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.2604, allocations: 0.9523 MB / 442.6 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.2606, allocations: 37.25 kB / 442.6 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.605e-05/0.2606, allocations: 51.88 kB / 442.7 MB, free: 11.61 MB / 318.1 MB Notification: Performance of pre-optimization done (n=148): time 3.957e-06/0.2606, allocations: 3.938 kB / 442.7 MB, free: 11.6 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.03411/0.2948, allocations: 7.942 MB / 450.6 MB, free: 3.617 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.207e-05/0.2949, allocations: 149.8 kB / 450.8 MB, free: 3.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007693/0.2957, allocations: 0.5546 MB / 451.3 MB, free: 2.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002077/0.2959, allocations: 61.64 kB / 451.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002344/0.2961, allocations: 310.3 kB / 451.7 MB, free: 2.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004277/0.2966, allocations: 492.7 kB / 452.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000479/0.2971, allocations: 279.5 kB / 452.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2972, allocations: 337.9 kB / 452.8 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.2986, allocations: 0.8395 MB / 453.6 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00146/0.3, allocations: 0.9659 MB / 454.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002862/0.3029, allocations: 1.869 MB / 456.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.3029, allocations: 0 / 456.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.01008/0.313, allocations: 3.655 MB / 460.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.3131, allocations: 4 kB / 460.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.3131, allocations: 4 kB / 460.1 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01041/0.3235, allocations: 2.326 MB / 462.4 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000918/0.3245, allocations: 215.7 kB / 462.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01963/0.3441, allocations: 9.896 MB / 472.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.3453, allocations: 142.5 kB / 472.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001357/0.3454, allocations: 55.92 kB / 472.7 MB, free: 13.29 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.0004907/0.3459, allocations: 249.7 kB / 473 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/0.3462, allocations: 102.8 kB / 473.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009828/0.356, allocations: 3.613 MB / 476.7 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.287e-05/0.3561, allocations: 20 kB / 476.7 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3561, allocations: 3.938 kB / 476.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.4e-05/0.3561, allocations: 7.969 kB / 476.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/0.3681, allocations: 5.134 MB / 481.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.3682, allocations: 0 / 481.9 MB, free: 4.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006004/0.3688, allocations: 163.8 kB / 482 MB, free: 3.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01003/0.3788, allocations: 2.217 MB / 484.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002667/0.3791, allocations: 35.98 kB / 484.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01823/0.3974, allocations: 9.721 MB / 494 MB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.3974, allocations: 3.938 kB / 494 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009468/0.4069, allocations: 3.526 MB / 497.5 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/0.4074, allocations: 195.5 kB / 497.7 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002625/0.4076, allocations: 31.88 kB / 497.7 MB, free: 4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009059/0.4085, allocations: 79.94 kB / 497.8 MB, free: 3.922 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004848/0.409, allocations: 126.4 kB / 497.9 MB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.4091, allocations: 40 kB / 498 MB, free: 3.758 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004996/0.4097, allocations: 387 kB / 498.4 MB, free: 3.383 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4097, allocations: 0 / 498.4 MB, free: 3.383 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001413/0.4111, allocations: 0.5231 MB / 498.9 MB, free: 2.859 MB / 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.0003048/0.4114, allocations: 159.1 kB / 499 MB, free: 2.695 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005998/0.4174, allocations: 2.856 MB / 0.4901 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4174, allocations: 0 / 0.4901 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004297/0.4217, allocations: 1.827 MB / 0.4919 GB, free: 13.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008666/0.4226, allocations: 111 kB / 0.492 GB, free: 13.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003885/0.4265, allocations: 2.505 MB / 0.4945 GB, free: 11.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005857/0.4271, allocations: 1.054 MB / 0.4955 GB, free: 10.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002602/0.4274, allocations: 87.41 kB / 0.4956 GB, free: 10.18 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4274, allocations: 0 / 0.4956 GB, free: 10.18 MB / 382.1 MB Notification: Performance of Templates: time 0.1856/0.613, allocations: 20.61 MB / 0.5157 GB, free: 87.85 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)