Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.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.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") translateModel(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 103 kB / 16.45 MB, free: 6.434 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.00124/0.00124, allocations: 189 kB / 17.39 MB, free: 5.656 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.357/1.357, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05436/0.05436, allocations: 8.099 MB / 299.3 MB, free: 6.641 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 414.5 MB, free: 21.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1092, allocations: 51.53 MB / 466 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.01021/0.1195, allocations: 8.849 MB / 474.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006542/0.1261, allocations: 2.332 MB / 477.2 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.1276, allocations: 28 kB / 477.2 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.1289, allocations: 413.2 kB / 477.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003463/0.1324, allocations: 0.8385 MB / 478.5 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003829/0.1363, allocations: 1.599 MB / 480.1 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00321/0.1395, allocations: 1.902 MB / 482 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009433/0.1405, allocations: 0.696 MB / 482.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.1416, allocations: 0.7784 MB / 483.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.1428, allocations: 0.9922 MB / 484.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002354/0.143, allocations: 188 kB / 484.6 MB, free: 15.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009676/0.144, allocations: 423.8 kB / 485 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003275/0.1443, allocations: 410.5 kB / 485.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008917/0.1452, allocations: 0.906 MB / 486.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002571/0.1478, allocations: 2.306 MB / 488.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1478, allocations: 0 / 488.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1478, allocations: 0 / 488.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.111e-05/0.1479, allocations: 0 / 488.6 MB, free: 11.41 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.01783/0.1657, allocations: 4.159 MB / 492.8 MB, free: 7.188 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.1658, allocations: 8.031 kB / 492.8 MB, free: 7.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000451/0.1662, allocations: 187 kB / 493 MB, free: 6.996 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.1677, allocations: 0.9286 MB / 493.9 MB, free: 6.027 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.1678, allocations: 166.9 kB / 494.1 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002285/0.1681, allocations: 136.4 kB / 494.2 MB, free: 5.719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003426/0.1715, allocations: 2.021 MB / 496.2 MB, free: 3.652 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.413e-05/0.1715, allocations: 3.938 kB / 496.2 MB, free: 3.648 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000181/0.1717, allocations: 59.98 kB / 496.3 MB, free: 3.59 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/0.1718, allocations: 28 kB / 496.3 MB, free: 3.562 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003212/0.175, allocations: 1.946 MB / 498.3 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01131/0.1863, allocations: 8.181 MB / 0.4946 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004851/0.1912, allocations: 4.595 MB / 0.4991 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002094/0.1933, allocations: 1.403 MB / 0.5004 GB, free: 2.348 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001965/0.1935, allocations: 53.86 kB / 0.5005 GB, free: 2.297 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002578/0.1961, allocations: 1.437 MB / 0.5019 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of pre-optimization done (n=201): time 3.988e-06/0.1962, allocations: 0 / 0.5019 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of matching and sorting (n=201): time 0.3044/0.5005, allocations: 13.23 MB / 0.5148 GB, free: 41.67 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/0.5007, allocations: 176.5 kB / 0.515 GB, free: 41.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.5021, allocations: 0.8173 MB / 0.5158 GB, free: 41.02 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005709/0.5027, allocations: 71.02 kB / 0.5158 GB, free: 40.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000337/0.503, allocations: 437.8 kB / 0.5163 GB, free: 40.67 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005139/0.5036, allocations: 0.6614 MB / 0.5169 GB, free: 40.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006765/0.5042, allocations: 379.6 kB / 0.5173 GB, free: 39.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.523e-05/0.5043, allocations: 362.9 kB / 0.5176 GB, free: 39.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002092/0.5064, allocations: 1.255 MB / 0.5188 GB, free: 38.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/0.5085, allocations: 1.433 MB / 0.5202 GB, free: 38.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004028/0.5125, allocations: 2.807 MB / 0.523 GB, free: 36.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.5125, allocations: 0 / 0.523 GB, free: 36.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01244/0.525, allocations: 5.266 MB / 0.5281 GB, free: 33.37 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.525, allocations: 3.844 kB / 0.5281 GB, free: 33.37 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.525, allocations: 0 / 0.5281 GB, free: 33.37 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01299/0.538, allocations: 3.805 MB / 0.5318 GB, free: 30.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.5393, allocations: 316.5 kB / 0.5321 GB, free: 30.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02597/0.5653, allocations: 15.85 MB / 0.5476 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/0.5673, allocations: 205.9 kB / 0.5478 GB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.5674, allocations: 67.98 kB / 0.5479 GB, free: 14.28 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,n.y,cmd.pulseStart,$PRE.cmd.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (187): * Single equations (assignments): 186 * 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 {(28,58)} Notification: Performance of prepare postOptimizeDAE: time 0.000729/0.5682, allocations: 373.5 kB / 0.5482 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/0.5685, allocations: 142.3 kB / 0.5484 GB, free: 13.76 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/0.5813, allocations: 5.199 MB / 0.5535 GB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.782e-05/0.5814, allocations: 24 kB / 0.5535 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5814, allocations: 0 / 0.5535 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.953e-05/0.5814, allocations: 11.95 kB / 0.5535 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01506/0.5965, allocations: 7.728 MB / 0.561 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/0.5965, allocations: 8 kB / 0.561 GB, free: 0.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008896/0.5974, allocations: 235.7 kB / 0.5613 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01409/0.6115, allocations: 3.258 MB / 0.5644 GB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004473/0.612, allocations: 47.98 kB / 0.5645 GB, free: 13.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03187/0.6439, allocations: 15.64 MB / 0.5798 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.644, allocations: 0 / 0.5798 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01412/0.6581, allocations: 5.037 MB / 0.5847 GB, free: 8.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006672/0.6588, allocations: 238.8 kB / 0.5849 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005014/0.6593, allocations: 40 kB / 0.5849 GB, free: 8.074 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001641/0.661, allocations: 115 kB / 0.5851 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000693/0.6617, allocations: 178.5 kB / 0.5852 GB, free: 7.793 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000158/0.6619, allocations: 67.98 kB / 0.5853 GB, free: 7.727 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009216/0.6628, allocations: 0.5341 MB / 0.5858 GB, free: 7.195 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6628, allocations: 0 / 0.5858 GB, free: 7.195 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002338/0.6651, allocations: 0.7416 MB / 0.5865 GB, free: 6.453 MB / 414.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: 3 ($whenCondition1,cmd.pulseStart,n.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {(28,58)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004416/0.6656, allocations: 172.2 kB / 0.5867 GB, free: 6.281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00978/0.6754, allocations: 4.146 MB / 0.5908 GB, free: 2.125 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.6754, allocations: 9.281 kB / 0.5908 GB, free: 2.117 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00692/0.6824, allocations: 2.608 MB / 0.5933 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/0.684, allocations: 181.4 kB / 0.5935 GB, free: 15.33 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00621/0.6902, allocations: 3.072 MB / 0.5965 GB, free: 12.25 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009486/0.6912, allocations: 1.232 MB / 0.5977 GB, free: 10.98 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0008773/0.6921, allocations: 198 kB / 0.5979 GB, free: 10.79 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003802/0.6925, allocations: 123.4 kB / 0.598 GB, free: 10.66 MB / 430.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6925, allocations: 0 / 0.598 GB, free: 10.66 MB / 430.1 MB Notification: Performance of Templates: time 0.07975/0.7722, allocations: 53.74 MB / 0.6505 GB, free: 5.105 MB / 478.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.makefile (rm -f PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.sim & ./PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers.pipe 2>&1)