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.001677/0.001677, allocations: 104.3 kB / 16.31 MB, free: 6.395 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.00191/0.00191, allocations: 186.4 kB / 17.24 MB, free: 5.922 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.442/1.442, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05467/0.05467, allocations: 8.104 MB / 299.2 MB, free: 6.742 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001401/0.001401, allocations: 67.89 kB / 361.7 MB, free: 8.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2804, allocations: 51.51 MB / 413.2 MB, free: 25.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.BreakerTests.DistrictWithOppositeBreakers): time 0.005556/0.286, allocations: 6.48 MB / 419.7 MB, free: 19.1 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003023/0.2891, allocations: 1.481 MB / 421.2 MB, free: 17.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007708/0.2899, allocations: 19.94 kB / 421.2 MB, free: 17.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000659/0.2906, allocations: 302 kB / 421.5 MB, free: 17.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.2917, allocations: 0.5589 MB / 422.1 MB, free: 16.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.2942, allocations: 1.406 MB / 423.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001567/0.2958, allocations: 1.163 MB / 424.6 MB, free: 14.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005213/0.2963, allocations: 400.8 kB / 425 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003566/0.2967, allocations: 494.1 kB / 425.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005682/0.2972, allocations: 0.642 MB / 426.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001234/0.2974, allocations: 96 kB / 426.3 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006163/0.298, allocations: 335.7 kB / 426.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.2982, allocations: 243 kB / 426.8 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003755/0.2985, allocations: 0.5596 MB / 427.4 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001071/0.2996, allocations: 1.308 MB / 428.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2996, allocations: 0 / 428.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2996, allocations: 0 / 428.7 MB, free: 10.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.2997, allocations: 0 / 428.7 MB, free: 10.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.01045/0.3101, allocations: 2.944 MB / 431.6 MB, free: 7.094 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.3102, allocations: 8.031 kB / 431.6 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.3104, allocations: 127.5 kB / 431.8 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007248/0.3112, allocations: 0.6164 MB / 432.4 MB, free: 6.301 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.873e-05/0.3113, allocations: 130.3 kB / 432.5 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001223/0.3114, allocations: 96.38 kB / 432.6 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.313, allocations: 1.296 MB / 433.9 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.3131, allocations: 0 / 433.9 MB, free: 4.754 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.641e-05/0.3132, allocations: 35.94 kB / 433.9 MB, free: 4.719 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.3132, allocations: 20 kB / 434 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001524/0.3147, allocations: 1.214 MB / 435.2 MB, free: 3.488 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005825/0.3206, allocations: 5.047 MB / 440.2 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/0.3232, allocations: 2.23 MB / 442.4 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001292/0.3246, allocations: 0.9587 MB / 443.4 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001353/0.3247, allocations: 33.27 kB / 443.4 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.738e-05/0.3248, allocations: 55.86 kB / 443.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=148): time 3.306e-06/0.3248, allocations: 0 / 443.5 MB, free: 10.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=148): time 0.03193/0.3567, allocations: 7.938 MB / 451.4 MB, free: 2.613 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.3568, allocations: 145.8 kB / 451.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007795/0.3576, allocations: 0.5585 MB / 452.1 MB, free: 1.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002163/0.3579, allocations: 57.7 kB / 452.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.3581, allocations: 306.3 kB / 452.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004457/0.3585, allocations: 0.4889 MB / 453 MB, free: 1.012 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004792/0.359, allocations: 279.4 kB / 453.2 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3592, allocations: 341.9 kB / 453.6 MB, free: 400 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/0.3605, allocations: 0.8357 MB / 454.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001368/0.3618, allocations: 0.9542 MB / 455.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002805/0.3647, allocations: 1.885 MB / 457.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.3647, allocations: 3.938 kB / 457.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=197) (initialization): time 0.009289/0.374, allocations: 3.647 MB / 460.9 MB, free: 9.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.374, allocations: 4 kB / 460.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.374, allocations: 0 / 460.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009239/0.3833, allocations: 2.346 MB / 463.3 MB, free: 6.691 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.3843, allocations: 223.6 kB / 463.5 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0246/0.4089, allocations: 10.82 MB / 474.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.4106, allocations: 142.5 kB / 474.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/0.411, allocations: 51.98 kB / 474.5 MB, free: 11.33 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.0008878/0.4119, allocations: 253.6 kB / 474.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003953/0.4123, allocations: 98.78 kB / 474.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/0.4227, allocations: 3.617 MB / 478.5 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.4228, allocations: 16 kB / 478.5 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4228, allocations: 4 kB / 478.5 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.497e-05/0.4228, allocations: 7.969 kB / 478.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/0.4347, allocations: 5.131 MB / 483.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.4347, allocations: 0 / 483.6 MB, free: 2.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006508/0.4354, allocations: 171.7 kB / 483.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009187/0.4446, allocations: 2.233 MB / 486 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000224/0.4449, allocations: 32 kB / 486 MB, free: 15.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01994/0.4648, allocations: 10.69 MB / 496.7 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4649, allocations: 0 / 496.7 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/0.4753, allocations: 3.526 MB / 0.4885 GB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.4757, allocations: 199.4 kB / 0.4887 GB, free: 1.078 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002283/0.4759, allocations: 32 kB / 0.4888 GB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009867/0.4769, allocations: 67.94 kB / 0.4888 GB, free: 0.9805 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006198/0.4776, allocations: 130.4 kB / 0.4889 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/0.4777, allocations: 47.94 kB / 0.489 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006892/0.4784, allocations: 383.1 kB / 0.4894 GB, free: 444 kB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4784, allocations: 4 kB / 0.4894 GB, free: 440 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.002215/0.4806, allocations: 0.5193 MB / 0.4899 GB, free: 15.91 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.0003816/0.481, allocations: 155 kB / 0.49 GB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007715/0.4888, allocations: 2.936 MB / 0.4929 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.4888, allocations: 4 kB / 0.4929 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004531/0.4933, allocations: 1.862 MB / 0.4947 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009572/0.4943, allocations: 121.3 kB / 0.4948 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004412/0.4987, allocations: 2.063 MB / 0.4968 GB, free: 8.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000843/0.4996, allocations: 1.054 MB / 0.4979 GB, free: 7.648 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005135/0.5001, allocations: 131.2 kB / 0.498 GB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.5004, allocations: 87.39 kB / 0.4981 GB, free: 7.43 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.5004, allocations: 0 / 0.4981 GB, free: 7.43 MB / 382.1 MB Notification: Performance of Templates: time 0.2054/0.7058, allocations: 35.35 MB / 0.5326 GB, free: 74.08 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)