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.001566/0.001566, allocations: 181.3 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.938/1.938, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 84.72 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5626/0.5626, allocations: 48.77 MB / 358.8 MB, free: 53.14 MB / 299.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 1.84e-05/1.842e-05, allocations: 0 / 425.3 MB, free: 8.223 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1458, allocations: 60.25 MB / 485.5 MB, free: 11.83 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.213/2.359, allocations: 0.764 GB / 1.238 GB, free: 58.89 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/2.359, allocations: 83.95 kB / 1.238 GB, free: 58.81 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 4.335/6.694, allocations: 1.165 GB / 2.403 GB, free: 46.24 MB / 0.5265 GB Notification: Performance of FrontEnd: time 1.222e-06/6.694, allocations: 0 / 2.403 GB, free: 46.24 MB / 0.5265 GB Notification: Performance of Transformations before backend: time 0.000278/6.695, allocations: 71.52 kB / 2.403 GB, free: 46.23 MB / 0.5265 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.009231/6.704, allocations: 2.781 MB / 2.406 GB, free: 44.88 MB / 0.5265 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/6.704, allocations: 10.97 kB / 2.406 GB, free: 44.88 MB / 0.5265 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00357/6.708, allocations: 0.5945 MB / 2.406 GB, free: 44.7 MB / 0.5265 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00571/6.713, allocations: 2.258 MB / 2.408 GB, free: 44.12 MB / 0.5265 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.139e-05/6.713, allocations: 70.19 kB / 2.408 GB, free: 44.12 MB / 0.5265 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005061/6.714, allocations: 139.3 kB / 2.409 GB, free: 44.12 MB / 0.5265 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00395/6.718, allocations: 2.253 MB / 2.411 GB, free: 44.1 MB / 0.5265 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004954/6.723, allocations: 2.688 MB / 2.413 GB, free: 43.82 MB / 0.5265 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.234e-05/6.723, allocations: 0 / 2.413 GB, free: 43.82 MB / 0.5265 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003674/6.723, allocations: 7.594 kB / 2.413 GB, free: 43.82 MB / 0.5265 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.49e-05/6.723, allocations: 87.69 kB / 2.413 GB, free: 43.81 MB / 0.5265 GB Warning: The model contains alias variables with conflicting start and/or 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.01908/6.743, allocations: 12.55 MB / 2.426 GB, free: 37.88 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001414/6.744, allocations: 0.9592 MB / 2.427 GB, free: 37.85 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/6.745, allocations: 0.7437 MB / 2.427 GB, free: 37.82 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006148/6.746, allocations: 306.8 kB / 2.428 GB, free: 37.64 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.239e-05/6.746, allocations: 65.66 kB / 2.428 GB, free: 37.59 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=106): time 5.07e-06/6.746, allocations: 0 / 2.428 GB, free: 37.59 MB / 0.5265 GB Notification: Performance of matching and sorting (n=119): time 0.01298/6.759, allocations: 4.777 MB / 2.432 GB, free: 35.46 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.288e-05/6.759, allocations: 170.5 kB / 2.433 GB, free: 35.26 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004375/6.763, allocations: 2.732 MB / 2.435 GB, free: 34.3 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.0004508/6.764, allocations: 29.67 kB / 2.435 GB, free: 34.27 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009177/6.765, allocations: 1.406 MB / 2.437 GB, free: 33.18 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003286/6.765, allocations: 408 kB / 2.437 GB, free: 32.87 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.292e-05/6.765, allocations: 0 / 2.437 GB, free: 32.87 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0001008/6.765, allocations: 365 kB / 2.437 GB, free: 32.54 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009598/6.766, allocations: 0.7537 MB / 2.438 GB, free: 32.2 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/6.767, allocations: 1.062 MB / 2.439 GB, free: 31.49 MB / 0.5265 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.01087/6.778, allocations: 3.549 MB / 2.443 GB, free: 30.52 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-05/6.778, allocations: 3.5 kB / 2.443 GB, free: 30.52 MB / 0.5265 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004544/6.783, allocations: 2.523 MB / 2.445 GB, free: 29.46 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007899/6.784, allocations: 3.445 MB / 2.448 GB, free: 25.76 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.838e-05/6.784, allocations: 7.469 kB / 2.448 GB, free: 25.76 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003259/6.787, allocations: 0.9926 MB / 2.449 GB, free: 25.54 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/6.788, allocations: 314.9 kB / 2.45 GB, free: 25.52 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003293/6.792, allocations: 3.831 MB / 2.453 GB, free: 22.56 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/6.794, allocations: 215.6 kB / 2.454 GB, free: 22.55 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/6.794, allocations: 87.31 kB / 2.454 GB, free: 22.54 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/6.794, allocations: 4.594 kB / 2.454 GB, free: 22.54 MB / 0.5265 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003403/6.798, allocations: 2.188 MB / 2.456 GB, free: 21.58 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/6.798, allocations: 8 kB / 2.456 GB, free: 21.57 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002651/6.8, allocations: 0.8585 MB / 2.457 GB, free: 20.91 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/6.802, allocations: 328.3 kB / 2.457 GB, free: 20.63 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003304/6.805, allocations: 4.876 MB / 2.462 GB, free: 15.81 MB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/6.808, allocations: 203.2 kB / 2.462 GB, free: 15.69 MB / 0.5265 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001726/6.808, allocations: 86.47 kB / 2.462 GB, free: 15.61 MB / 0.5265 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.plant.CombustionChamber1.M:DUMMY_DER(fixed = false ) "Gas total mass" type: Real 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 () * 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.0007497/6.809, allocations: 155.2 kB / 2.462 GB, free: 15.46 MB / 0.5265 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006292/6.809, allocations: 245.1 kB / 2.462 GB, free: 15.21 MB / 0.5265 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003492/6.813, allocations: 1.985 MB / 2.464 GB, free: 13.48 MB / 0.5265 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.226e-05/6.813, allocations: 12 kB / 2.464 GB, free: 13.47 MB / 0.5265 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/6.813, allocations: 15.56 kB / 2.464 GB, free: 13.46 MB / 0.5265 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/6.813, allocations: 6.797 kB / 2.464 GB, free: 13.46 MB / 0.5265 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007618/6.821, allocations: 4.803 MB / 2.469 GB, free: 9.598 MB / 0.5265 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/6.821, allocations: 3.953 kB / 2.469 GB, free: 9.594 MB / 0.5265 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001659/6.822, allocations: 323.3 kB / 2.469 GB, free: 9.336 MB / 0.5265 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007764/6.823, allocations: 258 kB / 2.47 GB, free: 9.133 MB / 0.5265 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.64e-05/6.823, allocations: 31.55 kB / 2.47 GB, free: 9.109 MB / 0.5265 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00284/6.826, allocations: 5.874 MB / 2.475 GB, free: 3.113 MB / 0.5265 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/6.826, allocations: 7.938 kB / 2.475 GB, free: 3.105 MB / 0.5265 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003845/6.83, allocations: 2.569 MB / 2.478 GB, free: 0.6797 MB / 0.5265 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001875/6.832, allocations: 0.7045 MB / 2.479 GB, free: 40 kB / 0.5265 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/6.832, allocations: 19.84 kB / 2.479 GB, free: 24 kB / 0.5265 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002766/6.835, allocations: 223.8 kB / 2.479 GB, free: 0 / 0.5265 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004796/6.835, allocations: 115.5 kB / 2.479 GB, free: 15.98 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002611/6.836, allocations: 120.6 kB / 2.479 GB, free: 15.89 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 0.003956/6.84, allocations: 2.061 MB / 2.481 GB, free: 14.04 MB / 0.5421 GB Notification: Performance of sort global known variables: time 5.31e-07/6.84, allocations: 0 / 2.481 GB, free: 14.04 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.005283/6.845, allocations: 1.358 MB / 2.482 GB, free: 12.7 MB / 0.5421 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[2],plant.CombustionChamber1.fluegas.Xi[3],plant.CombustionChamber1.fluegas.Xi[4],plant.CombustionChamber1.fluegas.Xi[5],plant.CombustionChamber1.fluegas.T,plant.CombustionChamber1.fluegas.R,plant.CombustionChamber1.Tm,plant.gasFlowActuator.y,plant.powerSensor1.y) * Number of discrete variables: 0 () * Number of discrete 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.00502/6.85, allocations: 2.255 MB / 2.485 GB, free: 11.14 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.006332/6.856, allocations: 3.267 MB / 2.488 GB, free: 8.094 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 1.705e-05/6.856, allocations: 6.781 kB / 2.488 GB, free: 8.09 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/6.858, allocations: 1.035 MB / 2.489 GB, free: 7.117 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004734/6.863, allocations: 0.6188 MB / 2.489 GB, free: 6.652 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01025/6.873, allocations: 5.016 MB / 2.494 GB, free: 1.742 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.364/7.237, allocations: 2.059 MB / 2.496 GB, free: 62.18 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.00607/7.243, allocations: 1.32 MB / 2.498 GB, free: 62.16 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004718/7.244, allocations: 122.6 kB / 2.498 GB, free: 62.15 MB / 0.5421 GB Notification: Performance of SimCode: time 1.072e-06/7.244, allocations: 1.344 kB / 2.498 GB, free: 62.15 MB / 0.5421 GB Notification: Performance of Templates: time 0.1034/7.347, allocations: 60.45 MB / 2.557 GB, free: 60.68 MB / 0.5421 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)