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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 188.1 kB / 7.841 MB, free: 2.5 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.331/1.331, allocations: 221.4 MB / 229.7 MB, free: 3.059 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.0009846/0.0009846, allocations: 93.03 kB / 280.5 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04228/0.04228, allocations: 8.099 MB / 339.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.787e-06/8.816e-06, allocations: 4 kB / 397.9 MB, free: 68.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1176, allocations: 52.52 MB / 450.4 MB, free: 15.49 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3221/0.4397, allocations: 82.73 MB / 0.5207 GB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.44, allocations: 70.22 kB / 0.5207 GB, free: 11.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1168/0.5567, allocations: 46.65 MB / 0.5663 GB, free: 3.828 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.287e-05/0.5568, allocations: 31.94 kB / 0.5663 GB, free: 3.797 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.009176/0.566, allocations: 2.51 MB / 0.5688 GB, free: 1.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/0.5661, allocations: 15.95 kB / 0.5688 GB, free: 1.215 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007339/0.5668, allocations: 181.9 kB / 0.569 GB, free: 1.035 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.5685, allocations: 0.9084 MB / 0.5698 GB, free: 88 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.5687, allocations: 113.8 kB / 0.57 GB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.5689, allocations: 64 kB / 0.57 GB, free: 15.9 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003145/0.5721, allocations: 1.86 MB / 0.5718 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003035/0.5751, allocations: 1.817 MB / 0.5736 GB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.728e-05/0.5751, allocations: 4 kB / 0.5736 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001497/0.5753, allocations: 4 kB / 0.5736 GB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/0.5753, allocations: 28 kB / 0.5736 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01254/0.5879, allocations: 8.583 MB / 0.582 GB, free: 2.895 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002798/0.5907, allocations: 2.079 MB / 0.5841 GB, free: 0.8125 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.5925, allocations: 1.3 MB / 0.5853 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002126/0.5927, allocations: 53.91 kB / 0.5854 GB, free: 15.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002086/0.5948, allocations: 1.351 MB / 0.5867 GB, free: 14.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=199): time 3.928e-06/0.5949, allocations: 0 / 0.5867 GB, free: 14.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=199): time 0.01471/0.6096, allocations: 4.682 MB / 0.5913 GB, free: 9.391 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.6097, allocations: 180.2 kB / 0.5914 GB, free: 9.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0011/0.6108, allocations: 0.6026 MB / 0.592 GB, free: 8.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004938/0.6113, allocations: 29.69 kB / 0.5921 GB, free: 8.535 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003046/0.6117, allocations: 302 kB / 0.5923 GB, free: 8.234 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007253/0.6124, allocations: 0.631 MB / 0.593 GB, free: 7.594 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.6125, allocations: 0 / 0.593 GB, free: 7.594 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.6127, allocations: 369.9 kB / 0.5933 GB, free: 7.227 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/0.6145, allocations: 1.039 MB / 0.5943 GB, free: 6.188 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001719/0.6162, allocations: 1.159 MB / 0.5955 GB, free: 5.016 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003291/0.6195, allocations: 1.271 MB / 0.5967 GB, free: 3.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.6195, allocations: 0 / 0.5967 GB, free: 3.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01546/0.635, allocations: 4.814 MB / 0.6014 GB, free: 14.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.6351, allocations: 8 kB / 0.6014 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.6351, allocations: 0 / 0.6014 GB, free: 14.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01471/0.6498, allocations: 3.035 MB / 0.6044 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.6516, allocations: 211.7 kB / 0.6046 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03247/0.6841, allocations: 12.78 MB / 0.6171 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/0.6864, allocations: 110.7 kB / 0.6172 GB, free: 14.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/0.6867, allocations: 63.95 kB / 0.6172 GB, free: 14.58 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.0006086/0.6873, allocations: 131.8 kB / 0.6173 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003979/0.6877, allocations: 146.3 kB / 0.6175 GB, free: 14.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01571/0.7034, allocations: 5.128 MB / 0.6225 GB, free: 9.156 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.718e-05/0.7035, allocations: 24 kB / 0.6225 GB, free: 9.133 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7035, allocations: 0 / 0.6225 GB, free: 9.133 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.557e-05/0.7036, allocations: 15.89 kB / 0.6225 GB, free: 9.117 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003869/0.7074, allocations: 2.475 MB / 0.6249 GB, free: 6.598 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/0.7075, allocations: 4 kB / 0.6249 GB, free: 6.594 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009084/0.7084, allocations: 235.7 kB / 0.6252 GB, free: 6.363 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01356/0.7219, allocations: 3.051 MB / 0.6282 GB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005926/0.7226, allocations: 19.97 kB / 0.6282 GB, free: 3.285 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02949/0.7521, allocations: 12.82 MB / 0.6407 GB, free: 6.336 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-05/0.7522, allocations: 0 / 0.6407 GB, free: 6.336 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01604/0.7683, allocations: 4.845 MB / 0.6454 GB, free: 1.457 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007232/0.769, allocations: 234.9 kB / 0.6457 GB, free: 1.207 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005671/0.7696, allocations: 11.89 kB / 0.6457 GB, free: 1.195 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/0.7712, allocations: 95.91 kB / 0.6458 GB, free: 1.102 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003094/0.7715, allocations: 121.8 kB / 0.6459 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001826/0.7717, allocations: 63.98 kB / 0.6459 GB, free: 0.9219 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0007435/0.7724, allocations: 483.1 kB / 0.6464 GB, free: 460 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.2142/0.9866, allocations: 0.5714 MB / 0.647 GB, free: 181.3 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.0009287/0.9876, allocations: 129.7 kB / 0.6471 GB, free: 181.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008426/0.9961, allocations: 3.434 MB / 0.6504 GB, free: 181 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.9961, allocations: 9 kB / 0.6504 GB, free: 181 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006576/1.003, allocations: 2.298 MB / 0.6527 GB, free: 180.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/1.004, allocations: 101 kB / 0.6528 GB, free: 180.8 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/1.011, allocations: 2.21 MB / 0.6549 GB, free: 180.3 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/1.012, allocations: 1.34 MB / 0.6562 GB, free: 179.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.744e-06/1.012, allocations: 0 / 0.6562 GB, free: 179.6 MB / 458.7 MB Notification: Performance of Templates: time 0.06821/1.08, allocations: 44.67 MB / 0.6999 GB, free: 163.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)