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.001002/0.001002, allocations: 180.6 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.226/1.226, allocations: 221.4 MB / 235.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009217/0.0009218, allocations: 89.08 kB / 286.1 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04065/0.04065, allocations: 8.091 MB / 345.1 MB, free: 1.934 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.765e-05/2.775e-05, allocations: 4 kB / 405.5 MB, free: 61.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07693/0.07697, allocations: 52.51 MB / 458 MB, free: 9.473 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.295/0.372, allocations: 83.42 MB / 0.5287 GB, free: 2.629 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.3723, allocations: 72.27 kB / 0.5288 GB, free: 2.594 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1202/0.4925, allocations: 47.66 MB / 0.5753 GB, free: 9.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.787e-06/0.4925, allocations: 0 / 0.5753 GB, free: 9.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.478e-05/0.4926, allocations: 35.88 kB / 0.5753 GB, free: 9.285 MB / 394.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.008725/0.5013, allocations: 2.416 MB / 0.5777 GB, free: 6.812 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.5014, allocations: 8.031 kB / 0.5777 GB, free: 6.805 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000548/0.502, allocations: 181.9 kB / 0.5779 GB, free: 6.625 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.5036, allocations: 0.9749 MB / 0.5788 GB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.5037, allocations: 149.7 kB / 0.579 GB, free: 5.445 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/0.5039, allocations: 116 kB / 0.5791 GB, free: 5.332 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003152/0.5071, allocations: 1.986 MB / 0.581 GB, free: 3.301 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.5071, allocations: 0 / 0.581 GB, free: 3.301 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.5073, allocations: 57.09 kB / 0.5811 GB, free: 3.246 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.325e-05/0.5073, allocations: 31.98 kB / 0.5811 GB, free: 3.215 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00294/0.5103, allocations: 1.915 MB / 0.583 GB, free: 1.293 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0115/0.5218, allocations: 8.81 MB / 0.5916 GB, free: 7.809 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004282/0.5261, allocations: 4.388 MB / 0.5959 GB, free: 3.047 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.528, allocations: 1.374 MB / 0.5972 GB, free: 1.676 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002006/0.5282, allocations: 41.94 kB / 0.5973 GB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002133/0.5303, allocations: 1.417 MB / 0.5986 GB, free: 212 kB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 5.049e-06/0.5303, allocations: 0 / 0.5986 GB, free: 212 kB / 410.7 MB Notification: Performance of matching and sorting (n=201): time 0.01289/0.5432, allocations: 4.682 MB / 0.6032 GB, free: 11.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.5434, allocations: 184.2 kB / 0.6034 GB, free: 11.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.5446, allocations: 0.7315 MB / 0.6041 GB, free: 10.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003471/0.545, allocations: 61.7 kB / 0.6042 GB, free: 10.49 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003987/0.5454, allocations: 462.1 kB / 0.6046 GB, free: 10.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000779/0.5462, allocations: 0.662 MB / 0.6052 GB, free: 9.363 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.5463, allocations: 36 kB / 0.6053 GB, free: 9.328 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.5465, allocations: 361.9 kB / 0.6056 GB, free: 8.969 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001698/0.5482, allocations: 1.059 MB / 0.6067 GB, free: 7.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.55, allocations: 1.206 MB / 0.6078 GB, free: 6.688 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.5519, allocations: 1.158 MB / 0.609 GB, free: 5.535 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-06/0.5519, allocations: 3.938 kB / 0.609 GB, free: 5.531 MB / 426.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.01311/0.565, allocations: 4.826 MB / 0.6137 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.133e-05/0.5651, allocations: 4 kB / 0.6137 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.5651, allocations: 0 / 0.6137 GB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01348/0.5786, allocations: 3.64 MB / 0.6172 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.5797, allocations: 219.7 kB / 0.6175 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02842/0.6081, allocations: 14.48 MB / 0.6316 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.6099, allocations: 134.7 kB / 0.6317 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/0.6101, allocations: 59.97 kB / 0.6318 GB, free: 14.04 MB / 458.7 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,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.0004044/0.6105, allocations: 192.8 kB / 0.632 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003462/0.6109, allocations: 146.3 kB / 0.6321 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01365/0.6245, allocations: 5.225 MB / 0.6372 GB, free: 8.449 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/0.6246, allocations: 24 kB / 0.6372 GB, free: 8.426 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.6246, allocations: 3.938 kB / 0.6372 GB, free: 8.422 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.413e-05/0.6247, allocations: 15.95 kB / 0.6373 GB, free: 8.406 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01665/0.6413, allocations: 8.07 MB / 0.6451 GB, free: 268 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-05/0.6414, allocations: 0 / 0.6451 GB, free: 268 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000953/0.6423, allocations: 239.7 kB / 0.6454 GB, free: 28 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2125/0.8549, allocations: 3.09 MB / 0.6484 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003818/0.8553, allocations: 48.64 kB / 0.6484 GB, free: 124.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02717/0.8825, allocations: 14.33 MB / 0.6624 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.8825, allocations: 0 / 0.6624 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01383/0.8964, allocations: 4.978 MB / 0.6673 GB, free: 122.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005056/0.8969, allocations: 260.2 kB / 0.6675 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004578/0.8974, allocations: 41.45 kB / 0.6676 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/0.899, allocations: 130.9 kB / 0.6677 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007355/0.8998, allocations: 175 kB / 0.6679 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002163/0.9, allocations: 70.02 kB / 0.6679 GB, free: 122.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007397/0.9008, allocations: 0.5853 MB / 0.6685 GB, free: 122 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.9008, allocations: 1.781 kB / 0.6685 GB, free: 122 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002215/0.903, allocations: 0.7125 MB / 0.6692 GB, free: 122 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 (146): * Single equations (assignments): 144 * 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.0003788/0.9034, allocations: 182.4 kB / 0.6694 GB, free: 121.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007549/0.9109, allocations: 3.739 MB / 0.673 GB, free: 121.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.911, allocations: 5 kB / 0.673 GB, free: 121.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006153/0.9171, allocations: 2.566 MB / 0.6755 GB, free: 119.9 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.9182, allocations: 149 kB / 0.6757 GB, free: 119.9 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.9221, allocations: 2.232 MB / 0.6779 GB, free: 118.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005906/0.9227, allocations: 1.253 MB / 0.6791 GB, free: 118.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0007725/0.9235, allocations: 199.7 kB / 0.6793 GB, free: 118.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003252/0.9238, allocations: 123.4 kB / 0.6794 GB, free: 118.1 MB / 458.7 MB Notification: Performance of SimCode: time 8.81e-07/0.9238, allocations: 0 / 0.6794 GB, free: 118.1 MB / 458.7 MB Notification: Performance of Templates: time 0.05562/0.9794, allocations: 48.13 MB / 0.7264 GB, free: 93.2 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)