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.002118/0.002118, allocations: 175.5 kB / 13.63 MB, free: 1.684 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.905/1.905, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001235/0.001235, allocations: 94.62 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3682/0.3682, allocations: 48.78 MB / 364.3 MB, free: 6.871 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.392e-05, allocations: 3.984 kB / 432.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1542, allocations: 60.25 MB / 492.7 MB, free: 4.379 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.32/2.475, allocations: 0.7647 GB / 1.246 GB, free: 65.15 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/2.475, allocations: 83.95 kB / 1.246 GB, free: 65.07 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.251/6.726, allocations: 1.18 GB / 2.426 GB, free: 58.89 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.703e-06/6.726, allocations: 0 / 2.426 GB, free: 58.89 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000253/6.726, allocations: 66.39 kB / 2.426 GB, free: 58.89 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.008271/6.735, allocations: 2.783 MB / 2.429 GB, free: 57.53 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/6.735, allocations: 11.28 kB / 2.429 GB, free: 57.52 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003478/6.738, allocations: 0.5966 MB / 2.429 GB, free: 57.34 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005439/6.744, allocations: 2.258 MB / 2.431 GB, free: 56.77 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001237/6.744, allocations: 162.7 kB / 2.431 GB, free: 56.77 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005319/6.744, allocations: 230.5 kB / 2.432 GB, free: 56.76 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005361/6.75, allocations: 3.021 MB / 2.435 GB, free: 56.47 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.81e-05/6.75, allocations: 3.312 kB / 2.435 GB, free: 56.47 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003598/6.75, allocations: 104.1 kB / 2.435 GB, free: 56.47 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.778e-05/6.75, allocations: 82.48 kB / 2.435 GB, free: 56.46 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003429/6.754, allocations: 2.363 MB / 2.437 GB, free: 56.41 MB / 0.5417 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.01822/6.772, allocations: 13.17 MB / 2.45 GB, free: 50.35 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/6.773, allocations: 1.001 MB / 2.451 GB, free: 50.31 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001155/6.774, allocations: 0.767 MB / 2.452 GB, free: 50.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006426/6.775, allocations: 304.6 kB / 2.452 GB, free: 50 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.828e-05/6.775, allocations: 68.12 kB / 2.452 GB, free: 49.94 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=106): time 3.617e-06/6.775, allocations: 0 / 2.452 GB, free: 49.94 MB / 0.5417 GB Notification: Performance of matching and sorting (n=119): time 0.0133/6.788, allocations: 5.103 MB / 2.457 GB, free: 47.44 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/6.788, allocations: 170.6 kB / 2.457 GB, free: 47.25 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005055/6.794, allocations: 3.539 MB / 2.461 GB, free: 46.04 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004327/6.794, allocations: 61.02 kB / 2.461 GB, free: 45.99 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008895/6.795, allocations: 1.394 MB / 2.462 GB, free: 44.91 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003357/6.795, allocations: 430.3 kB / 2.463 GB, free: 44.58 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.642e-05/6.795, allocations: 27.97 kB / 2.463 GB, free: 44.55 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.937e-05/6.795, allocations: 365.1 kB / 2.463 GB, free: 44.23 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/6.796, allocations: 0.7825 MB / 2.464 GB, free: 43.89 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/6.798, allocations: 1.095 MB / 2.465 GB, free: 43.18 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.01256/6.81, allocations: 3.831 MB / 2.468 GB, free: 42.17 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.41e-05/6.81, allocations: 3.25 kB / 2.468 GB, free: 42.17 MB / 0.5417 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.004778/6.815, allocations: 2.708 MB / 2.471 GB, free: 40.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007133/6.816, allocations: 3.555 MB / 2.475 GB, free: 36.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/6.816, allocations: 8 kB / 2.475 GB, free: 36.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004063/6.82, allocations: 1.14 MB / 2.476 GB, free: 35.88 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/6.821, allocations: 317.4 kB / 2.476 GB, free: 35.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002952/6.824, allocations: 3.703 MB / 2.48 GB, free: 31.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002778/6.827, allocations: 248.1 kB / 2.48 GB, free: 31.83 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/6.827, allocations: 79.84 kB / 2.48 GB, free: 31.75 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/6.827, allocations: 4 kB / 2.48 GB, free: 31.75 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003464/6.831, allocations: 2.363 MB / 2.482 GB, free: 29.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/6.831, allocations: 10.31 kB / 2.482 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003009/6.834, allocations: 0.9551 MB / 2.483 GB, free: 28.86 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/6.835, allocations: 331.2 kB / 2.483 GB, free: 28.58 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002981/6.838, allocations: 4.765 MB / 2.488 GB, free: 23.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002643/6.841, allocations: 239.6 kB / 2.488 GB, free: 23.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/6.841, allocations: 82.98 kB / 2.488 GB, free: 23.62 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 () * 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.0006371/6.842, allocations: 200.1 kB / 2.489 GB, free: 23.42 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006203/6.842, allocations: 296.5 kB / 2.489 GB, free: 23.12 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00359/6.846, allocations: 2.128 MB / 2.491 GB, free: 21.25 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/6.846, allocations: 12.11 kB / 2.491 GB, free: 21.24 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/6.846, allocations: 3.938 kB / 2.491 GB, free: 21.24 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/6.846, allocations: 11.64 kB / 2.491 GB, free: 21.23 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007474/6.853, allocations: 5.184 MB / 2.496 GB, free: 17.08 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/6.853, allocations: 0 / 2.496 GB, free: 17.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/6.855, allocations: 319.7 kB / 2.496 GB, free: 16.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001319/6.856, allocations: 315.2 kB / 2.497 GB, free: 16.58 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001058/6.857, allocations: 49 kB / 2.497 GB, free: 16.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002664/6.859, allocations: 5.852 MB / 2.502 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/6.859, allocations: 0 / 2.502 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003972/6.863, allocations: 2.707 MB / 2.505 GB, free: 7.961 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001926/6.865, allocations: 0.7933 MB / 2.506 GB, free: 7.242 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004101/6.866, allocations: 36 kB / 2.506 GB, free: 7.207 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002156/6.868, allocations: 214.5 kB / 2.506 GB, free: 7.066 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/6.868, allocations: 81.25 kB / 2.506 GB, free: 7.012 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002083/6.868, allocations: 115 kB / 2.506 GB, free: 6.93 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.003753/6.872, allocations: 2.724 MB / 2.509 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.2e-07/6.872, allocations: 0 / 2.509 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005129/6.877, allocations: 1.517 MB / 2.51 GB, free: 2.84 MB / 0.5417 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.004589/6.882, allocations: 2.041 MB / 2.512 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.006344/6.888, allocations: 3.381 MB / 2.516 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-05/6.888, allocations: 10.78 kB / 2.516 GB, free: 13.93 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001986/6.89, allocations: 1.069 MB / 2.517 GB, free: 12.85 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00677/6.897, allocations: 1.178 MB / 2.518 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/6.909, allocations: 5.213 MB / 2.523 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00196/6.911, allocations: 2.053 MB / 2.525 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005391/6.916, allocations: 1.611 MB / 2.527 GB, free: 2.93 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004583/6.917, allocations: 147.4 kB / 2.527 GB, free: 2.785 MB / 0.5573 GB Notification: Performance of SimCode: time 1.072e-06/6.917, allocations: 0 / 2.527 GB, free: 2.785 MB / 0.5573 GB Notification: Performance of Templates: time 0.4711/7.388, allocations: 93.57 MB / 2.618 GB, free: 69.49 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)