Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.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.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") translateModel(PowerSysPro.Examples.MediumNetworks.DoubleNetwork,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, 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.494/1.494, allocations: 221.5 MB / 230 MB, free: 3.125 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.0008452/0.0008453, allocations: 87.44 kB / 280.9 MB, free: 1.137 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.07605/0.07605, allocations: 8.095 MB / 339.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.462e-05/1.463e-05, allocations: 0 / 398.5 MB, free: 67.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1017, allocations: 52.52 MB / 451 MB, free: 15.13 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.367/0.4687, allocations: 81.24 MB / 0.5198 GB, free: 12.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002269/0.469, allocations: 65.22 kB / 0.5198 GB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08281/0.5518, allocations: 32.91 MB / 0.552 GB, free: 2.785 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.5519, allocations: 4.438 kB / 0.552 GB, free: 2.781 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.169e-05/0.5519, allocations: 23.94 kB / 0.552 GB, free: 2.758 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.006379/0.5583, allocations: 1.859 MB / 0.5538 GB, free: 0.8516 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.5584, allocations: 11.98 kB / 0.5538 GB, free: 0.8398 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003655/0.5587, allocations: 138.4 kB / 0.5539 GB, free: 0.7031 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001116/0.5599, allocations: 0.7019 MB / 0.5546 GB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.5599, allocations: 24 kB / 0.5547 GB, free: 15.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/0.56, allocations: 48.34 kB / 0.5547 GB, free: 15.88 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001952/0.562, allocations: 1.222 MB / 0.5559 GB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.5639, allocations: 1.205 MB / 0.5571 GB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.807e-05/0.564, allocations: 0 / 0.5571 GB, free: 13.44 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.647e-05/0.5641, allocations: 4 kB / 0.5571 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.5641, allocations: 20 kB / 0.5571 GB, free: 13.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007606/0.5717, allocations: 5.457 MB / 0.5624 GB, free: 7.512 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/0.5745, allocations: 3.02 MB / 0.5654 GB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/0.5758, allocations: 0.9223 MB / 0.5663 GB, free: 3.281 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002797/0.5761, allocations: 114.4 kB / 0.5664 GB, free: 3.152 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.254e-05/0.5762, allocations: 56.11 kB / 0.5664 GB, free: 3.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=146): time 5.53e-06/0.5762, allocations: 0 / 0.5664 GB, free: 3.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=146): time 0.009602/0.5858, allocations: 3.307 MB / 0.5697 GB, free: 15.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.842e-05/0.5859, allocations: 124.1 kB / 0.5698 GB, free: 15.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007913/0.5867, allocations: 0.5466 MB / 0.5703 GB, free: 15.06 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001857/0.5869, allocations: 29.7 kB / 0.5703 GB, free: 15.03 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.5871, allocations: 349.7 kB / 0.5707 GB, free: 14.68 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004468/0.5876, allocations: 468.8 kB / 0.5711 GB, free: 14.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-05/0.5877, allocations: 0 / 0.5711 GB, free: 14.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.5878, allocations: 353.9 kB / 0.5715 GB, free: 13.86 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009674/0.5888, allocations: 0.6783 MB / 0.5721 GB, free: 13.19 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001013/0.5898, allocations: 0.76 MB / 0.5729 GB, free: 12.41 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001917/0.5918, allocations: 0.8106 MB / 0.5737 GB, free: 11.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/0.5918, allocations: 0 / 0.5737 GB, free: 11.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.009649/0.6014, allocations: 3.361 MB / 0.5769 GB, free: 8.234 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.6015, allocations: 4 kB / 0.5769 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.6015, allocations: 0 / 0.5769 GB, free: 8.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009323/0.6108, allocations: 2.221 MB / 0.5791 GB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006567/0.6115, allocations: 147.8 kB / 0.5793 GB, free: 5.859 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01836/0.6299, allocations: 9.817 MB / 0.5888 GB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001324/0.6313, allocations: 67.11 kB / 0.5889 GB, free: 11.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.6314, allocations: 47.97 kB / 0.589 GB, free: 11.8 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: load5.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real load1.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * 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 {20 44} Notification: Performance of prepare postOptimizeDAE: time 0.0004334/0.6318, allocations: 126.5 kB / 0.5891 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002778/0.6321, allocations: 114.8 kB / 0.5892 GB, free: 11.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01041/0.6425, allocations: 3.664 MB / 0.5928 GB, free: 7.883 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.912e-05/0.6426, allocations: 16 kB / 0.5928 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.6426, allocations: 0 / 0.5928 GB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.184e-05/0.6426, allocations: 7.969 kB / 0.5928 GB, free: 7.859 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/0.6563, allocations: 5.356 MB / 0.598 GB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.6563, allocations: 0 / 0.598 GB, free: 2.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006915/0.657, allocations: 175.7 kB / 0.5982 GB, free: 2.281 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009447/0.6665, allocations: 2.225 MB / 0.6004 GB, free: 52 kB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/0.6667, allocations: 15.98 kB / 0.6004 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01882/0.6855, allocations: 9.798 MB / 0.6099 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.082e-06/0.6856, allocations: 0 / 0.6099 GB, free: 6.109 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/0.6957, allocations: 3.55 MB / 0.6134 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004548/0.6962, allocations: 207.4 kB / 0.6136 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/0.6964, allocations: 3.953 kB / 0.6136 GB, free: 2.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.6977, allocations: 79.86 kB / 0.6137 GB, free: 2.234 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000418/0.6981, allocations: 126.4 kB / 0.6138 GB, free: 2.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/0.6983, allocations: 47.98 kB / 0.6139 GB, free: 2.066 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005715/0.6988, allocations: 439.1 kB / 0.6143 GB, free: 1.637 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6988, allocations: 0 / 0.6143 GB, free: 1.637 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001602/0.7005, allocations: 471.6 kB / 0.6147 GB, free: 1.176 MB / 426.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 104 * 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 {20 44} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003036/0.7008, allocations: 131.9 kB / 0.6148 GB, free: 1.039 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005513/0.7063, allocations: 2.484 MB / 0.6173 GB, free: 14.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.715e-06/0.7063, allocations: 4.781 kB / 0.6173 GB, free: 14.53 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004348/0.7107, allocations: 1.719 MB / 0.619 GB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009889/0.7117, allocations: 84.98 kB / 0.619 GB, free: 12.72 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.7147, allocations: 1.436 MB / 0.6204 GB, free: 11.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007717/0.7155, allocations: 1.097 MB / 0.6215 GB, free: 10.14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006078/0.7161, allocations: 143.5 kB / 0.6216 GB, free: 9.992 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002317/0.7164, allocations: 91.38 kB / 0.6217 GB, free: 9.902 MB / 442.7 MB Notification: Performance of SimCode: time 9.62e-07/0.7164, allocations: 0 / 0.6217 GB, free: 9.902 MB / 442.7 MB Notification: Performance of Templates: time 0.2773/0.9937, allocations: 32.14 MB / 0.6531 GB, free: 139.6 MB / 458.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.DoubleNetwork.pipe 2>&1)