Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.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/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") translateModel(ThermoPower.Test.GasComponents.TestGasTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00287/0.00287, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.662/1.662, allocations: 205.4 MB / 223.5 MB, free: 9.023 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.0009559/0.0009558, allocations: 85.48 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4435/0.4435, allocations: 48.78 MB / 369 MB, free: 47.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005169/0.0005173, allocations: 12 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1489, allocations: 60.27 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.589/1.738, allocations: 0.7182 GB / 1.207 GB, free: 94.71 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002093/1.738, allocations: 87.81 kB / 1.207 GB, free: 94.63 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.5793/2.317, allocations: 203.7 MB / 1.406 GB, free: 96.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.363e-06/2.317, allocations: 4 kB / 1.406 GB, free: 96.89 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.146e-05/2.318, allocations: 19.94 kB / 1.406 GB, free: 96.88 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00286/2.32, allocations: 1.144 MB / 1.407 GB, free: 95.68 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/2.321, allocations: 12.03 kB / 1.407 GB, free: 95.66 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009311/2.321, allocations: 155.6 kB / 1.407 GB, free: 95.51 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001223/2.323, allocations: 0.7027 MB / 1.408 GB, free: 94.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.886e-05/2.323, allocations: 37.38 kB / 1.408 GB, free: 94.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/2.323, allocations: 52.38 kB / 1.408 GB, free: 94.68 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00104/2.324, allocations: 0.5949 MB / 1.408 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/2.324, allocations: 192 / 1.408 GB, free: 94.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-05/2.324, allocations: 27.94 kB / 1.408 GB, free: 94.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/2.324, allocations: 12 kB / 1.408 GB, free: 94.03 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006448/2.325, allocations: 451.7 kB / 1.409 GB, free: 93.59 MB / 0.5105 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003888/2.329, allocations: 2.37 MB / 1.411 GB, free: 91.06 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002289/2.329, allocations: 134.6 kB / 1.411 GB, free: 90.92 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.138e-05/2.329, allocations: 50.97 kB / 1.411 GB, free: 90.87 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/2.329, allocations: 121.1 kB / 1.411 GB, free: 90.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/2.329, allocations: 42.56 kB / 1.411 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=14): time 2.786e-06/2.329, allocations: 0 / 1.411 GB, free: 90.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=14): time 0.0005243/2.33, allocations: 260.8 kB / 1.412 GB, free: 90.42 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/2.33, allocations: 55.34 kB / 1.412 GB, free: 90.36 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/2.331, allocations: 1.317 MB / 1.413 GB, free: 89.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/2.331, allocations: 33.7 kB / 1.413 GB, free: 88.98 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002378/2.332, allocations: 463 kB / 1.413 GB, free: 88.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.08e-05/2.332, allocations: 51.34 kB / 1.413 GB, free: 88.47 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/2.332, allocations: 8 kB / 1.414 GB, free: 88.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 5.175e-05/2.332, allocations: 325.9 kB / 1.414 GB, free: 88.14 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/2.332, allocations: 125.6 kB / 1.414 GB, free: 88 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002017/2.332, allocations: 245.5 kB / 1.414 GB, free: 87.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003807/2.332, allocations: 340.8 kB / 1.414 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/2.332, allocations: 0 / 1.414 GB, free: 87.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0007538/2.333, allocations: 472 kB / 1.415 GB, free: 86.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.354e-05/2.333, allocations: 8 kB / 1.415 GB, free: 86.84 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/2.333, allocations: 7.938 kB / 1.415 GB, free: 86.83 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/2.333, allocations: 8.531 kB / 1.415 GB, free: 86.82 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/2.334, allocations: 99.88 kB / 1.415 GB, free: 86.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003947/2.334, allocations: 0.6094 MB / 1.416 GB, free: 86.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007066/2.335, allocations: 83.09 kB / 1.416 GB, free: 86.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.686e-05/2.335, allocations: 20 kB / 1.416 GB, free: 85.99 MB / 0.5105 GB Warning: Assuming fixed start value for the following 1 variables: Inertia1.phi:VARIABLE(unit = "rad" fixed = true ) "Absolute rotation angle of component" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005918/2.336, allocations: 301.7 kB / 1.416 GB, free: 85.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/2.336, allocations: 102.7 kB / 1.416 GB, free: 85.59 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000541/2.336, allocations: 231.3 kB / 1.416 GB, free: 85.35 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/2.336, allocations: 4 kB / 1.416 GB, free: 85.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/2.336, allocations: 0 / 1.416 GB, free: 85.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.094e-06/2.336, allocations: 3.984 kB / 1.416 GB, free: 85.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/2.338, allocations: 0.5802 MB / 1.417 GB, free: 84.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/2.338, allocations: 3.938 kB / 1.417 GB, free: 84.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002249/2.338, allocations: 51.91 kB / 1.417 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/2.338, allocations: 4 kB / 1.417 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/2.338, allocations: 0 / 1.417 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002505/2.338, allocations: 0.5977 MB / 1.418 GB, free: 84.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/2.338, allocations: 0 / 1.418 GB, free: 84.04 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004393/2.339, allocations: 386.8 kB / 1.418 GB, free: 83.64 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003514/2.339, allocations: 216 kB / 1.418 GB, free: 83.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001334/2.339, allocations: 4 kB / 1.418 GB, free: 83.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004323/2.339, allocations: 23.97 kB / 1.418 GB, free: 83.38 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.562e-05/2.339, allocations: 11.98 kB / 1.418 GB, free: 83.37 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/2.34, allocations: 19.92 kB / 1.418 GB, free: 83.35 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001115/2.341, allocations: 0.9267 MB / 1.419 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/2.341, allocations: 0 / 1.419 GB, free: 82.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009923/2.342, allocations: 299.7 kB / 1.419 GB, free: 82.12 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Inertia1.phi,Inertia1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001838/2.344, allocations: 1.035 MB / 1.42 GB, free: 81.12 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004366/2.344, allocations: 236.3 kB / 1.421 GB, free: 80.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.339e-06/2.344, allocations: 0 / 1.421 GB, free: 80.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/2.344, allocations: 63.86 kB / 1.421 GB, free: 80.83 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00145/2.346, allocations: 315.7 kB / 1.421 GB, free: 80.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/2.348, allocations: 1.773 MB / 1.423 GB, free: 78.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003816/2.348, allocations: 0.9922 MB / 1.424 GB, free: 77.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0005443/2.349, allocations: 182.6 kB / 1.424 GB, free: 77.51 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/2.349, allocations: 59.44 kB / 1.424 GB, free: 77.45 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/2.349, allocations: 4 kB / 1.424 GB, free: 77.45 MB / 0.5105 GB Notification: Performance of Templates: time 0.02839/2.377, allocations: 23.28 MB / 1.447 GB, free: 54.13 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.makefile (rm -f ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; mkfifo ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe >> ../files/ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.sim & ./ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.GasComponents.TestGasTurbine.pipe 2>&1)