Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001551, allocations: 185 kB / 15.77 MB, free: 6.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.041/2.041, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001136/0.001135, allocations: 86.84 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2739/0.2739, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004583/0.0004584, allocations: 16 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1107, allocations: 56.33 MB / 479 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01236/0.1231, allocations: 7.464 MB / 486.5 MB, free: 10.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.007975/0.1311, allocations: 3.181 MB / 489.7 MB, free: 7.359 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.1322, allocations: 47.69 kB / 489.7 MB, free: 7.312 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009311/0.1332, allocations: 214.6 kB / 489.9 MB, free: 7.102 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002818/0.136, allocations: 0.5764 MB / 490.5 MB, free: 6.523 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001725/0.1378, allocations: 367.2 kB / 490.9 MB, free: 6.164 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002017/0.1398, allocations: 0.722 MB / 491.6 MB, free: 5.441 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/0.142, allocations: 0.9053 MB / 492.5 MB, free: 4.496 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001016/0.143, allocations: 394.5 kB / 492.9 MB, free: 4.109 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009333/0.144, allocations: 422.5 kB / 493.3 MB, free: 3.695 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.1441, allocations: 36 kB / 493.3 MB, free: 3.66 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.1452, allocations: 351.5 kB / 493.7 MB, free: 3.316 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005364/0.1458, allocations: 375 kB / 494 MB, free: 2.949 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003441/0.1461, allocations: 201.2 kB / 494.2 MB, free: 2.746 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001879/0.148, allocations: 1.06 MB / 495.3 MB, free: 1.684 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.148, allocations: 0 / 495.3 MB, free: 1.684 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1481, allocations: 0 / 495.3 MB, free: 1.684 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.1481, allocations: 0 / 495.3 MB, free: 1.684 MB / 330.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.00309/0.1512, allocations: 1.117 MB / 496.4 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.1512, allocations: 8.031 kB / 496.4 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002011/0.1533, allocations: 218.5 kB / 496.6 MB, free: 300 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002539/0.1558, allocations: 0.6934 MB / 497.3 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.805e-05/0.156, allocations: 58 kB / 497.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003785/0.1563, allocations: 107.6 kB / 497.5 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.1591, allocations: 1.076 MB / 498.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.392e-05/0.1591, allocations: 0 / 498.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/0.1593, allocations: 39.98 kB / 498.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002886/0.1596, allocations: 69.95 kB / 498.7 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.1619, allocations: 0.8548 MB / 499.5 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008885/0.1708, allocations: 4.012 MB / 0.4917 GB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001043/0.1719, allocations: 435.8 kB / 0.4922 GB, free: 8.641 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.11e-05/0.172, allocations: 12.42 kB / 0.4922 GB, free: 8.629 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/0.1721, allocations: 46.94 kB / 0.4922 GB, free: 8.574 MB / 346.7 MB Notification: Performance of pre-optimization done (n=48): time 3.005e-06/0.1721, allocations: 0 / 0.4922 GB, free: 8.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.004846/0.1769, allocations: 1.717 MB / 0.4939 GB, free: 6.797 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.177, allocations: 89.53 kB / 0.494 GB, free: 6.691 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001088/0.1781, allocations: 0.5782 MB / 0.4945 GB, free: 6.102 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.368e-05/0.1783, allocations: 37.7 kB / 0.4946 GB, free: 6.059 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004276/0.1787, allocations: 496.9 kB / 0.495 GB, free: 5.566 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002365/0.1789, allocations: 181.4 kB / 0.4952 GB, free: 5.387 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.466e-05/0.179, allocations: 16.12 kB / 0.4952 GB, free: 5.371 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.1792, allocations: 346.8 kB / 0.4956 GB, free: 5.023 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006693/0.1799, allocations: 249.8 kB / 0.4958 GB, free: 4.781 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008489/0.1807, allocations: 465 kB / 0.4962 GB, free: 4.23 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008635/0.1816, allocations: 342 kB / 0.4966 GB, free: 3.898 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.1816, allocations: 3.938 kB / 0.4966 GB, free: 3.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003237/0.1849, allocations: 1.068 MB / 0.4976 GB, free: 2.793 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.925e-05/0.1849, allocations: 12 kB / 0.4976 GB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002421/0.1874, allocations: 0.7879 MB / 0.4984 GB, free: 1.965 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.1886, allocations: 226.3 kB / 0.4986 GB, free: 1.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/0.1897, allocations: 151.8 kB / 0.4988 GB, free: 1.586 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00867/0.1984, allocations: 5.323 MB / 0.504 GB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008878/0.1993, allocations: 43.94 kB / 0.504 GB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.288e-05/0.1994, allocations: 39.98 kB / 0.504 GB, free: 11.77 MB / 362.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 (80): * Single equations (assignments): 77 * 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.0006541/0.2001, allocations: 305.4 kB / 0.5043 GB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.2003, allocations: 67.23 kB / 0.5044 GB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.2019, allocations: 0.6127 MB / 0.505 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.202, allocations: 8 kB / 0.505 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.202, allocations: 0 / 0.505 GB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.202, allocations: 3.984 kB / 0.505 GB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004041/0.206, allocations: 1.482 MB / 0.5065 GB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.2061, allocations: 0 / 0.5065 GB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/0.2074, allocations: 123.9 kB / 0.5066 GB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/0.2074, allocations: 7.984 kB / 0.5066 GB, free: 9.082 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.396e-05/0.2075, allocations: 15.98 kB / 0.5066 GB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-05/0.2075, allocations: 7.938 kB / 0.5066 GB, free: 9.059 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.2075, allocations: 8.156 kB / 0.5066 GB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002159/0.2097, allocations: 0.996 MB / 0.5076 GB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004531/0.2102, allocations: 180.2 kB / 0.5078 GB, free: 7.789 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/0.2104, allocations: 15.98 kB / 0.5078 GB, free: 7.773 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005791/0.2109, allocations: 23.98 kB / 0.5078 GB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.2111, allocations: 40.34 kB / 0.5078 GB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.2111, allocations: 12 kB / 0.5078 GB, free: 7.695 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008134/0.212, allocations: 419 kB / 0.5082 GB, free: 7.289 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.212, allocations: 480 / 0.5082 GB, free: 7.289 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001216/0.2132, allocations: 232 kB / 0.5085 GB, free: 7.062 MB / 362.7 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 (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.000399/0.2136, allocations: 143.1 kB / 0.5086 GB, free: 6.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002651/0.2163, allocations: 1.025 MB / 0.5096 GB, free: 5.844 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.2163, allocations: 0 / 0.5096 GB, free: 5.844 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00068/0.217, allocations: 262.3 kB / 0.5099 GB, free: 5.586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.2182, allocations: 136.3 kB / 0.51 GB, free: 5.453 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005455/0.2237, allocations: 2.588 MB / 0.5125 GB, free: 2.816 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001014/0.2247, allocations: 1.098 MB / 0.5136 GB, free: 1.688 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/0.2251, allocations: 63.42 kB / 0.5136 GB, free: 1.625 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2251, allocations: 0 / 0.5136 GB, free: 1.625 MB / 362.7 MB Notification: Performance of Templates: time 0.323/0.5482, allocations: 14.68 MB / 0.528 GB, free: 46.84 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1)