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.001437/0.001437, allocations: 112.4 kB / 16.46 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.001454/0.001454, allocations: 191 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.339/1.339, allocations: 222.9 MB / 241.1 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04629/0.04629, allocations: 8.094 MB / 299.3 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 59.91 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09996/0.1011, allocations: 51.52 MB / 466 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.StructuredNetwork.DoubleNetworkWithTwoOppositeBreakers): time 0.008776/0.1099, allocations: 8.842 MB / 474.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004232/0.1141, allocations: 2.336 MB / 477.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005062/0.1147, allocations: 28 kB / 477.2 MB, free: 6.883 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007811/0.1154, allocations: 417.1 kB / 477.6 MB, free: 6.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001485/0.117, allocations: 0.8269 MB / 478.4 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002868/0.1198, allocations: 1.607 MB / 480.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001856/0.1217, allocations: 1.906 MB / 482 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008232/0.1225, allocations: 0.6921 MB / 482.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007501/0.1233, allocations: 0.7784 MB / 483.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.1244, allocations: 0.9883 MB / 484.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002261/0.1246, allocations: 188 kB / 484.6 MB, free: 15.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006956/0.1253, allocations: 431.8 kB / 485 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003072/0.1256, allocations: 406.5 kB / 485.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007372/0.1264, allocations: 0.9138 MB / 486.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002156/0.1285, allocations: 2.312 MB / 488.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.1285, allocations: 0 / 488.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1286, allocations: 0 / 488.6 MB, free: 11.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.946e-05/0.1286, allocations: 0 / 488.6 MB, free: 11.38 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.0163/0.1449, allocations: 4.2 MB / 492.8 MB, free: 7.117 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1449, allocations: 8.031 kB / 492.9 MB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003839/0.1453, allocations: 191.9 kB / 493 MB, free: 6.922 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.1466, allocations: 0.937 MB / 494 MB, free: 5.945 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.1468, allocations: 162.9 kB / 494.1 MB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/0.147, allocations: 144.4 kB / 494.3 MB, free: 5.633 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00306/0.1501, allocations: 2.017 MB / 496.3 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.35e-05/0.1501, allocations: 0 / 496.3 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001513/0.1503, allocations: 59.94 kB / 496.4 MB, free: 3.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.226e-05/0.1503, allocations: 28 kB / 496.4 MB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002884/0.1532, allocations: 1.946 MB / 498.3 MB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01015/0.1633, allocations: 8.205 MB / 0.4947 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004395/0.1678, allocations: 4.575 MB / 0.4991 GB, free: 3.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001872/0.1697, allocations: 1.4 MB / 0.5005 GB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001971/0.1699, allocations: 49.92 kB / 0.5005 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002194/0.1721, allocations: 1.44 MB / 0.5019 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of pre-optimization done (n=201): time 3.477e-06/0.1721, allocations: 0 / 0.5019 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of matching and sorting (n=201): time 0.2788/0.4508, allocations: 13.25 MB / 0.5149 GB, free: 41.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.451, allocations: 180.9 kB / 0.5151 GB, free: 41.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.4521, allocations: 0.8109 MB / 0.5158 GB, free: 40.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002951/0.4524, allocations: 74.39 kB / 0.5159 GB, free: 40.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00028/0.4527, allocations: 437.8 kB / 0.5163 GB, free: 40.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004888/0.4532, allocations: 0.6983 MB / 0.517 GB, free: 39.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006532/0.4538, allocations: 385 kB / 0.5174 GB, free: 39.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.176e-05/0.4539, allocations: 360.5 kB / 0.5177 GB, free: 39.26 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00184/0.4558, allocations: 1.252 MB / 0.519 GB, free: 38.56 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.4576, allocations: 1.436 MB / 0.5204 GB, free: 37.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004141/0.4617, allocations: 2.804 MB / 0.5231 GB, free: 36.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.4618, allocations: 0 / 0.5231 GB, free: 36.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.01173/0.4735, allocations: 5.277 MB / 0.5282 GB, free: 33.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.4735, allocations: 7.75 kB / 0.5283 GB, free: 33.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4736, allocations: 0 / 0.5283 GB, free: 33.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01214/0.4857, allocations: 3.803 MB / 0.532 GB, free: 30.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.4869, allocations: 315.6 kB / 0.5323 GB, free: 30.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02417/0.5111, allocations: 15.87 MB / 0.5478 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/0.5129, allocations: 207.3 kB / 0.548 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/0.5131, allocations: 71.98 kB / 0.548 GB, free: 14.06 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.0006251/0.5137, allocations: 373.5 kB / 0.5484 GB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002386/0.514, allocations: 147.1 kB / 0.5485 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01187/0.5259, allocations: 5.203 MB / 0.5536 GB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-05/0.5259, allocations: 24 kB / 0.5536 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.526, allocations: 0 / 0.5536 GB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.269e-05/0.526, allocations: 11.95 kB / 0.5536 GB, free: 8.289 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01405/0.5401, allocations: 7.731 MB / 0.5612 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.5401, allocations: 8 kB / 0.5612 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007877/0.5409, allocations: 235.7 kB / 0.5614 GB, free: 316 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01271/0.5536, allocations: 3.262 MB / 0.5646 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000305/0.554, allocations: 51.92 kB / 0.5647 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03055/0.5845, allocations: 15.65 MB / 0.5799 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.5846, allocations: 0 / 0.5799 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01479/0.5994, allocations: 5.046 MB / 0.5849 GB, free: 8.133 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004788/0.5999, allocations: 247.6 kB / 0.5851 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004388/0.6004, allocations: 36 kB / 0.5851 GB, free: 7.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/0.6021, allocations: 119.8 kB / 0.5853 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008289/0.6029, allocations: 174.8 kB / 0.5854 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002567/0.6032, allocations: 63.98 kB / 0.5855 GB, free: 7.488 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001058/0.6043, allocations: 0.5381 MB / 0.586 GB, free: 6.953 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6043, allocations: 0 / 0.586 GB, free: 6.953 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002689/0.607, allocations: 0.7495 MB / 0.5867 GB, free: 6.203 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.0005379/0.6075, allocations: 171.2 kB / 0.5869 GB, free: 6.035 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009791/0.6173, allocations: 4.162 MB / 0.591 GB, free: 1.863 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.6174, allocations: 5.281 kB / 0.591 GB, free: 1.859 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006625/0.624, allocations: 2.618 MB / 0.5935 GB, free: 15.23 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001376/0.6254, allocations: 182 kB / 0.5937 GB, free: 15.06 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005372/0.6308, allocations: 3.121 MB / 0.5968 GB, free: 11.93 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007919/0.6316, allocations: 1.228 MB / 0.598 GB, free: 10.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007211/0.6323, allocations: 202 kB / 0.5981 GB, free: 10.46 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/0.6327, allocations: 115.4 kB / 0.5983 GB, free: 10.35 MB / 430.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6327, allocations: 0 / 0.5983 GB, free: 10.35 MB / 430.1 MB Notification: Performance of Templates: time 0.07532/0.708, allocations: 53.76 MB / 0.6507 GB, free: 4.777 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)