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.000847/0.0008471, allocations: 171.9 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.4 MB / 222.2 MB, free: 9.031 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.0007661/0.0007661, allocations: 94.39 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1579/0.1579, allocations: 38.07 MB / 356.9 MB, free: 1.742 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003547/0.0003548, allocations: 12 kB / 423.3 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2197, allocations: 56.31 MB / 479.6 MB, free: 9.246 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.006907/0.2267, allocations: 7.873 MB / 487.5 MB, free: 3.891 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004416/0.2311, allocations: 3.183 MB / 490.7 MB, free: 1.629 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008142/0.232, allocations: 55.75 kB / 490.7 MB, free: 1.602 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007114/0.2327, allocations: 223.9 kB / 490.9 MB, free: 1.488 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001935/0.2347, allocations: 0.7024 MB / 491.6 MB, free: 1.129 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.2357, allocations: 381.9 kB / 492 MB, free: 0.957 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002517/0.2383, allocations: 1.601 MB / 493.6 MB, free: 380 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001654/0.2399, allocations: 1.014 MB / 494.6 MB, free: 15.8 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008857/0.2408, allocations: 452.7 kB / 495.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.242, allocations: 0.6135 MB / 495.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001929/0.2422, allocations: 37.59 kB / 495.7 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.2432, allocations: 447.2 kB / 496.2 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005572/0.2438, allocations: 414 kB / 496.6 MB, free: 15.19 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007561/0.2445, allocations: 468.2 kB / 497 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.246, allocations: 1.059 MB / 498.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.246, allocations: 0 / 498.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.246, allocations: 0 / 498.1 MB, free: 14.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.907e-05/0.246, allocations: 0.9688 kB / 498.1 MB, free: 14.7 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.00218/0.2482, allocations: 1.107 MB / 499.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2483, allocations: 10.28 kB / 499.2 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001102/0.2494, allocations: 209.8 kB / 499.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.2507, allocations: 0.7088 MB / 0.4884 GB, free: 13.22 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.709e-05/0.2507, allocations: 59.34 kB / 0.4885 GB, free: 13.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/0.2509, allocations: 101.1 kB / 0.4886 GB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/0.2525, allocations: 1.084 MB / 0.4896 GB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.2526, allocations: 10.16 kB / 0.4896 GB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.783e-05/0.2527, allocations: 39.89 kB / 0.4897 GB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/0.2528, allocations: 74.7 kB / 0.4897 GB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.2542, allocations: 0.863 MB / 0.4906 GB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004916/0.2591, allocations: 4.011 MB / 0.4945 GB, free: 8.789 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.2597, allocations: 444.5 kB / 0.4949 GB, free: 8.492 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003826/0.2601, allocations: 268.5 kB / 0.4952 GB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/0.2602, allocations: 13.3 kB / 0.4952 GB, free: 8.352 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.2602, allocations: 45.3 kB / 0.4952 GB, free: 8.301 MB / 330.7 MB Notification: Performance of pre-optimization done (n=48): time 2.384e-06/0.2602, allocations: 0 / 0.4952 GB, free: 8.301 MB / 330.7 MB Notification: Performance of matching and sorting (n=51): time 0.002851/0.2631, allocations: 1.714 MB / 0.4969 GB, free: 7.246 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.905e-05/0.2631, allocations: 83.05 kB / 0.497 GB, free: 7.152 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006234/0.2638, allocations: 0.5878 MB / 0.4976 GB, free: 6.793 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.592e-05/0.2638, allocations: 32.36 kB / 0.4976 GB, free: 6.758 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.2641, allocations: 473.2 kB / 0.498 GB, free: 6.34 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.2642, allocations: 185.8 kB / 0.4982 GB, free: 6.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.2643, allocations: 19.38 kB / 0.4982 GB, free: 6.164 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.2644, allocations: 380.5 kB / 0.4986 GB, free: 5.801 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003771/0.2648, allocations: 249.6 kB / 0.4988 GB, free: 5.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004991/0.2653, allocations: 469.1 kB / 0.4993 GB, free: 5.281 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009157/0.2662, allocations: 0.7661 MB / 0.5 GB, free: 4.719 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.2662, allocations: 2.594 kB / 0.5 GB, free: 4.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001848/0.2681, allocations: 1.105 MB / 0.5011 GB, free: 4.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2681, allocations: 7.469 kB / 0.5011 GB, free: 4.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001269/0.2694, allocations: 0.8018 MB / 0.5019 GB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006543/0.2701, allocations: 214.4 kB / 0.5021 GB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.2706, allocations: 159.7 kB / 0.5023 GB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004658/0.2753, allocations: 5.243 MB / 0.5074 GB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005152/0.2758, allocations: 35.97 kB / 0.5074 GB, free: 13.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.2758, allocations: 28 kB / 0.5074 GB, free: 13.21 MB / 346.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.0004485/0.2763, allocations: 309.5 kB / 0.5077 GB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.732e-05/0.2764, allocations: 67.16 kB / 0.5078 GB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008775/0.2773, allocations: 0.6124 MB / 0.5084 GB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.2773, allocations: 4 kB / 0.5084 GB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.2773, allocations: 0 / 0.5084 GB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/0.2773, allocations: 15.92 kB / 0.5084 GB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.2795, allocations: 1.486 MB / 0.5099 GB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.2795, allocations: 0 / 0.5099 GB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005837/0.2801, allocations: 131.8 kB / 0.51 GB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.2801, allocations: 4 kB / 0.51 GB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.2802, allocations: 12 kB / 0.51 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.2802, allocations: 4 kB / 0.51 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.2802, allocations: 3.984 kB / 0.51 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.2813, allocations: 0.9273 MB / 0.5109 GB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002249/0.2815, allocations: 188.1 kB / 0.5111 GB, free: 9.316 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.5e-05/0.2816, allocations: 16 kB / 0.5111 GB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003015/0.2819, allocations: 19.98 kB / 0.5111 GB, free: 9.281 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.046e-05/0.282, allocations: 32.39 kB / 0.5112 GB, free: 9.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.145e-05/0.282, allocations: 19.94 kB / 0.5112 GB, free: 9.23 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004477/0.2825, allocations: 419 kB / 0.5116 GB, free: 8.824 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2825, allocations: 0 / 0.5116 GB, free: 8.824 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008089/0.2833, allocations: 232 kB / 0.5118 GB, free: 8.598 MB / 346.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.0002749/0.2836, allocations: 146.5 kB / 0.5119 GB, free: 8.445 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001381/0.285, allocations: 1.018 MB / 0.5129 GB, free: 7.395 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.285, allocations: 0 / 0.5129 GB, free: 7.395 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003369/0.2853, allocations: 255.7 kB / 0.5132 GB, free: 7.141 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008487/0.2862, allocations: 155.7 kB / 0.5133 GB, free: 6.992 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003021/0.2892, allocations: 2.582 MB / 0.5158 GB, free: 4.363 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005961/0.2898, allocations: 1.079 MB / 0.5169 GB, free: 3.258 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001898/0.29, allocations: 63.44 kB / 0.517 GB, free: 3.195 MB / 346.7 MB Notification: Performance of SimCode: time 3.1e-07/0.29, allocations: 0 / 0.517 GB, free: 3.195 MB / 346.7 MB Notification: Performance of Templates: time 0.01657/0.3066, allocations: 15.13 MB / 0.5317 GB, free: 4.051 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)