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.001025/0.001025, allocations: 181 kB / 13.64 MB, free: 1.676 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.439/1.439, allocations: 194.2 MB / 208.4 MB, free: 6.711 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.001629/0.001629, allocations: 126.2 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1599/0.1599, allocations: 37.9 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 4.06e-05/4.064e-05, allocations: 3.984 kB / 397.5 MB, free: 1.031 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3766, allocations: 53.21 MB / 450.8 MB, free: 13.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5338/0.9105, allocations: 111.7 MB / 0.5493 GB, free: 29.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/0.9109, allocations: 93.27 kB / 0.5494 GB, free: 29.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1033/1.014, allocations: 38.09 MB / 0.5866 GB, free: 17.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.014, allocations: 0 / 0.5866 GB, free: 17.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.023e-05/1.014, allocations: 22.94 kB / 0.5866 GB, free: 17.88 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.002741/1.017, allocations: 1.281 MB / 0.5878 GB, free: 17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.689e-05/1.017, allocations: 11.78 kB / 0.5879 GB, free: 17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/1.019, allocations: 261.3 kB / 0.5881 GB, free: 16.88 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004346/1.023, allocations: 1.541 MB / 0.5896 GB, free: 16.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.313e-05/1.023, allocations: 80.02 kB / 0.5897 GB, free: 16.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002767/1.024, allocations: 120.8 kB / 0.5898 GB, free: 16.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/1.026, allocations: 1.456 MB / 0.5912 GB, free: 15.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.852e-05/1.026, allocations: 7.859 kB / 0.5912 GB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/1.026, allocations: 46.69 kB / 0.5913 GB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/1.026, allocations: 87.05 kB / 0.5914 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001686/1.028, allocations: 1.205 MB / 0.5925 GB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007068/1.035, allocations: 5.65 MB / 0.5981 GB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007672/1.036, allocations: 0.582 MB / 0.5986 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000479/1.036, allocations: 387.5 kB / 0.599 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.972e-05/1.036, allocations: 8.375 kB / 0.599 GB, free: 11.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/1.036, allocations: 41.94 kB / 0.599 GB, free: 11.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 3.997e-06/1.036, allocations: 0 / 0.599 GB, free: 11.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=75): time 0.00592/1.042, allocations: 2.882 MB / 0.6019 GB, free: 10.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/1.042, allocations: 85.89 kB / 0.6019 GB, free: 10.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008754/1.043, allocations: 0.6293 MB / 0.6025 GB, free: 9.586 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.409e-05/1.043, allocations: 40.08 kB / 0.6026 GB, free: 9.551 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003606/1.044, allocations: 0.5884 MB / 0.6032 GB, free: 9.117 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002305/1.044, allocations: 272.6 kB / 0.6034 GB, free: 8.891 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.52e-05/1.044, allocations: 21.44 kB / 0.6034 GB, free: 8.887 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/1.044, allocations: 406.2 kB / 0.6038 GB, free: 8.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004822/1.045, allocations: 379.8 kB / 0.6042 GB, free: 8.266 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005912/1.045, allocations: 0.6444 MB / 0.6048 GB, free: 7.645 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006467/1.046, allocations: 0.5007 MB / 0.6053 GB, free: 7.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/1.046, allocations: 4 kB / 0.6053 GB, free: 7.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003027/1.049, allocations: 1.671 MB / 0.6069 GB, free: 5.969 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/1.049, allocations: 12 kB / 0.607 GB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002286/1.051, allocations: 1.296 MB / 0.6082 GB, free: 4.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/1.053, allocations: 0.5818 MB / 0.6088 GB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000601/1.054, allocations: 169.5 kB / 0.609 GB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/1.064, allocations: 9.44 MB / 0.6182 GB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/1.065, allocations: 51.88 kB / 0.6182 GB, free: 10.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.22e-05/1.066, allocations: 40.19 kB / 0.6183 GB, free: 10.41 MB / 394.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 () * 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.000244/1.066, allocations: 168.5 kB / 0.6184 GB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/1.066, allocations: 94.81 kB / 0.6185 GB, free: 10.14 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002421/1.068, allocations: 1.232 MB / 0.6197 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/1.068, allocations: 8 kB / 0.6197 GB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/1.068, allocations: 11.95 kB / 0.6197 GB, free: 8.867 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/1.068, allocations: 7.984 kB / 0.6197 GB, free: 8.859 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004597/1.073, allocations: 2.387 MB / 0.6221 GB, free: 6.398 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/1.073, allocations: 4 kB / 0.6221 GB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004755/1.074, allocations: 103.8 kB / 0.6222 GB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/1.075, allocations: 364.1 kB / 0.6225 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.154e-05/1.075, allocations: 31.98 kB / 0.6226 GB, free: 5.891 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008167/1.083, allocations: 8.477 MB / 0.6308 GB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.083, allocations: 8.062 kB / 0.6308 GB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002902/1.086, allocations: 1.74 MB / 0.6325 GB, free: 10.89 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006138/1.087, allocations: 235.8 kB / 0.6328 GB, free: 10.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/1.087, allocations: 28 kB / 0.6328 GB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004567/1.087, allocations: 23.97 kB / 0.6328 GB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001675/1.087, allocations: 64.38 kB / 0.6329 GB, free: 10.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/1.087, allocations: 23.98 kB / 0.6329 GB, free: 10.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007829/1.088, allocations: 0.4913 MB / 0.6334 GB, free: 10.02 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.31e-07/1.088, allocations: 0 / 0.6334 GB, free: 10.02 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001622/1.09, allocations: 360 kB / 0.6337 GB, free: 9.664 MB / 410.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: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * 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.0003886/1.09, allocations: 213.8 kB / 0.6339 GB, free: 9.457 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002547/1.093, allocations: 1.542 MB / 0.6354 GB, free: 7.859 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/1.093, allocations: 0 / 0.6354 GB, free: 7.859 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001642/1.094, allocations: 1.08 MB / 0.6365 GB, free: 6.719 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/1.095, allocations: 183.2 kB / 0.6367 GB, free: 6.543 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003888/1.099, allocations: 2.19 MB / 0.6388 GB, free: 4.301 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/1.1, allocations: 1.286 MB / 0.6401 GB, free: 2.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007139/1.101, allocations: 215.6 kB / 0.6403 GB, free: 2.766 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/1.101, allocations: 63.42 kB / 0.6403 GB, free: 2.707 MB / 410.7 MB Notification: Performance of SimCode: time 1.533e-06/1.101, allocations: 0 / 0.6403 GB, free: 2.707 MB / 410.7 MB Notification: Performance of Templates: time 0.02752/1.129, allocations: 14.77 MB / 0.6547 GB, free: 3.945 MB / 426.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)