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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 110.4 kB / 16.92 MB, free: 6.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001111, allocations: 191.4 kB / 17.85 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 241.5 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1778/0.1778, allocations: 38.03 MB / 329.7 MB, free: 8.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 62.02 kB / 398.8 MB, free: 34.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.125, allocations: 58.06 MB / 456.9 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01007/0.1351, allocations: 7.515 MB / 464.4 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005488/0.1406, allocations: 2.979 MB / 467.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000657/0.1413, allocations: 27.81 kB / 467.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002266/0.1436, allocations: 0.7389 MB / 468.1 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.1454, allocations: 0.6998 MB / 468.8 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.1465, allocations: 367.2 kB / 469.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002311/0.1488, allocations: 1.344 MB / 470.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001225/0.15, allocations: 0.7169 MB / 471.2 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009397/0.151, allocations: 0.5526 MB / 471.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001113/0.1521, allocations: 0.6229 MB / 472.4 MB, free: 8.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.1523, allocations: 72 kB / 472.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.1535, allocations: 483.1 kB / 473 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006331/0.1541, allocations: 454.9 kB / 473.4 MB, free: 7.434 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008223/0.155, allocations: 0.5092 MB / 473.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001786/0.1568, allocations: 1.402 MB / 475.3 MB, free: 5.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1568, allocations: 4 kB / 475.3 MB, free: 5.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.1568, allocations: 0 / 475.3 MB, free: 5.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.295e-05/0.1568, allocations: 0 / 475.3 MB, free: 5.512 MB / 350.1 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.002565/0.1594, allocations: 1.277 MB / 476.6 MB, free: 4.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.1595, allocations: 15.89 kB / 476.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.1607, allocations: 207.5 kB / 476.8 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.1621, allocations: 0.7059 MB / 477.5 MB, free: 3.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.607e-05/0.1622, allocations: 62.36 kB / 477.6 MB, free: 3.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/0.1624, allocations: 103.9 kB / 477.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001588/0.164, allocations: 1.092 MB / 478.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.1641, allocations: 7.938 kB / 478.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.084e-05/0.1642, allocations: 35.98 kB / 478.8 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001705/0.1643, allocations: 65.97 kB / 478.9 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001381/0.1657, allocations: 0.8704 MB / 479.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005208/0.1709, allocations: 4.016 MB / 483.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000614/0.1716, allocations: 431.8 kB / 484.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/0.172, allocations: 282.8 kB / 484.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.661e-05/0.172, allocations: 12.42 kB / 484.5 MB, free: 11.97 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.1721, allocations: 39 kB / 484.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.514e-06/0.1721, allocations: 0 / 484.5 MB, free: 11.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.002921/0.175, allocations: 1.717 MB / 486.2 MB, free: 10.15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.1751, allocations: 85.53 kB / 486.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006451/0.1757, allocations: 0.586 MB / 486.9 MB, free: 9.449 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.41e-05/0.1758, allocations: 37.7 kB / 486.9 MB, free: 9.406 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003716/0.1761, allocations: 462.5 kB / 487.4 MB, free: 8.945 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.1763, allocations: 189.4 kB / 487.6 MB, free: 8.758 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.1766, allocations: 146.6 kB / 487.7 MB, free: 8.605 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002197/0.1768, allocations: 378.8 kB / 488.1 MB, free: 8.227 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003927/0.1772, allocations: 249.8 kB / 488.3 MB, free: 7.984 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005286/0.1777, allocations: 476.9 kB / 488.8 MB, free: 7.422 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.1788, allocations: 0.7742 MB / 489.6 MB, free: 6.551 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.1788, allocations: 0 / 489.6 MB, free: 6.551 MB / 366.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001976/0.1808, allocations: 1.111 MB / 490.7 MB, free: 5.406 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.1808, allocations: 8 kB / 490.7 MB, free: 5.398 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00131/0.1821, allocations: 0.7998 MB / 491.5 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007021/0.1828, allocations: 226.4 kB / 491.7 MB, free: 4.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00052/0.1834, allocations: 155.7 kB / 491.9 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005756/0.1891, allocations: 5.667 MB / 497.5 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004767/0.1896, allocations: 35.97 kB / 497.6 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.876e-05/0.1897, allocations: 32 kB / 497.6 MB, free: 14.02 MB / 382.1 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004437/0.1901, allocations: 310.4 kB / 497.9 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.1903, allocations: 67.16 kB / 498 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.1913, allocations: 0.6124 MB / 498.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1913, allocations: 4 kB / 498.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.1913, allocations: 0 / 498.6 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/0.1913, allocations: 7.984 kB / 498.6 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.1938, allocations: 1.49 MB / 0.4884 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.1939, allocations: 160 / 0.4884 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005894/0.1944, allocations: 135.8 kB / 0.4885 GB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.537e-06/0.1945, allocations: 4 kB / 0.4885 GB, free: 11.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/0.1945, allocations: 15.94 kB / 0.4885 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.698e-06/0.1945, allocations: 4 kB / 0.4885 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1945, allocations: 3.984 kB / 0.4885 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.1958, allocations: 0.9232 MB / 0.4894 GB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002627/0.1961, allocations: 188.1 kB / 0.4896 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.1962, allocations: 19.94 kB / 0.4896 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003226/0.1965, allocations: 19.98 kB / 0.4896 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.1966, allocations: 36.39 kB / 0.4897 GB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.1966, allocations: 16 kB / 0.4897 GB, free: 10.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004929/0.1971, allocations: 419 kB / 0.4901 GB, free: 9.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1971, allocations: 0 / 0.4901 GB, free: 9.633 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008543/0.198, allocations: 236 kB / 0.4903 GB, free: 9.402 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.phi,turboGrp.w,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003074/0.1983, allocations: 142.4 kB / 0.4904 GB, free: 9.258 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00202/0.2003, allocations: 1.158 MB / 0.4916 GB, free: 8.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.2004, allocations: 4 kB / 0.4916 GB, free: 8.055 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003902/0.2008, allocations: 267.8 kB / 0.4918 GB, free: 7.797 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009162/0.2017, allocations: 157.7 kB / 0.492 GB, free: 7.648 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003661/0.2054, allocations: 2.054 MB / 0.494 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008687/0.2063, allocations: 1.086 MB / 0.495 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006611/0.2069, allocations: 189.9 kB / 0.4952 GB, free: 4.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002294/0.2072, allocations: 59.42 kB / 0.4953 GB, free: 4.195 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.2072, allocations: 0 / 0.4953 GB, free: 4.195 MB / 382.1 MB Notification: Performance of Templates: time 0.02052/0.2277, allocations: 9.223 MB / 0.5043 GB, free: 11.03 MB / 398.1 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)