Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009896/0.0009897, allocations: 179.5 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.185/1.185, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001575/0.001575, allocations: 119.2 kB / 256.9 MB, free: 4.355 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1532/0.1532, allocations: 37.99 MB / 340.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000328/0.000328, allocations: 12 kB / 403.8 MB, free: 68.8 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0891/0.08944, allocations: 53.23 MB / 457 MB, free: 15.56 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3178/0.4073, allocations: 108.1 MB / 0.5519 GB, free: 3.609 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.4076, allocations: 98.75 kB / 0.552 GB, free: 3.559 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08047/0.488, allocations: 30.01 MB / 0.5813 GB, free: 9.785 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.4881, allocations: 4 kB / 0.5813 GB, free: 9.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.394e-05/0.4882, allocations: 20 kB / 0.5813 GB, free: 9.762 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002877/0.491, allocations: 1.144 MB / 0.5825 GB, free: 8.629 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.4911, allocations: 16 kB / 0.5825 GB, free: 8.613 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.4923, allocations: 186.7 kB / 0.5826 GB, free: 8.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003258/0.4956, allocations: 1.235 MB / 0.5839 GB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.098e-05/0.4957, allocations: 58.38 kB / 0.5839 GB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/0.4959, allocations: 89.7 kB / 0.584 GB, free: 7.258 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.4977, allocations: 1.072 MB / 0.585 GB, free: 6.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.459e-05/0.4978, allocations: 11.92 kB / 0.5851 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.541e-05/0.4979, allocations: 34.17 kB / 0.5851 GB, free: 6.418 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-05/0.498, allocations: 68.22 kB / 0.5851 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001324/0.4993, allocations: 0.8524 MB / 0.586 GB, free: 5.762 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005288/0.5046, allocations: 4.016 MB / 0.5899 GB, free: 2.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006124/0.5052, allocations: 427.5 kB / 0.5903 GB, free: 1.828 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.124e-05/0.5053, allocations: 8.484 kB / 0.5903 GB, free: 1.82 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.5053, allocations: 38.94 kB / 0.5904 GB, free: 1.777 MB / 394.7 MB Notification: Performance of pre-optimization done (n=48): time 2.555e-06/0.5053, allocations: 0 / 0.5904 GB, free: 1.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.003234/0.5086, allocations: 1.774 MB / 0.5921 GB, free: 340 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.481e-05/0.5087, allocations: 85.48 kB / 0.5922 GB, free: 236 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006741/0.5093, allocations: 0.5155 MB / 0.5927 GB, free: 15.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.5094, allocations: 32.77 kB / 0.5927 GB, free: 15.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.5097, allocations: 463 kB / 0.5931 GB, free: 15.43 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001704/0.5099, allocations: 196.6 kB / 0.5933 GB, free: 15.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-05/0.5099, allocations: 20.81 kB / 0.5934 GB, free: 15.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.5101, allocations: 380.7 kB / 0.5937 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003925/0.5105, allocations: 246.5 kB / 0.5939 GB, free: 14.74 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005067/0.511, allocations: 475.1 kB / 0.5944 GB, free: 14.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004968/0.5115, allocations: 342.5 kB / 0.5947 GB, free: 14.06 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.5116, allocations: 4 kB / 0.5947 GB, free: 14.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001861/0.5134, allocations: 1.103 MB / 0.5958 GB, free: 13.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.5135, allocations: 8 kB / 0.5958 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001373/0.5149, allocations: 0.7948 MB / 0.5966 GB, free: 12.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000717/0.5156, allocations: 222.5 kB / 0.5968 GB, free: 12.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.5161, allocations: 155.7 kB / 0.597 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0053/0.5214, allocations: 5.35 MB / 0.6022 GB, free: 6.332 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006/0.5221, allocations: 36.05 kB / 0.6022 GB, free: 6.297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.977e-05/0.5221, allocations: 35.98 kB / 0.6022 GB, free: 6.262 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (81): * Single equations (assignments): 78 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005718/0.5227, allocations: 301.5 kB / 0.6025 GB, free: 5.957 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.5229, allocations: 67.16 kB / 0.6026 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009998/0.5239, allocations: 0.6166 MB / 0.6032 GB, free: 5.266 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.5239, allocations: 12 kB / 0.6032 GB, free: 5.254 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.5239, allocations: 3.953 kB / 0.6032 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.5239, allocations: 3.984 kB / 0.6032 GB, free: 5.246 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00262/0.5265, allocations: 1.498 MB / 0.6047 GB, free: 3.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.5266, allocations: 3.984 kB / 0.6047 GB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/0.5272, allocations: 119.9 kB / 0.6048 GB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.498e-06/0.5272, allocations: 8 kB / 0.6048 GB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.721e-05/0.5272, allocations: 19.98 kB / 0.6048 GB, free: 3.531 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.5273, allocations: 4 kB / 0.6048 GB, free: 3.527 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.5273, allocations: 4.094 kB / 0.6048 GB, free: 3.523 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.5285, allocations: 1.003 MB / 0.6058 GB, free: 2.449 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003464/0.5288, allocations: 188.1 kB / 0.606 GB, free: 2.246 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/0.529, allocations: 19.98 kB / 0.606 GB, free: 2.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003518/0.5293, allocations: 16.45 kB / 0.606 GB, free: 2.211 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.942e-05/0.5294, allocations: 44.33 kB / 0.6061 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.5294, allocations: 8 kB / 0.6061 GB, free: 2.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004947/0.5299, allocations: 415 kB / 0.6065 GB, free: 1.758 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.53, allocations: 0 / 0.6065 GB, free: 1.758 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008147/0.5308, allocations: 223.9 kB / 0.6067 GB, free: 1.539 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (55): * Single equations (assignments): 54 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002555/0.531, allocations: 147.9 kB / 0.6068 GB, free: 1.387 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.5327, allocations: 1.047 MB / 0.6079 GB, free: 304 kB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5327, allocations: 4.062 kB / 0.6079 GB, free: 300 kB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003532/0.5331, allocations: 258.3 kB / 0.6081 GB, free: 44 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006274/0.5337, allocations: 131.3 kB / 0.6082 GB, free: 15.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003301/0.537, allocations: 2.503 MB / 0.6107 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007368/0.5378, allocations: 1.098 MB / 0.6117 GB, free: 12.23 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005608/0.5383, allocations: 193.9 kB / 0.6119 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.5385, allocations: 55.42 kB / 0.612 GB, free: 11.99 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5385, allocations: 0 / 0.612 GB, free: 11.99 MB / 426.7 MB Notification: Performance of Templates: time 0.01607/0.5546, allocations: 8.48 MB / 0.6203 GB, free: 3.504 MB / 426.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1)