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.001319/0.001319, allocations: 104.5 kB / 16.45 MB, free: 6.391 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.001475/0.001475, allocations: 189.4 kB / 17.38 MB, free: 5.648 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.405/1.405, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05091/0.05091, allocations: 8.101 MB / 299.3 MB, free: 6.586 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 64.14 kB / 414.5 MB, free: 21.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1043, allocations: 51.52 MB / 466 MB, free: 2.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.007668/0.1121, allocations: 6.481 MB / 472.5 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003343/0.1154, allocations: 1.486 MB / 474 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006634/0.1161, allocations: 16 kB / 474 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007758/0.117, allocations: 306 kB / 474.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.1184, allocations: 0.5511 MB / 474.8 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.1213, allocations: 1.423 MB / 476.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001454/0.1228, allocations: 1.178 MB / 477.4 MB, free: 6.613 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006516/0.1235, allocations: 396.8 kB / 477.8 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008013/0.1243, allocations: 494.1 kB / 478.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007982/0.1251, allocations: 0.6458 MB / 479 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001355/0.1252, allocations: 92 kB / 479.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007372/0.126, allocations: 343.8 kB / 479.4 MB, free: 4.645 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.1262, allocations: 235.1 kB / 479.6 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005398/0.1267, allocations: 0.5596 MB / 480.2 MB, free: 3.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00166/0.1284, allocations: 1.324 MB / 481.5 MB, free: 2.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.525e-06/0.1284, allocations: 4 kB / 481.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1284, allocations: 0 / 481.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.11e-05/0.1285, allocations: 0 / 481.5 MB, free: 2.52 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.01115/0.1396, allocations: 2.944 MB / 484.4 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.1397, allocations: 8.031 kB / 484.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.1399, allocations: 131.5 kB / 484.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008747/0.1408, allocations: 0.6125 MB / 485.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001173/0.1409, allocations: 130.3 kB / 485.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.1411, allocations: 96.38 kB / 485.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.1431, allocations: 1.295 MB / 486.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.1431, allocations: 0 / 486.7 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.1432, allocations: 36 kB / 486.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/0.1433, allocations: 20 kB / 486.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002013/0.1453, allocations: 1.214 MB / 488 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006391/0.1517, allocations: 5.015 MB / 493 MB, free: 6.453 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002543/0.1543, allocations: 2.234 MB / 495.2 MB, free: 4.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/0.1555, allocations: 0.9523 MB / 496.2 MB, free: 3.156 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.1557, allocations: 37.25 kB / 496.2 MB, free: 3.121 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.076e-05/0.1558, allocations: 59.81 kB / 496.3 MB, free: 3.055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=148): time 3.536e-06/0.1558, allocations: 0 / 496.3 MB, free: 3.055 MB / 366.1 MB Notification: Performance of matching and sorting (n=148): time 0.03149/0.1873, allocations: 7.938 MB / 0.4924 GB, free: 11.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.1874, allocations: 145.8 kB / 0.4925 GB, free: 10.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008582/0.1883, allocations: 0.5585 MB / 0.4931 GB, free: 10.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002462/0.1885, allocations: 57.7 kB / 0.4931 GB, free: 10.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.1888, allocations: 306.4 kB / 0.4934 GB, free: 9.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005304/0.1894, allocations: 0.4888 MB / 0.4939 GB, free: 9.473 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005874/0.19, allocations: 279.5 kB / 0.4942 GB, free: 9.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.1901, allocations: 349.9 kB / 0.4945 GB, free: 8.848 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.1916, allocations: 0.8356 MB / 0.4953 GB, free: 8.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001443/0.1931, allocations: 0.962 MB / 0.4963 GB, free: 7.043 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002899/0.196, allocations: 1.873 MB / 0.4981 GB, free: 5.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.196, allocations: 0 / 0.4981 GB, free: 5.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009217/0.2052, allocations: 3.655 MB / 0.5017 GB, free: 1.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.344e-05/0.2053, allocations: 4 kB / 0.5017 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.2053, allocations: 0 / 0.5017 GB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2541/0.4594, allocations: 2.328 MB / 0.5039 GB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009603/0.4604, allocations: 216.7 kB / 0.5041 GB, free: 43.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/0.4796, allocations: 10.82 MB / 0.5147 GB, free: 38.76 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.481, allocations: 143.2 kB / 0.5148 GB, free: 38.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001401/0.4811, allocations: 51.45 kB / 0.5149 GB, free: 38.68 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.0005454/0.4817, allocations: 254 kB / 0.5151 GB, free: 38.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002699/0.4819, allocations: 95.62 kB / 0.5152 GB, free: 38.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00873/0.4907, allocations: 3.616 MB / 0.5188 GB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.4907, allocations: 17.28 kB / 0.5188 GB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4907, allocations: 3.969 kB / 0.5188 GB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.168e-05/0.4908, allocations: 8.109 kB / 0.5188 GB, free: 37.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/0.5011, allocations: 5.119 MB / 0.5238 GB, free: 34.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.231e-05/0.5012, allocations: 0 / 0.5238 GB, free: 34.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005413/0.5017, allocations: 167.7 kB / 0.5239 GB, free: 34.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008299/0.51, allocations: 2.224 MB / 0.5261 GB, free: 34.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/0.5102, allocations: 31.61 kB / 0.5261 GB, free: 34.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/0.5263, allocations: 10.67 MB / 0.5366 GB, free: 26.45 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.5263, allocations: 0 / 0.5366 GB, free: 26.45 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007707/0.534, allocations: 3.531 MB / 0.54 GB, free: 22.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.5343, allocations: 191.5 kB / 0.5402 GB, free: 22.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.5345, allocations: 28 kB / 0.5402 GB, free: 22.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008541/0.5353, allocations: 76.83 kB / 0.5403 GB, free: 22.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004777/0.5358, allocations: 130.4 kB / 0.5404 GB, free: 22.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.5359, allocations: 47.98 kB / 0.5405 GB, free: 22.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004125/0.5364, allocations: 379.1 kB / 0.5408 GB, free: 22.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5364, allocations: 3.062 kB / 0.5408 GB, free: 22.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00156/0.5379, allocations: 0.5258 MB / 0.5413 GB, free: 21.51 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.0003288/0.5383, allocations: 165.2 kB / 0.5415 GB, free: 21.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005719/0.544, allocations: 2.899 MB / 0.5443 GB, free: 18.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.5441, allocations: 0 / 0.5443 GB, free: 18.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004144/0.5482, allocations: 1.856 MB / 0.5461 GB, free: 16.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000914/0.5491, allocations: 114.9 kB / 0.5463 GB, free: 16.48 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00352/0.5527, allocations: 2.039 MB / 0.5482 GB, free: 14.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.5532, allocations: 1.054 MB / 0.5493 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004437/0.5536, allocations: 139.2 kB / 0.5494 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002118/0.5538, allocations: 79.41 kB / 0.5495 GB, free: 13.14 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.5538, allocations: 4 kB / 0.5495 GB, free: 13.14 MB / 382.1 MB Notification: Performance of Templates: time 0.05276/0.6066, allocations: 35.73 MB / 0.5844 GB, free: 9.52 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)