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_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 1.863/1.863, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.466e-05, allocations: 7.984 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2163, allocations: 38.77 MB / 263.8 MB, free: 9.824 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.116/6.332, allocations: 2.56 GB / 2.818 GB, free: 114.4 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/6.333, allocations: 84.89 kB / 2.818 GB, free: 114.4 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.04/8.373, allocations: 482.3 MB / 3.289 GB, free: 26.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.494e-06/8.373, allocations: 0 / 3.289 GB, free: 26.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.275e-05/8.373, allocations: 19.41 kB / 3.289 GB, free: 26.77 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.005482/8.379, allocations: 1.788 MB / 3.291 GB, free: 25.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/8.379, allocations: 13.41 kB / 3.291 GB, free: 25.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002746/8.382, allocations: 235.3 kB / 3.291 GB, free: 25.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001052/8.383, allocations: 0.5032 MB / 3.291 GB, free: 25.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/8.383, allocations: 43.84 kB / 3.292 GB, free: 25.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/8.383, allocations: 54.94 kB / 3.292 GB, free: 25.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/8.385, allocations: 0.8882 MB / 3.292 GB, free: 25.18 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.484e-05/8.385, allocations: 3.938 kB / 3.292 GB, free: 25.18 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.151e-05/8.385, allocations: 24.88 kB / 3.292 GB, free: 25.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/8.385, allocations: 15.16 kB / 3.292 GB, free: 25.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/8.387, allocations: 0.6824 MB / 3.293 GB, free: 25 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.005071/8.393, allocations: 4.125 MB / 3.297 GB, free: 21.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001771/8.394, allocations: 0.5829 MB / 3.298 GB, free: 21.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/8.395, allocations: 231.7 kB / 3.298 GB, free: 21.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1287/8.523, allocations: 55.1 MB / 3.352 GB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001824/8.525, allocations: 0.5487 MB / 3.352 GB, free: 9.023 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005285/8.526, allocations: 87.45 kB / 3.352 GB, free: 8.938 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 4.381e-06/8.526, allocations: 3.938 kB / 3.352 GB, free: 8.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=61): time 0.01267/8.539, allocations: 2.89 MB / 3.355 GB, free: 5.957 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001822/8.539, allocations: 277.4 kB / 3.355 GB, free: 5.625 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006773/8.54, allocations: 387.9 kB / 3.356 GB, free: 5.238 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.967e-05/8.54, allocations: 37.77 kB / 3.356 GB, free: 5.195 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/8.54, allocations: 328.1 kB / 3.356 GB, free: 4.871 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/8.54, allocations: 203.4 kB / 3.356 GB, free: 4.676 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/8.54, allocations: 12 kB / 3.356 GB, free: 4.664 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002276/8.541, allocations: 366.8 kB / 3.357 GB, free: 4.297 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006023/8.541, allocations: 241.5 kB / 3.357 GB, free: 4.062 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007723/8.542, allocations: 417 kB / 3.357 GB, free: 3.574 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007377/8.543, allocations: 346.9 kB / 3.358 GB, free: 3.227 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/8.543, allocations: 4 kB / 3.358 GB, free: 3.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002435/8.545, allocations: 0.9206 MB / 3.359 GB, free: 2.277 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.263e-05/8.545, allocations: 71.39 kB / 3.359 GB, free: 2.195 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/8.545, allocations: 11.89 kB / 3.359 GB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003856/8.549, allocations: 343.9 kB / 3.359 GB, free: 1.848 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/8.55, allocations: 135.8 kB / 3.359 GB, free: 1.715 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/8.552, allocations: 0.8039 MB / 3.36 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009384/8.553, allocations: 67.86 kB / 3.36 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001482/8.553, allocations: 51.59 kB / 3.36 GB, free: 0.7734 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.0003438/8.553, allocations: 224.2 kB / 3.36 GB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/8.553, allocations: 67.34 kB / 3.36 GB, free: 484 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2879/8.841, allocations: 4.856 MB / 3.365 GB, free: 58.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.804e-05/8.841, allocations: 30.62 kB / 3.365 GB, free: 58.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.076e-06/8.841, allocations: 3.531 kB / 3.365 GB, free: 58.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/8.841, allocations: 5.578 kB / 3.365 GB, free: 58.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009024/8.85, allocations: 6.714 MB / 3.372 GB, free: 58.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.225e-05/8.85, allocations: 0 / 3.372 GB, free: 58.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006008/8.851, allocations: 94.27 kB / 3.372 GB, free: 58.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002899/8.854, allocations: 1.28 MB / 3.373 GB, free: 58.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001413/8.854, allocations: 21.03 kB / 3.373 GB, free: 58.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002559/8.857, allocations: 2.432 MB / 3.375 GB, free: 57.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.641e-06/8.857, allocations: 0.7031 kB / 3.375 GB, free: 57.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008041/8.865, allocations: 5.702 MB / 3.381 GB, free: 57.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/8.865, allocations: 238.4 kB / 3.381 GB, free: 57.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002318/8.865, allocations: 23.58 kB / 3.381 GB, free: 57.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009496/8.866, allocations: 71.67 kB / 3.381 GB, free: 57.38 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/8.866, allocations: 49.06 kB / 3.381 GB, free: 57.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.37e-05/8.867, allocations: 33.19 kB / 3.381 GB, free: 57.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007017/8.867, allocations: 454.7 kB / 3.382 GB, free: 57.27 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.54e-07/8.867, allocations: 2.562 kB / 3.382 GB, free: 57.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004783/8.872, allocations: 1.208 MB / 3.383 GB, free: 57.27 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.008269/8.88, allocations: 1.782 MB / 3.385 GB, free: 57.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002217/8.883, allocations: 1.046 MB / 3.386 GB, free: 56.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.59e-06/8.883, allocations: 2.688 kB / 3.386 GB, free: 56.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001406/8.884, allocations: 0.8146 MB / 3.387 GB, free: 56.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/8.886, allocations: 281.4 kB / 3.387 GB, free: 56.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003294/8.89, allocations: 1.653 MB / 3.388 GB, free: 56.46 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005399/8.89, allocations: 1.085 MB / 3.389 GB, free: 55.76 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008924/8.891, allocations: 289.3 kB / 3.39 GB, free: 55.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/8.891, allocations: 60.91 kB / 3.39 GB, free: 55.75 MB / 394.7 MB Notification: Performance of SimCode: time 1.77e-06/8.891, allocations: 0 / 3.39 GB, free: 55.75 MB / 394.7 MB Notification: Performance of Templates: time 0.0894/8.981, allocations: 45.87 MB / 3.435 GB, free: 53.83 MB / 394.7 MB