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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 181 kB / 8.045 MB, free: 1.016 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 221.5 MB / 230 MB, free: 3.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009811/0.0009811, allocations: 93.09 kB / 280.9 MB, free: 1.16 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05477/0.05477, allocations: 8.091 MB / 339.7 MB, free: 6.258 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.925e-05/1.919e-05, allocations: 4 kB / 398.5 MB, free: 67.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09469/0.09473, allocations: 52.52 MB / 451 MB, free: 15.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3383/0.433, allocations: 82.81 MB / 0.5213 GB, free: 11.22 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001976/0.4333, allocations: 70.03 kB / 0.5214 GB, free: 11.19 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.115/0.5482, allocations: 47 MB / 0.5673 GB, free: 2.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5483, allocations: 0 / 0.5673 GB, free: 2.965 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001306/0.5484, allocations: 27.94 kB / 0.5673 GB, free: 2.938 MB / 378.7 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.009991/0.5584, allocations: 2.42 MB / 0.5697 GB, free: 472 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.543e-05/0.5585, allocations: 11.98 kB / 0.5697 GB, free: 460 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009738/0.5594, allocations: 181.9 kB / 0.5698 GB, free: 276 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.5619, allocations: 0.9827 MB / 0.5708 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001445/0.562, allocations: 109.7 kB / 0.5709 GB, free: 15.12 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003959/0.5625, allocations: 72 kB / 0.571 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003519/0.566, allocations: 1.856 MB / 0.5728 GB, free: 13.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003888/0.5699, allocations: 1.817 MB / 0.5746 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.56e-05/0.5699, allocations: 0 / 0.5746 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/0.5701, allocations: 3.984 kB / 0.5746 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.743e-05/0.5702, allocations: 32 kB / 0.5746 GB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.5845, allocations: 8.618 MB / 0.583 GB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004667/0.5892, allocations: 4.308 MB / 0.5872 GB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00188/0.5911, allocations: 1.313 MB / 0.5885 GB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000224/0.5913, allocations: 45.92 kB / 0.5885 GB, free: 12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002303/0.5937, allocations: 1.335 MB / 0.5899 GB, free: 10.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 5.1e-06/0.5937, allocations: 0 / 0.5899 GB, free: 10.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=199): time 0.01405/0.6078, allocations: 4.607 MB / 0.5944 GB, free: 6.027 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.6079, allocations: 180.2 kB / 0.5945 GB, free: 5.816 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.6093, allocations: 0.7041 MB / 0.5952 GB, free: 5.105 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003772/0.6097, allocations: 29.7 kB / 0.5952 GB, free: 5.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004835/0.6102, allocations: 462.1 kB / 0.5957 GB, free: 4.613 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009686/0.6112, allocations: 0.6271 MB / 0.5963 GB, free: 3.977 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.6113, allocations: 0 / 0.5963 GB, free: 3.977 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.6116, allocations: 369.9 kB / 0.5966 GB, free: 3.609 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001752/0.6133, allocations: 1.027 MB / 0.5976 GB, free: 2.582 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002088/0.6154, allocations: 1.155 MB / 0.5988 GB, free: 1.414 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003308/0.6187, allocations: 1.212 MB / 0.6 GB, free: 212 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.308e-06/0.6188, allocations: 0 / 0.6 GB, free: 212 kB / 410.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01426/0.633, allocations: 4.728 MB / 0.6046 GB, free: 11.46 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.6331, allocations: 4 kB / 0.6046 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.6331, allocations: 0 / 0.6046 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01261/0.6458, allocations: 3.077 MB / 0.6076 GB, free: 8.367 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.6469, allocations: 215.7 kB / 0.6078 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02725/0.6742, allocations: 14.01 MB / 0.6215 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.6763, allocations: 106.7 kB / 0.6216 GB, free: 9.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001882/0.6765, allocations: 67.95 kB / 0.6216 GB, free: 9.844 MB / 442.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: feeder1.load1.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real feeder2.load1.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real feeder1.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real feeder1.terminal.i.im:VARIABLE(flow=true unit = "A" ) "Imaginary part of complex current" type: Real 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,brk2.BrkOpen,$PRE.cmd.pulseStart,cmd.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {28 58} Notification: Performance of prepare postOptimizeDAE: time 0.0005455/0.6771, allocations: 138 kB / 0.6218 GB, free: 9.707 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/0.6774, allocations: 142.3 kB / 0.6219 GB, free: 9.566 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01458/0.692, allocations: 5.065 MB / 0.6269 GB, free: 4.484 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.021e-05/0.6921, allocations: 24 kB / 0.6269 GB, free: 4.461 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.6921, allocations: 4 kB / 0.6269 GB, free: 4.457 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.973e-05/0.6922, allocations: 11.95 kB / 0.6269 GB, free: 4.445 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01811/0.7103, allocations: 7.785 MB / 0.6345 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.898e-05/0.7104, allocations: 0 / 0.6345 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.7115, allocations: 239.7 kB / 0.6347 GB, free: 12.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01252/0.724, allocations: 3.07 MB / 0.6377 GB, free: 9.285 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004386/0.7245, allocations: 23.91 kB / 0.6377 GB, free: 9.262 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2775/1.002, allocations: 14.07 MB / 0.6515 GB, free: 126.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/1.002, allocations: 0.6562 kB / 0.6515 GB, free: 126.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/1.017, allocations: 4.876 MB / 0.6562 GB, free: 125.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007348/1.018, allocations: 268.1 kB / 0.6565 GB, free: 125.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005162/1.018, allocations: 0.9688 kB / 0.6565 GB, free: 125.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001664/1.02, allocations: 88.64 kB / 0.6566 GB, free: 125.7 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009338/1.021, allocations: 182.4 kB / 0.6568 GB, free: 125.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001925/1.021, allocations: 66.09 kB / 0.6568 GB, free: 125.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008535/1.022, allocations: 0.5433 MB / 0.6574 GB, free: 125.6 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.022, allocations: 0 / 0.6574 GB, free: 125.6 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002709/1.024, allocations: 0.6172 MB / 0.658 GB, free: 125.5 MB / 458.7 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,brk2.BrkOpen,cmd.pulseStart) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {29 57} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003949/1.025, allocations: 135.1 kB / 0.6581 GB, free: 125.5 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008236/1.033, allocations: 3.594 MB / 0.6616 GB, free: 125.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.015e-05/1.033, allocations: 4.281 kB / 0.6616 GB, free: 125.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007359/1.041, allocations: 2.462 MB / 0.664 GB, free: 124.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001453/1.042, allocations: 105.6 kB / 0.6641 GB, free: 124.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/1.046, allocations: 2.115 MB / 0.6662 GB, free: 124.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007643/1.047, allocations: 1.256 MB / 0.6674 GB, free: 123.7 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007527/1.048, allocations: 199.8 kB / 0.6676 GB, free: 123.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/1.048, allocations: 120.6 kB / 0.6677 GB, free: 123.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/1.048, allocations: 0 / 0.6677 GB, free: 123.7 MB / 458.7 MB Notification: Performance of Templates: time 0.05638/1.104, allocations: 44.75 MB / 0.7114 GB, free: 108.7 MB / 458.7 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)