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.2_cpp_Modelica.Fluid.Examples.DrumBoiler.DrumBoiler") Notification: Performance of loadModel(Modelica): time 2.153/2.153, allocations: 194.9 MB / 211.2 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.763e-05, allocations: 0 / 258.8 MB, free: 8.52 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3179, allocations: 44.5 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler): time 0.09337/0.4114, allocations: 39.1 MB / 342.4 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.05142/0.4629, allocations: 16.96 MB / 359.3 MB, free: 5.496 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.4642, allocations: 31.75 kB / 359.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.4659, allocations: 294.6 kB / 359.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01423/0.4802, allocations: 3.384 MB / 363 MB, free: 1.781 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006619/0.4868, allocations: 1.554 MB / 364.6 MB, free: 228 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002096/0.489, allocations: 0.6879 MB / 365.3 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008742/0.4899, allocations: 334.6 kB / 365.6 MB, free: 15.2 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02268/0.5126, allocations: 8.936 MB / 374.5 MB, free: 6.262 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007824/0.5205, allocations: 3.06 MB / 377.6 MB, free: 3.199 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01979/0.5403, allocations: 6.758 MB / 384.4 MB, free: 12.43 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003064/0.5434, allocations: 428 kB / 384.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004014/0.5439, allocations: 123.5 kB / 384.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003544/0.5443, allocations: 80 kB / 385 MB, free: 11.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009274/0.5535, allocations: 3.087 MB / 388.1 MB, free: 8.723 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.5536, allocations: 0 / 388.1 MB, free: 8.723 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.5536, allocations: 0 / 388.1 MB, free: 8.723 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.22e-05/0.5537, allocations: 4 kB / 388.1 MB, free: 8.719 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.005417/0.5591, allocations: 1.438 MB / 389.5 MB, free: 7.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.5591, allocations: 8.031 kB / 389.5 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003259/0.5624, allocations: 278.8 kB / 389.8 MB, free: 6.934 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001209/0.5637, allocations: 476.5 kB / 390.3 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/0.5638, allocations: 49.31 kB / 390.3 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/0.5639, allocations: 55.91 kB / 390.4 MB, free: 6.328 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003163/0.5671, allocations: 0.8939 MB / 391.2 MB, free: 5.371 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.154e-05/0.5672, allocations: 4 kB / 391.3 MB, free: 5.367 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001108/0.5673, allocations: 27.95 kB / 391.3 MB, free: 5.34 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.5673, allocations: 12 kB / 391.3 MB, free: 5.328 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003118/0.5705, allocations: 0.73 MB / 392 MB, free: 4.598 MB / 330.7 MB 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.007819/0.5783, allocations: 4.099 MB / 396.1 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002919/0.5813, allocations: 0.6096 MB / 396.7 MB, free: 15.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5211/1.102, allocations: 71.91 MB / 468.6 MB, free: 73.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001977/1.104, allocations: 0.5428 MB / 469.2 MB, free: 72.5 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005052/1.105, allocations: 73.67 kB / 469.3 MB, free: 72.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 3.397e-06/1.105, allocations: 0 / 469.3 MB, free: 72.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.01597/1.121, allocations: 3.29 MB / 472.5 MB, free: 69.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/1.121, allocations: 273.5 kB / 472.8 MB, free: 68.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006023/1.122, allocations: 401.1 kB / 473.2 MB, free: 68.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/1.122, allocations: 37.7 kB / 473.2 MB, free: 68.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002181/1.122, allocations: 354.5 kB / 473.6 MB, free: 67.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/1.122, allocations: 218.1 kB / 473.8 MB, free: 67.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.511e-05/1.122, allocations: 15.28 kB / 473.8 MB, free: 67.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.615e-05/1.123, allocations: 338.8 kB / 474.1 MB, free: 67.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008531/1.123, allocations: 261.5 kB / 474.4 MB, free: 67.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000941/1.124, allocations: 459.3 kB / 474.8 MB, free: 66.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/1.125, allocations: 371.9 kB / 475.2 MB, free: 66.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.762e-06/1.125, allocations: 0 / 475.2 MB, free: 66.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002676/1.128, allocations: 0.9248 MB / 476.1 MB, free: 65.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004753/1.129, allocations: 1.984 MB / 478.1 MB, free: 63.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/1.129, allocations: 8 kB / 478.1 MB, free: 63.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005168/1.134, allocations: 353.8 kB / 478.5 MB, free: 62.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009756/1.135, allocations: 127.8 kB / 478.6 MB, free: 62.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001627/1.136, allocations: 0.8 MB / 479.4 MB, free: 61.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/1.138, allocations: 72.64 kB / 479.5 MB, free: 61.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/1.138, allocations: 39.97 kB / 479.5 MB, free: 61.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/1.138, allocations: 4 kB / 479.5 MB, free: 61.75 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002587/1.14, allocations: 0.8921 MB / 480.4 MB, free: 60.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.141, allocations: 9.094 kB / 480.4 MB, free: 60.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005052/1.146, allocations: 345.9 kB / 480.7 MB, free: 60.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009152/1.147, allocations: 128.5 kB / 480.9 MB, free: 60.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/1.148, allocations: 0.7996 MB / 481.7 MB, free: 59.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/1.149, allocations: 63.95 kB / 481.7 MB, free: 59.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/1.149, allocations: 39.97 kB / 481.8 MB, free: 59.45 MB / 362.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: 19 ($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,q_F_Tab.nextEventScaled,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEventScaled,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.0006283/1.15, allocations: 287.4 kB / 482.1 MB, free: 59.15 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002249/1.15, allocations: 71.2 kB / 482.1 MB, free: 59.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007366/1.158, allocations: 4.629 MB / 486.8 MB, free: 54.44 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.94e-05/1.158, allocations: 23.97 kB / 486.8 MB, free: 54.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/1.158, allocations: 0 / 486.8 MB, free: 54.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/1.158, allocations: 7.984 kB / 486.8 MB, free: 54.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/1.169, allocations: 6.483 MB / 493.3 MB, free: 47.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.298e-05/1.169, allocations: 0 / 493.3 MB, free: 47.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007984/1.169, allocations: 91.83 kB / 493.4 MB, free: 47.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003558/1.173, allocations: 1.086 MB / 494.4 MB, free: 46.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/1.173, allocations: 19.98 kB / 494.5 MB, free: 46.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002841/1.176, allocations: 2.35 MB / 496.8 MB, free: 44.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.176, allocations: 0 / 496.8 MB, free: 44.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009758/1.186, allocations: 5.447 MB / 0.4905 GB, free: 38.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003775/1.186, allocations: 235.3 kB / 0.4907 GB, free: 38.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/1.187, allocations: 20 kB / 0.4907 GB, free: 38.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001086/1.188, allocations: 67.92 kB / 0.4908 GB, free: 38.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001677/1.188, allocations: 51.92 kB / 0.4908 GB, free: 38.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-05/1.188, allocations: 27.98 kB / 0.4909 GB, free: 38.32 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007628/1.189, allocations: 463 kB / 0.4913 GB, free: 37.86 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.189, allocations: 4 kB / 0.4913 GB, free: 37.86 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004138/1.193, allocations: 1.243 MB / 0.4925 GB, free: 36.69 MB / 362.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: 27 ($cse2.phase,$cse2.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.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,q_F_Tab.nextEventScaled,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEventScaled) * Number of discrete states: 12 (Y_Valve_Tab.nextEvent,Y_Valve_Tab.last,Y_Valve_Tab.nextEventScaled,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.nextEvent,q_F_Tab.last,q_F_Tab.nextEventScaled,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.006927/1.2, allocations: 1.274 MB / 0.4938 GB, free: 35.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004718/1.205, allocations: 1.812 MB / 0.4955 GB, free: 33.71 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.375e-06/1.205, allocations: 0.625 kB / 0.4955 GB, free: 33.71 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001924/1.207, allocations: 0.8976 MB / 0.4964 GB, free: 32.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002644/1.209, allocations: 288.3 kB / 0.4967 GB, free: 32.51 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00482/1.214, allocations: 2.732 MB / 0.4994 GB, free: 29.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/1.215, allocations: 1.09 MB / 0.5004 GB, free: 28.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002991/1.215, allocations: 67.42 kB / 0.5005 GB, free: 28.57 MB / 362.7 MB Notification: Performance of SimCode: time 1.372e-06/1.215, allocations: 0 / 0.5005 GB, free: 28.57 MB / 362.7 MB Notification: Performance of Templates: time 0.06793/1.283, allocations: 34.68 MB / 0.5344 GB, free: 9.871 MB / 378.7 MB