Running command: translateModel(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|controller.x|evaporator.V_l|evaporator.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 1.594/1.594, allocations: 171.2 MB / 183.8 MB, free: 11.93 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.873e-05/3.867e-05, allocations: 7.438 kB / 225 MB, free: 2.711 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.212, allocations: 38.77 MB / 263.8 MB, free: 9.887 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.906/6.118, allocations: 2.56 GB / 2.818 GB, free: 114.3 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/6.118, allocations: 84.83 kB / 2.818 GB, free: 114.3 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944/8.063, allocations: 482.3 MB / 3.289 GB, free: 27.16 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.022e-06/8.063, allocations: 0 / 3.289 GB, free: 27.16 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.229e-05/8.063, allocations: 10.25 kB / 3.289 GB, free: 27.16 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 147 * Number of variables: 147 Notification: Performance of Generate backend data structure: time 0.005623/8.068, allocations: 1.787 MB / 3.291 GB, free: 26.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/8.069, allocations: 15.56 kB / 3.291 GB, free: 26.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002631/8.071, allocations: 239.2 kB / 3.291 GB, free: 26.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/8.072, allocations: 0.4996 MB / 3.291 GB, free: 25.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.611e-05/8.072, allocations: 46.66 kB / 3.291 GB, free: 25.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/8.073, allocations: 53.16 kB / 3.292 GB, free: 25.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/8.075, allocations: 0.8913 MB / 3.292 GB, free: 25.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.368e-05/8.075, allocations: 2.469 kB / 3.292 GB, free: 25.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.975e-05/8.075, allocations: 27.38 kB / 3.292 GB, free: 25.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/8.075, allocations: 11.62 kB / 3.292 GB, free: 25.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/8.077, allocations: 0.6824 MB / 3.293 GB, free: 25.38 MB / 362.7 MB 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.005158/8.083, allocations: 4.125 MB / 3.297 GB, free: 22.02 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001808/8.084, allocations: 0.5879 MB / 3.298 GB, free: 21.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/8.085, allocations: 232.5 kB / 3.298 GB, free: 21.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1302/8.215, allocations: 55.09 MB / 3.352 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001841/8.217, allocations: 0.5491 MB / 3.352 GB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005397/8.218, allocations: 91.39 kB / 3.352 GB, free: 9.348 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 6.887e-06/8.218, allocations: 3.938 kB / 3.352 GB, free: 9.344 MB / 394.7 MB Notification: Performance of matching and sorting (n=61): time 0.01243/8.23, allocations: 2.9 MB / 3.355 GB, free: 6.359 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001855/8.23, allocations: 277.5 kB / 3.355 GB, free: 6.027 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006832/8.231, allocations: 391.8 kB / 3.356 GB, free: 5.637 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.114e-05/8.231, allocations: 37.7 kB / 3.356 GB, free: 5.594 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/8.231, allocations: 354.7 kB / 3.356 GB, free: 5.242 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/8.232, allocations: 207.9 kB / 3.356 GB, free: 5.043 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/8.232, allocations: 16 kB / 3.356 GB, free: 5.027 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/8.232, allocations: 330.8 kB / 3.357 GB, free: 4.695 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006098/8.233, allocations: 237.5 kB / 3.357 GB, free: 4.465 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007971/8.233, allocations: 429 kB / 3.357 GB, free: 3.965 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007541/8.234, allocations: 342.5 kB / 3.358 GB, free: 3.621 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.015e-06/8.234, allocations: 0 / 3.358 GB, free: 3.621 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002382/8.237, allocations: 0.8972 MB / 3.359 GB, free: 2.699 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.825e-05/8.237, allocations: 67.39 kB / 3.359 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/8.237, allocations: 7.953 kB / 3.359 GB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003768/8.24, allocations: 344 kB / 3.359 GB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/8.241, allocations: 135.8 kB / 3.359 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/8.243, allocations: 0.8011 MB / 3.36 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009264/8.244, allocations: 60.02 kB / 3.36 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/8.244, allocations: 47.97 kB / 3.36 GB, free: 1.215 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,$PRE.q_F_Tab.nextEvent,q_F_Tab.nextEvent,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,SteamValve.state_b.phase,SteamValve.state_a.phase,sink.state.phase,sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003377/8.244, allocations: 219.9 kB / 3.36 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001655/8.244, allocations: 67.25 kB / 3.36 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2418/8.486, allocations: 4.867 MB / 3.365 GB, free: 59.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.572e-05/8.486, allocations: 29.41 kB / 3.365 GB, free: 59.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.072e-06/8.486, allocations: 0 / 3.365 GB, free: 59.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/8.486, allocations: 10.38 kB / 3.365 GB, free: 59.01 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009087/8.495, allocations: 6.708 MB / 3.372 GB, free: 58.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-05/8.496, allocations: 5.906 kB / 3.372 GB, free: 58.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/8.496, allocations: 92.31 kB / 3.372 GB, free: 58.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002998/8.499, allocations: 1.28 MB / 3.373 GB, free: 58.34 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001526/8.499, allocations: 26.98 kB / 3.373 GB, free: 58.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/8.502, allocations: 2.428 MB / 3.375 GB, free: 57.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.442e-06/8.502, allocations: 0.75 kB / 3.375 GB, free: 57.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007855/8.51, allocations: 5.707 MB / 3.381 GB, free: 57.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003786/8.51, allocations: 230.6 kB / 3.381 GB, free: 57.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002468/8.51, allocations: 24.89 kB / 3.381 GB, free: 57.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008628/8.511, allocations: 71.38 kB / 3.381 GB, free: 57.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/8.512, allocations: 49.69 kB / 3.381 GB, free: 57.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.033e-05/8.512, allocations: 27.14 kB / 3.381 GB, free: 57.41 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006801/8.512, allocations: 455.1 kB / 3.382 GB, free: 57.31 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.99e-07/8.512, allocations: 0.75 kB / 3.382 GB, free: 57.31 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004868/8.517, allocations: 1.204 MB / 3.383 GB, free: 57.31 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (evaporator.p,evaporator.V_l,controller.x) * Number of discrete variables: 25 ($cse1.region3boundary,$cse2.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,q_F_Tab.nextEvent,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent) * Number of discrete states: 10 (Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.last,q_F_Tab.nextEvent,q_F_Tab.b,q_F_Tab.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.008521/8.526, allocations: 1.785 MB / 3.385 GB, free: 57.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002278/8.528, allocations: 1.042 MB / 3.386 GB, free: 57.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/8.528, allocations: 6.656 kB / 3.386 GB, free: 57.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001383/8.53, allocations: 0.8038 MB / 3.386 GB, free: 56.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001878/8.531, allocations: 290.6 kB / 3.387 GB, free: 56.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003321/8.535, allocations: 1.698 MB / 3.388 GB, free: 56.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/8.535, allocations: 1.084 MB / 3.389 GB, free: 55.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/8.536, allocations: 60.41 kB / 3.39 GB, free: 55.76 MB / 394.7 MB Notification: Performance of SimCode: time 1.77e-06/8.536, allocations: 2.297 kB / 3.39 GB, free: 55.76 MB / 394.7 MB Notification: Performance of Templates: time 0.05863/8.594, allocations: 36.9 MB / 3.426 GB, free: 53.26 MB / 394.7 MB