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.001466/0.001466, allocations: 99.98 kB / 16.02 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.001448/0.001448, allocations: 193.6 kB / 16.95 MB, free: 6.109 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.308/1.308, 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.05185/0.05185, allocations: 8.102 MB / 298.9 MB, free: 6.918 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 59.91 kB / 361.2 MB, free: 8.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2272, allocations: 51.51 MB / 412.7 MB, free: 25.81 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.006168/0.2334, allocations: 8.762 MB / 421.5 MB, free: 17.01 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003282/0.2367, allocations: 2.316 MB / 423.8 MB, free: 14.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004911/0.2373, allocations: 24 kB / 423.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006394/0.2379, allocations: 334.3 kB / 424.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.2392, allocations: 0.7382 MB / 424.9 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00219/0.2414, allocations: 1.501 MB / 426.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001508/0.2429, allocations: 1.871 MB / 428.3 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006686/0.2436, allocations: 0.696 MB / 429 MB, free: 9.488 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005947/0.2442, allocations: 0.7823 MB / 429.7 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007302/0.2449, allocations: 0.9883 MB / 430.7 MB, free: 7.711 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001661/0.2451, allocations: 188 kB / 430.9 MB, free: 7.527 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00065/0.2457, allocations: 431.8 kB / 431.3 MB, free: 7.105 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.2459, allocations: 402.5 kB / 431.7 MB, free: 6.711 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005262/0.2465, allocations: 0.9099 MB / 432.6 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.2479, allocations: 2.282 MB / 434.9 MB, free: 3.508 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2479, allocations: 0 / 434.9 MB, free: 3.508 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.2479, allocations: 3.984 kB / 434.9 MB, free: 3.504 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.2479, allocations: 0 / 434.9 MB, free: 3.504 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: 300 * Number of variables: 300 Notification: Performance of Generate backend data structure: time 0.01488/0.2628, allocations: 4.148 MB / 439.1 MB, free: 15.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.2629, allocations: 8.031 kB / 439.1 MB, free: 15.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003751/0.2632, allocations: 194.9 kB / 439.3 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001261/0.2645, allocations: 0.9324 MB / 440.2 MB, free: 14.12 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.2646, allocations: 166.9 kB / 440.4 MB, free: 13.94 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002119/0.2649, allocations: 140.4 kB / 440.5 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00293/0.2678, allocations: 2.017 MB / 442.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.2678, allocations: 3.938 kB / 442.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.268, allocations: 60 kB / 442.6 MB, free: 11.68 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.268, allocations: 28 kB / 442.6 MB, free: 11.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002592/0.2706, allocations: 1.946 MB / 444.6 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009211/0.2798, allocations: 8.216 MB / 452.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004127/0.284, allocations: 4.591 MB / 457.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001709/0.2857, allocations: 1.406 MB / 458.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/0.2859, allocations: 53.92 kB / 458.8 MB, free: 10.35 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002084/0.288, allocations: 1.44 MB / 460.3 MB, free: 8.902 MB / 334.1 MB Notification: Performance of pre-optimization done (n=201): time 3.928e-06/0.288, allocations: 0 / 460.3 MB, free: 8.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=201): time 0.05614/0.3442, allocations: 13.23 MB / 473.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.3443, allocations: 180.2 kB / 473.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.3453, allocations: 0.8097 MB / 474.5 MB, free: 10.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002637/0.3456, allocations: 73.7 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/0.3459, allocations: 438.9 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005601/0.3465, allocations: 0.6582 MB / 475.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006329/0.3471, allocations: 387.9 kB / 476 MB, free: 9.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.3472, allocations: 357.9 kB / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.3491, allocations: 1.258 MB / 477.6 MB, free: 7.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002157/0.3512, allocations: 1.438 MB / 479.1 MB, free: 5.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003877/0.3551, allocations: 2.803 MB / 481.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.3551, allocations: 0 / 481.9 MB, free: 3.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.0127/0.3678, allocations: 5.263 MB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.3679, allocations: 10.34 kB / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.3679, allocations: 0 / 487.1 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01355/0.3814, allocations: 3.836 MB / 491 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.3829, allocations: 307.6 kB / 491.3 MB, free: 9.621 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02855/0.4114, allocations: 15.88 MB / 0.4953 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001645/0.4131, allocations: 193.9 kB / 0.4955 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001836/0.4133, allocations: 75.98 kB / 0.4955 GB, free: 9.359 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.0007276/0.414, allocations: 377.5 kB / 0.4959 GB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/0.4143, allocations: 142.3 kB / 0.496 GB, free: 8.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01299/0.4273, allocations: 5.198 MB / 0.5011 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.061e-05/0.4274, allocations: 24 kB / 0.5011 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.4274, allocations: 0 / 0.5011 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.521e-05/0.4275, allocations: 11.95 kB / 0.5011 GB, free: 3.582 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2518/0.6793, allocations: 7.746 MB / 0.5087 GB, free: 90.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/0.6794, allocations: 0 / 0.5087 GB, free: 90.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008559/0.6803, allocations: 235.4 kB / 0.5089 GB, free: 90.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01356/0.6938, allocations: 3.285 MB / 0.5121 GB, free: 90.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004018/0.6943, allocations: 43.31 kB / 0.5122 GB, free: 90.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02415/0.7184, allocations: 15.66 MB / 0.5275 GB, free: 80.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.7185, allocations: 0 / 0.5275 GB, free: 80.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/0.7305, allocations: 5.024 MB / 0.5324 GB, free: 75.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004989/0.731, allocations: 243.5 kB / 0.5326 GB, free: 75.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003482/0.7314, allocations: 47.84 kB / 0.5327 GB, free: 75.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.7327, allocations: 114.7 kB / 0.5328 GB, free: 75.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008839/0.7336, allocations: 174.7 kB / 0.5329 GB, free: 75.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/0.7338, allocations: 71.98 kB / 0.533 GB, free: 75.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006911/0.7345, allocations: 0.5341 MB / 0.5335 GB, free: 74.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.7345, allocations: 4 kB / 0.5335 GB, free: 74.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002238/0.7367, allocations: 0.7307 MB / 0.5342 GB, free: 73.81 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: 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.000384/0.7371, allocations: 170.6 kB / 0.5344 GB, free: 73.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01037/0.7475, allocations: 4.219 MB / 0.5385 GB, free: 69.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.218e-05/0.7476, allocations: 5.281 kB / 0.5385 GB, free: 69.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006851/0.7544, allocations: 2.608 MB / 0.5411 GB, free: 66.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001518/0.756, allocations: 185 kB / 0.5412 GB, free: 66.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005908/0.7619, allocations: 3.695 MB / 0.5449 GB, free: 62.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/0.7627, allocations: 1.228 MB / 0.5461 GB, free: 61.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0009108/0.7636, allocations: 199.6 kB / 0.5462 GB, free: 61.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.7639, allocations: 115.4 kB / 0.5464 GB, free: 61.39 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.764, allocations: 0 / 0.5464 GB, free: 61.39 MB / 382.1 MB Notification: Performance of Templates: time 0.06504/0.829, allocations: 53.1 MB / 0.5982 GB, free: 8.492 MB / 382.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)