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.001211/0.001212, allocations: 179.6 kB / 16.38 MB, free: 5.766 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.992/1.992, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0009983/0.000998, allocations: 89.69 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6617/0.6617, allocations: 48.78 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003593, allocations: 8 kB / 438.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1913, allocations: 60.25 MB / 498.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.66/2.851, allocations: 0.7647 GB / 1.252 GB, free: 33.21 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000485/2.852, allocations: 91.34 kB / 1.252 GB, free: 33.16 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.734/8.586, allocations: 1.179 GB / 2.431 GB, free: 56.15 MB / 0.5417 GB Notification: Performance of FrontEnd: time 5.871e-06/8.586, allocations: 0 / 2.431 GB, free: 56.15 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0007625/8.587, allocations: 65.5 kB / 2.431 GB, free: 56.15 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.01978/8.607, allocations: 3.237 MB / 2.435 GB, free: 54.53 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.527e-05/8.607, allocations: 11.53 kB / 2.435 GB, free: 54.53 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00623/8.613, allocations: 0.5954 MB / 2.435 GB, free: 54.35 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01255/8.625, allocations: 2.287 MB / 2.437 GB, free: 53.77 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005063/8.626, allocations: 162.9 kB / 2.438 GB, free: 53.77 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002332/8.628, allocations: 226.1 kB / 2.438 GB, free: 53.76 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/8.643, allocations: 3.06 MB / 2.441 GB, free: 53.47 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002678/8.644, allocations: 7.906 kB / 2.441 GB, free: 53.46 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002007/8.646, allocations: 107.9 kB / 2.441 GB, free: 53.46 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/8.646, allocations: 81.66 kB / 2.441 GB, free: 53.46 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008027/8.654, allocations: 2.42 MB / 2.443 GB, free: 52.62 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.03627/8.69, allocations: 13.18 MB / 2.456 GB, free: 43.05 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/8.693, allocations: 1.015 MB / 2.457 GB, free: 42.12 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/8.694, allocations: 304.6 kB / 2.457 GB, free: 41.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001392/8.694, allocations: 64.78 kB / 2.458 GB, free: 41.73 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=106): time 7.434e-06/8.694, allocations: 4.688 kB / 2.458 GB, free: 41.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=119): time 0.02279/8.717, allocations: 5.984 MB / 2.463 GB, free: 35.64 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/8.717, allocations: 171.2 kB / 2.464 GB, free: 35.43 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01128/8.729, allocations: 3.572 MB / 2.467 GB, free: 31.85 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000966/8.73, allocations: 65.7 kB / 2.467 GB, free: 31.78 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.002514/8.732, allocations: 1.388 MB / 2.468 GB, free: 30.38 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.00104/8.733, allocations: 428.5 kB / 2.469 GB, free: 29.97 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/8.734, allocations: 32 kB / 2.469 GB, free: 29.94 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002578/8.734, allocations: 361.9 kB / 2.469 GB, free: 29.58 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001972/8.736, allocations: 0.7965 MB / 2.47 GB, free: 28.78 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002248/8.738, allocations: 1.117 MB / 2.471 GB, free: 27.55 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: $DER.plant.generator.theta = plant.generator.omega_e_nom (6.283185307179586 * plant.grid.fnom = plant.generator.omega_e_nom) Notification: Performance of analyzeInitialSystem (initialization): time 0.01634/8.755, allocations: 3.86 MB / 2.475 GB, free: 23.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.591e-05/8.755, allocations: 8 kB / 2.475 GB, free: 23.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.007573/8.762, allocations: 2.737 MB / 2.478 GB, free: 20.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001221/8.764, allocations: 3.554 MB / 2.481 GB, free: 17.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.615e-05/8.764, allocations: 8 kB / 2.481 GB, free: 17.01 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004712/8.768, allocations: 1.151 MB / 2.482 GB, free: 15.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/8.77, allocations: 311.6 kB / 2.482 GB, free: 15.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/8.774, allocations: 3.708 MB / 2.486 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003761/8.778, allocations: 255.8 kB / 2.486 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003899/8.778, allocations: 91.91 kB / 2.486 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/8.778, allocations: 4 kB / 2.486 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004602/8.783, allocations: 2.402 MB / 2.489 GB, free: 8.996 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-05/8.783, allocations: 8 kB / 2.489 GB, free: 8.988 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003389/8.786, allocations: 0.9635 MB / 2.49 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/8.788, allocations: 339.6 kB / 2.49 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00378/8.792, allocations: 4.78 MB / 2.495 GB, free: 2.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003716/8.795, allocations: 251.6 kB / 2.495 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003091/8.796, allocations: 87.97 kB / 2.495 GB, free: 2.438 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: $DER.plant.generator.theta = plant.generator.omega_e_nom. 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.003553/8.799, allocations: 1 MB / 2.496 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001803/8.801, allocations: 296.5 kB / 2.496 GB, free: 1.133 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006/8.807, allocations: 2.139 MB / 2.498 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.885e-05/8.807, allocations: 12 kB / 2.498 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/8.807, allocations: 0 / 2.498 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.657e-05/8.807, allocations: 3.984 kB / 2.498 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/8.823, allocations: 5.247 MB / 2.504 GB, free: 9.676 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/8.823, allocations: 0 / 2.504 GB, free: 9.676 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00189/8.825, allocations: 319.6 kB / 2.504 GB, free: 9.363 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001718/8.827, allocations: 318.3 kB / 2.504 GB, free: 9.043 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/8.827, allocations: 51.97 kB / 2.504 GB, free: 8.992 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005167/8.832, allocations: 5.865 MB / 2.51 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/8.832, allocations: 4.062 kB / 2.51 GB, free: 2.824 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006753/8.839, allocations: 2.729 MB / 2.513 GB, free: 76 kB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5479/9.387, allocations: 0.7857 MB / 2.513 GB, free: 77.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000801/9.388, allocations: 37.84 kB / 2.513 GB, free: 77.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002619/9.391, allocations: 215 kB / 2.514 GB, free: 77.62 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002847/9.391, allocations: 77.97 kB / 2.514 GB, free: 77.62 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003234/9.391, allocations: 114.7 kB / 2.514 GB, free: 77.62 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.006384/9.398, allocations: 2.758 MB / 2.516 GB, free: 77.48 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.92e-07/9.398, allocations: 0 / 2.516 GB, free: 77.48 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00843/9.406, allocations: 1.507 MB / 2.518 GB, free: 77.48 MB / 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.006828/9.413, allocations: 2.065 MB / 2.52 GB, free: 77.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007892/9.421, allocations: 3.338 MB / 2.523 GB, free: 77.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.86e-05/9.421, allocations: 6.906 kB / 2.523 GB, free: 77.16 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002024/9.423, allocations: 1.084 MB / 2.524 GB, free: 77.04 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007699/9.431, allocations: 1.183 MB / 2.525 GB, free: 77 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01334/9.444, allocations: 7.194 MB / 2.532 GB, free: 74.54 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002131/9.446, allocations: 2.054 MB / 2.534 GB, free: 73.81 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004084/9.45, allocations: 0.6438 MB / 2.535 GB, free: 73.79 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006588/9.451, allocations: 188.2 kB / 2.535 GB, free: 73.78 MB / 0.5573 GB Notification: Performance of SimCode: time 1.603e-06/9.451, allocations: 2.625 kB / 2.535 GB, free: 73.78 MB / 0.5573 GB Notification: Performance of Templates: time 0.1657/9.617, allocations: 83.92 MB / 2.617 GB, free: 70.3 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)