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.0009364/0.0009364, allocations: 179 kB / 15.8 MB, free: 6.34 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.322/1.322, allocations: 223.2 MB / 239.7 MB, free: 1.789 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.0008766/0.0008765, allocations: 96.12 kB / 290.9 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04649/0.04649, allocations: 8.109 MB / 350.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003331/0.000333, allocations: 15.89 kB / 413.1 MB, free: 89.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09649/0.09684, allocations: 52.53 MB / 465.6 MB, free: 42.07 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3291/0.4259, allocations: 83.21 MB / 0.536 GB, free: 16.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.4262, allocations: 77.53 kB / 0.536 GB, free: 16.68 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1124/0.5386, allocations: 47.77 MB / 0.5827 GB, free: 22.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5387, allocations: 0 / 0.5827 GB, free: 22.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001312/0.5388, allocations: 31 kB / 0.5827 GB, free: 22.3 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.01046/0.5493, allocations: 2.653 MB / 0.5853 GB, free: 20.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.5493, allocations: 11.69 kB / 0.5853 GB, free: 20.92 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009198/0.5503, allocations: 175.5 kB / 0.5855 GB, free: 20.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.5527, allocations: 1.003 MB / 0.5865 GB, free: 20.35 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.5528, allocations: 147.5 kB / 0.5866 GB, free: 20.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004157/0.5532, allocations: 121.4 kB / 0.5867 GB, free: 20.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003889/0.5571, allocations: 2.006 MB / 0.5887 GB, free: 19.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.94e-05/0.5572, allocations: 0 / 0.5887 GB, free: 19.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003167/0.5576, allocations: 55.16 kB / 0.5887 GB, free: 19.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.234e-05/0.5576, allocations: 30.97 kB / 0.5888 GB, free: 19.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00312/0.5607, allocations: 1.949 MB / 0.5907 GB, free: 19.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/0.5731, allocations: 8.803 MB / 0.5993 GB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004645/0.5778, allocations: 4.418 MB / 0.6036 GB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/0.5781, allocations: 43.03 kB / 0.6036 GB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002418/0.5805, allocations: 1.431 MB / 0.605 GB, free: 7.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=201): time 4.258e-06/0.5805, allocations: 3.844 kB / 0.605 GB, free: 7.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=201): time 0.05271/0.6333, allocations: 12.49 MB / 0.6172 GB, free: 15 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.6334, allocations: 184.2 kB / 0.6174 GB, free: 14.79 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00146/0.6349, allocations: 0.7547 MB / 0.6181 GB, free: 14.03 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003828/0.6353, allocations: 65.7 kB / 0.6182 GB, free: 13.96 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004086/0.6357, allocations: 454.1 kB / 0.6186 GB, free: 13.51 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008053/0.6365, allocations: 0.6671 MB / 0.6193 GB, free: 12.85 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.6367, allocations: 32 kB / 0.6193 GB, free: 12.82 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6369, allocations: 365.9 kB / 0.6197 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00179/0.6387, allocations: 1.086 MB / 0.6207 GB, free: 11.37 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.6406, allocations: 1.21 MB / 0.6219 GB, free: 10.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002045/0.6427, allocations: 1.178 MB / 0.623 GB, free: 8.973 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.6427, allocations: 0 / 0.623 GB, free: 8.973 MB / 394.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.0135/0.6562, allocations: 4.866 MB / 0.6278 GB, free: 4.094 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.6563, allocations: 4 kB / 0.6278 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.6563, allocations: 0 / 0.6278 GB, free: 4.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01309/0.6694, allocations: 3.661 MB / 0.6314 GB, free: 432 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.6706, allocations: 215.7 kB / 0.6316 GB, free: 216 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03157/0.7022, allocations: 15.31 MB / 0.6465 GB, free: 0.8008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002065/0.7043, allocations: 138.7 kB / 0.6467 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003657/0.7047, allocations: 63.97 kB / 0.6467 GB, free: 0.6016 MB / 410.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 () * Number of clocked 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.001188/0.7059, allocations: 346.1 kB / 0.6471 GB, free: 260 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005682/0.7065, allocations: 154.3 kB / 0.6472 GB, free: 104 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01482/0.7213, allocations: 5.268 MB / 0.6523 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.529e-05/0.7214, allocations: 20 kB / 0.6524 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.7214, allocations: 0 / 0.6524 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-05/0.7215, allocations: 11.95 kB / 0.6524 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01875/0.7402, allocations: 8.109 MB / 0.6603 GB, free: 2.664 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/0.7403, allocations: 3.984 kB / 0.6603 GB, free: 2.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.7413, allocations: 235.7 kB / 0.6605 GB, free: 2.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01261/0.7539, allocations: 3.111 MB / 0.6636 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003794/0.7543, allocations: 47.97 kB / 0.6636 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03061/0.7849, allocations: 15.17 MB / 0.6784 GB, free: 15.96 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.785, allocations: 7.953 kB / 0.6784 GB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01447/0.7995, allocations: 5.007 MB / 0.6833 GB, free: 10.92 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008357/0.8003, allocations: 262.8 kB / 0.6836 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006631/0.801, allocations: 39.98 kB / 0.6836 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001988/0.803, allocations: 139.9 kB / 0.6837 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008682/0.8039, allocations: 174.7 kB / 0.6839 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000359/0.8043, allocations: 67.97 kB / 0.684 GB, free: 10.23 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001369/0.8057, allocations: 0.6122 MB / 0.6846 GB, free: 9.617 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8057, allocations: 0 / 0.6846 GB, free: 9.617 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003158/0.8089, allocations: 0.7142 MB / 0.6853 GB, free: 8.902 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 () * Number of clocked 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.0005817/0.8095, allocations: 184.2 kB / 0.6854 GB, free: 8.715 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009367/0.8188, allocations: 3.801 MB / 0.6892 GB, free: 4.902 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.965e-06/0.8189, allocations: 1.281 kB / 0.6892 GB, free: 4.902 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007193/0.8261, allocations: 2.624 MB / 0.6917 GB, free: 2.27 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.8276, allocations: 147.8 kB / 0.6919 GB, free: 2.129 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1933/1.021, allocations: 3.421 MB / 0.6952 GB, free: 121.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007139/1.022, allocations: 1.26 MB / 0.6964 GB, free: 120.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009676/1.023, allocations: 197.9 kB / 0.6966 GB, free: 120.5 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/1.023, allocations: 127.6 kB / 0.6967 GB, free: 120.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.022e-06/1.023, allocations: 0 / 0.6967 GB, free: 120.5 MB / 458.7 MB Notification: Performance of Templates: time 0.06836/1.091, allocations: 48.1 MB / 0.7437 GB, free: 110.8 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)