Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.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.Examples.BraytonCycle.OpenLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator") translateModel(ThermoPower.Examples.BraytonCycle.OpenLoopSimulator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 178.4 kB / 17.4 MB, free: 4.398 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.058/2.058, 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.0007752/0.0007751, allocations: 93.14 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6887/0.6887, allocations: 48.79 MB / 369 MB, free: 47.36 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0003972/0.0003973, allocations: 12 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1686, allocations: 60.25 MB / 0.4884 GB, free: 14.32 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.515/2.684, allocations: 0.7649 GB / 1.253 GB, free: 42.53 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005204/2.684, allocations: 92.61 kB / 1.253 GB, free: 42.45 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.602/8.287, allocations: 1.18 GB / 2.433 GB, free: 55.72 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.677e-06/8.287, allocations: 0 / 2.433 GB, free: 55.72 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0006614/8.287, allocations: 67.3 kB / 2.433 GB, free: 55.72 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 561 * Number of variables: 561 Notification: Performance of Generate backend data structure: time 0.01688/8.304, allocations: 3.204 MB / 2.436 GB, free: 54.09 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.859e-05/8.305, allocations: 7.656 kB / 2.436 GB, free: 54.09 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005518/8.31, allocations: 0.5804 MB / 2.437 GB, free: 53.91 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01066/8.321, allocations: 2.367 MB / 2.439 GB, free: 53.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004831/8.321, allocations: 163.9 kB / 2.439 GB, free: 53.24 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001935/8.323, allocations: 229.7 kB / 2.44 GB, free: 53.23 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01493/8.338, allocations: 3.087 MB / 2.443 GB, free: 52.94 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002454/8.339, allocations: 4.125 kB / 2.443 GB, free: 52.94 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002022/8.341, allocations: 109.1 kB / 2.443 GB, free: 52.93 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002221/8.341, allocations: 84.38 kB / 2.443 GB, free: 52.93 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00881/8.35, allocations: 2.419 MB / 2.445 GB, free: 52.89 MB / 0.5417 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.03829/8.388, allocations: 13.19 MB / 2.458 GB, free: 44.38 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002623/8.391, allocations: 1.012 MB / 2.459 GB, free: 43.91 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/8.393, allocations: 0.7732 MB / 2.46 GB, free: 43.6 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009319/8.394, allocations: 311.2 kB / 2.46 GB, free: 43.39 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000129/8.394, allocations: 66.31 kB / 2.46 GB, free: 43.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=106): time 7.474e-06/8.394, allocations: 0 / 2.46 GB, free: 43.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=119): time 0.02194/8.416, allocations: 6.005 MB / 2.466 GB, free: 40.08 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/8.416, allocations: 170.9 kB / 2.466 GB, free: 39.88 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01297/8.429, allocations: 3.91 MB / 2.47 GB, free: 35.95 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0009379/8.43, allocations: 61.7 kB / 2.47 GB, free: 35.89 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001831/8.432, allocations: 1.386 MB / 2.471 GB, free: 34.49 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000962/8.433, allocations: 438.8 kB / 2.472 GB, free: 34.06 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/8.433, allocations: 28 kB / 2.472 GB, free: 34.04 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000322/8.434, allocations: 365.9 kB / 2.472 GB, free: 33.67 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002064/8.436, allocations: 0.7971 MB / 2.473 GB, free: 32.88 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002363/8.438, allocations: 1.126 MB / 2.474 GB, free: 31.63 MB / 0.5417 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: plant.grid.f = plant.grid.fnom (0.1591549430918953 * plant.generator.omega_e_nom = plant.grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.01914/8.457, allocations: 5.548 MB / 2.479 GB, free: 26.02 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-05/8.457, allocations: 4 kB / 2.479 GB, free: 26.01 MB / 0.5417 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.007697/8.465, allocations: 2.722 MB / 2.482 GB, free: 23.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005937/8.466, allocations: 356 kB / 2.482 GB, free: 22.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.18e-05/8.466, allocations: 8 kB / 2.482 GB, free: 22.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005253/8.471, allocations: 1.193 MB / 2.484 GB, free: 21.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001611/8.473, allocations: 307.6 kB / 2.484 GB, free: 21.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00522/8.478, allocations: 3.712 MB / 2.488 GB, free: 17.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004234/8.482, allocations: 254.2 kB / 2.488 GB, free: 17.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003787/8.483, allocations: 92.72 kB / 2.488 GB, free: 17.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/8.483, allocations: 4 kB / 2.488 GB, free: 17.23 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0052/8.488, allocations: 2.373 MB / 2.49 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.586e-05/8.488, allocations: 8 kB / 2.49 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00359/8.492, allocations: 0.9638 MB / 2.491 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/8.493, allocations: 335.6 kB / 2.491 GB, free: 13.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006234/8.5, allocations: 4.772 MB / 2.496 GB, free: 8.672 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004283/8.504, allocations: 251.8 kB / 2.496 GB, free: 8.438 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003557/8.504, allocations: 79.98 kB / 2.496 GB, free: 8.359 MB / 0.5417 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: plant.grid.f = plant.grid.fnom. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (145): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {12 32} Notification: Performance of prepare postOptimizeDAE: time 0.004398/8.509, allocations: 1.003 MB / 2.497 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002142/8.511, allocations: 300.5 kB / 2.498 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006652/8.518, allocations: 2.148 MB / 2.5 GB, free: 4.883 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.557e-05/8.518, allocations: 12 kB / 2.5 GB, free: 4.871 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.937e-05/8.518, allocations: 4 kB / 2.5 GB, free: 4.867 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.229e-05/8.518, allocations: 3.984 kB / 2.5 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01794/8.536, allocations: 5.226 MB / 2.505 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.096e-05/8.536, allocations: 3.984 kB / 2.505 GB, free: 15.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001989/8.538, allocations: 311.7 kB / 2.505 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001882/8.54, allocations: 320.9 kB / 2.506 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002063/8.54, allocations: 47.97 kB / 2.506 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007673/8.548, allocations: 5.869 MB / 2.511 GB, free: 8.754 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.029e-05/8.548, allocations: 8.016 kB / 2.511 GB, free: 8.746 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007898/8.556, allocations: 2.721 MB / 2.514 GB, free: 6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004241/8.56, allocations: 0.7941 MB / 2.515 GB, free: 5.184 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001789/8.562, allocations: 43.92 kB / 2.515 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004376/8.566, allocations: 215.6 kB / 2.515 GB, free: 4.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003248/8.566, allocations: 72.89 kB / 2.515 GB, free: 4.859 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006563/8.567, allocations: 119.9 kB / 2.515 GB, free: 4.742 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.009539/8.577, allocations: 2.755 MB / 2.518 GB, free: 1.988 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.31e-07/8.577, allocations: 0 / 2.518 GB, free: 1.988 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01199/8.589, allocations: 1.508 MB / 2.519 GB, free: 492 kB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 13 (plant.generator.phi,plant.generator.omega_m,plant.generator.omega_e_filt,plant.CombustionChamber1.fluegas.p,plant.CombustionChamber1.fluegas.Xi[1],plant.CombustionChamber1.fluegas.Xi[2],plant.CombustionChamber1.fluegas.Xi[3],plant.CombustionChamber1.fluegas.Xi[4],plant.CombustionChamber1.fluegas.Xi[5],plant.CombustionChamber1.fluegas.T,plant.CombustionChamber1.Tm,plant.gasFlowActuator.y,plant.powerSensor1.y) * 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 (111): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {3 8,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.5208/9.11, allocations: 2.053 MB / 2.521 GB, free: 78.28 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01224/9.122, allocations: 3.343 MB / 2.525 GB, free: 78.23 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.76e-05/9.122, allocations: 12.5 kB / 2.525 GB, free: 78.23 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.003514/9.126, allocations: 1.09 MB / 2.526 GB, free: 78.11 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01022/9.136, allocations: 1.207 MB / 2.527 GB, free: 78.07 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02062/9.156, allocations: 7.184 MB / 2.534 GB, free: 75.62 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002548/9.159, allocations: 1.999 MB / 2.536 GB, free: 74.89 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004957/9.164, allocations: 0.6402 MB / 2.536 GB, free: 74.87 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007326/9.165, allocations: 191.4 kB / 2.537 GB, free: 74.86 MB / 0.5573 GB Notification: Performance of SimCode: time 2.245e-06/9.165, allocations: 0 / 2.537 GB, free: 74.86 MB / 0.5573 GB Notification: Performance of Templates: time 0.2091/9.374, allocations: 85.43 MB / 2.62 GB, free: 70.94 MB / 0.5573 GB make -j1 -f ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.makefile (rm -f ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.pipe ; mkfifo ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.pipe >> ../files/ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.sim & ./ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Examples.BraytonCycle.OpenLoopSimulator.pipe 2>&1)