Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001027/0.001027, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.226/1.226, allocations: 194.5 MB / 211.6 MB, free: 3.047 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0015/0.0015, allocations: 106.6 kB / 256.9 MB, free: 4.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1598/0.1598, allocations: 38 MB / 340.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003282/0.0003283, allocations: 11.98 kB / 403.8 MB, free: 68.81 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0846/0.08494, allocations: 53.23 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3223/0.4073, allocations: 111.8 MB / 0.5555 GB, free: 56 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/0.4077, allocations: 99.52 kB / 0.5556 GB, free: 4 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09776/0.5054, allocations: 38.1 MB / 0.5928 GB, free: 15.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5055, allocations: 0 / 0.5928 GB, free: 15.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.939e-05/0.5056, allocations: 32 kB / 0.5928 GB, free: 15.2 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.002649/0.5082, allocations: 1.434 MB / 0.5942 GB, free: 13.79 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.5083, allocations: 8.031 kB / 0.5942 GB, free: 13.79 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/0.5097, allocations: 258 kB / 0.5945 GB, free: 13.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003604/0.5133, allocations: 1.564 MB / 0.596 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.786e-05/0.5134, allocations: 82.28 kB / 0.5961 GB, free: 12.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002335/0.5136, allocations: 126.1 kB / 0.5962 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.5156, allocations: 1.46 MB / 0.5976 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.267e-05/0.5157, allocations: 7.562 kB / 0.5976 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.815e-05/0.5158, allocations: 44.55 kB / 0.5977 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000115/0.5159, allocations: 87.86 kB / 0.5978 GB, free: 10.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001753/0.5177, allocations: 1.236 MB / 0.599 GB, free: 9.984 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007181/0.5249, allocations: 5.648 MB / 0.6045 GB, free: 4.41 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008916/0.5258, allocations: 0.5937 MB / 0.6051 GB, free: 3.801 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.076e-05/0.5258, allocations: 8.625 kB / 0.6051 GB, free: 3.793 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.5259, allocations: 39.11 kB / 0.6051 GB, free: 3.746 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 2.805e-06/0.5259, allocations: 0 / 0.6051 GB, free: 3.746 MB / 410.7 MB Notification: Performance of matching and sorting (n=75): time 0.007727/0.5336, allocations: 3.622 MB / 0.6086 GB, free: 15.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.205e-05/0.5337, allocations: 85.7 kB / 0.6087 GB, free: 15.88 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008419/0.5346, allocations: 0.6328 MB / 0.6093 GB, free: 15.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.612e-05/0.5346, allocations: 37.7 kB / 0.6094 GB, free: 15.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004083/0.5351, allocations: 0.6036 MB / 0.61 GB, free: 14.58 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002291/0.5353, allocations: 268.1 kB / 0.6102 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.5353, allocations: 20 kB / 0.6102 GB, free: 14.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001963/0.5356, allocations: 406.7 kB / 0.6106 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005755/0.5361, allocations: 385.8 kB / 0.611 GB, free: 13.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007422/0.5369, allocations: 0.6535 MB / 0.6116 GB, free: 12.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000729/0.5376, allocations: 0.5026 MB / 0.6121 GB, free: 12.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5376, allocations: 0 / 0.6121 GB, free: 12.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003175/0.5408, allocations: 1.702 MB / 0.6138 GB, free: 10.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.5409, allocations: 8 kB / 0.6138 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002608/0.5435, allocations: 1.307 MB / 0.6151 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001933/0.5454, allocations: 0.5808 MB / 0.6156 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006401/0.5461, allocations: 179.7 kB / 0.6158 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01139/0.5575, allocations: 9.705 MB / 0.6253 GB, free: 14.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009315/0.5584, allocations: 47.97 kB / 0.6253 GB, free: 14.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/0.5585, allocations: 43.98 kB / 0.6254 GB, free: 14.06 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 90 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007342/0.5593, allocations: 381.4 kB / 0.6257 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.5594, allocations: 98.83 kB / 0.6258 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/0.5616, allocations: 1.245 MB / 0.627 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.5617, allocations: 12 kB / 0.6271 GB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.5617, allocations: 4 kB / 0.6271 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.5617, allocations: 7.984 kB / 0.6271 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00416/0.5659, allocations: 2.412 MB / 0.6294 GB, free: 9.781 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.5659, allocations: 4.188 kB / 0.6294 GB, free: 9.777 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004377/0.5663, allocations: 103.8 kB / 0.6295 GB, free: 9.676 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001076/0.5674, allocations: 380 kB / 0.6299 GB, free: 9.289 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.465e-05/0.5675, allocations: 27.98 kB / 0.6299 GB, free: 9.262 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007188/0.5747, allocations: 8.599 MB / 0.6383 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.309e-06/0.5747, allocations: 3.953 kB / 0.6383 GB, free: 15.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002894/0.5776, allocations: 1.764 MB / 0.64 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004957/0.5782, allocations: 231.8 kB / 0.6403 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.5783, allocations: 31.97 kB / 0.6403 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.5787, allocations: 19.98 kB / 0.6403 GB, free: 13.81 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/0.5789, allocations: 72.36 kB / 0.6404 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.579, allocations: 20 kB / 0.6404 GB, free: 13.72 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0007359/0.5797, allocations: 0.4951 MB / 0.6409 GB, free: 13.23 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5797, allocations: 4 kB / 0.6409 GB, free: 13.23 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001364/0.5811, allocations: 367.9 kB / 0.6412 GB, free: 12.87 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.w,generator.phi_el,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3]) * Number of discrete variables: 2 (system.initime,$cse4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 52 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002805/0.5814, allocations: 171.2 kB / 0.6414 GB, free: 12.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002221/0.5836, allocations: 1.581 MB / 0.6429 GB, free: 11.06 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5836, allocations: 1.812 kB / 0.6429 GB, free: 11.06 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001442/0.5851, allocations: 1.087 MB / 0.644 GB, free: 9.914 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008011/0.5859, allocations: 179.6 kB / 0.6442 GB, free: 9.738 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004183/0.5901, allocations: 3.303 MB / 0.6474 GB, free: 6.379 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008706/0.591, allocations: 1.271 MB / 0.6486 GB, free: 5.074 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005866/0.5916, allocations: 211.6 kB / 0.6489 GB, free: 4.863 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.5917, allocations: 67.42 kB / 0.6489 GB, free: 4.797 MB / 458.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5917, allocations: 0 / 0.6489 GB, free: 4.797 MB / 458.7 MB Notification: Performance of Templates: time 0.02323/0.615, allocations: 14.57 MB / 0.6631 GB, free: 6.223 MB / 474.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1)