Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.DrumBoiler.DrumBoiler,fileNamePrefix="Modelica_trunk_cpp_Modelica_Fluid_Examples_DrumBoiler_DrumBoiler",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.998/1.998, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.09e-05/3.1e-05, allocations: 8 kB / 292.2 MB, free: 8.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1084, allocations: 50.41 MB / 342.6 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.301/8.409, allocations: 2.838 GB / 3.172 GB, free: 5.941 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/8.409, allocations: 85.02 kB / 3.173 GB, free: 5.902 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.67/11.08, allocations: 0.4908 GB / 3.663 GB, free: 41.11 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.583e-06/11.08, allocations: 0 / 3.663 GB, free: 41.11 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.252e-05/11.08, allocations: 19.12 kB / 3.663 GB, free: 41.1 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.007682/11.09, allocations: 1.853 MB / 3.665 GB, free: 39.92 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/11.09, allocations: 11.31 kB / 3.665 GB, free: 39.92 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003038/11.09, allocations: 109.9 kB / 3.665 GB, free: 39.84 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/11.09, allocations: 252.7 kB / 3.666 GB, free: 39.79 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/11.09, allocations: 0.5025 MB / 3.666 GB, free: 39.43 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.303e-05/11.09, allocations: 51.64 kB / 3.666 GB, free: 39.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/11.09, allocations: 62.22 kB / 3.666 GB, free: 39.39 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00283/11.1, allocations: 0.9333 MB / 3.667 GB, free: 38.94 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/11.1, allocations: 2.406 kB / 3.667 GB, free: 38.94 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/11.1, allocations: 34.47 kB / 3.667 GB, free: 38.92 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.765e-05/11.1, allocations: 14.53 kB / 3.667 GB, free: 38.92 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/11.1, allocations: 0.7084 MB / 3.668 GB, free: 38.71 MB / 458.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.006603/11.1, allocations: 4.217 MB / 3.672 GB, free: 35.31 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/11.11, allocations: 0.6086 MB / 3.673 GB, free: 35.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005594/11.11, allocations: 272 kB / 3.673 GB, free: 34.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1309/11.24, allocations: 39.01 MB / 3.711 GB, free: 11.07 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002098/11.24, allocations: 0.5946 MB / 3.711 GB, free: 10.45 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007274/11.24, allocations: 91.33 kB / 3.712 GB, free: 10.36 MB / 474.7 MB Notification: Performance of pre-optimization done (n=57): time 3.036e-06/11.24, allocations: 4 kB / 3.712 GB, free: 10.35 MB / 474.7 MB Notification: Performance of matching and sorting (n=65): time 0.01626/11.26, allocations: 3.05 MB / 3.715 GB, free: 7.207 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001591/11.26, allocations: 269.5 kB / 3.715 GB, free: 6.883 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008286/11.26, allocations: 408 kB / 3.715 GB, free: 6.48 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001905/11.26, allocations: 41.69 kB / 3.715 GB, free: 6.434 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/11.26, allocations: 371.9 kB / 3.716 GB, free: 6.066 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000294/11.26, allocations: 207.2 kB / 3.716 GB, free: 5.867 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.924e-05/11.26, allocations: 12 kB / 3.716 GB, free: 5.855 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/11.26, allocations: 338.9 kB / 3.716 GB, free: 5.516 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007439/11.26, allocations: 257.5 kB / 3.716 GB, free: 5.262 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009187/11.26, allocations: 431.3 kB / 3.717 GB, free: 4.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008722/11.26, allocations: 361.6 kB / 3.717 GB, free: 4.406 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/11.26, allocations: 0 / 3.717 GB, free: 4.406 MB / 474.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002805/11.26, allocations: 0.952 MB / 3.718 GB, free: 3.434 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008026/11.27, allocations: 1.81 MB / 3.72 GB, free: 1.473 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/11.27, allocations: 7.984 kB / 3.72 GB, free: 1.465 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006649/11.27, allocations: 340.1 kB / 3.72 GB, free: 1.133 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/11.27, allocations: 135.8 kB / 3.72 GB, free: 1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001791/11.28, allocations: 0.8002 MB / 3.721 GB, free: 180 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/11.28, allocations: 71.91 kB / 3.721 GB, free: 108 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000179/11.28, allocations: 47.97 kB / 3.721 GB, free: 60 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/11.28, allocations: 11.94 kB / 3.721 GB, free: 48 kB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3478/11.62, allocations: 0.9442 MB / 3.722 GB, free: 63.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.49e-05/11.62, allocations: 4.5 kB / 3.722 GB, free: 63.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006693/11.63, allocations: 344.6 kB / 3.722 GB, free: 63.89 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/11.63, allocations: 131.2 kB / 3.723 GB, free: 63.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/11.63, allocations: 0.7951 MB / 3.723 GB, free: 63.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00124/11.64, allocations: 64.59 kB / 3.723 GB, free: 63.38 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/11.64, allocations: 49.02 kB / 3.723 GB, free: 63.38 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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.0004082/11.64, allocations: 223.2 kB / 3.724 GB, free: 63.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002808/11.64, allocations: 67.09 kB / 3.724 GB, free: 63.2 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01/11.65, allocations: 4.959 MB / 3.729 GB, free: 62.98 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-05/11.65, allocations: 30.58 kB / 3.729 GB, free: 62.98 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.148e-05/11.65, allocations: 3.938 kB / 3.729 GB, free: 62.98 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-05/11.65, allocations: 7.422 kB / 3.729 GB, free: 62.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0143/11.66, allocations: 6.817 MB / 3.735 GB, free: 62.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.401e-05/11.66, allocations: 0 / 3.735 GB, free: 62.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008996/11.66, allocations: 102.2 kB / 3.735 GB, free: 62.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003938/11.67, allocations: 1.28 MB / 3.737 GB, free: 62.29 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002231/11.67, allocations: 31.66 kB / 3.737 GB, free: 62.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003049/11.67, allocations: 2.434 MB / 3.739 GB, free: 61.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/11.67, allocations: 3.844 kB / 3.739 GB, free: 61.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01059/11.68, allocations: 5.806 MB / 3.745 GB, free: 61.41 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005851/11.68, allocations: 253.7 kB / 3.745 GB, free: 61.25 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004109/11.68, allocations: 20.81 kB / 3.745 GB, free: 61.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001371/11.68, allocations: 66.41 kB / 3.745 GB, free: 61.25 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001874/11.68, allocations: 49.83 kB / 3.745 GB, free: 61.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/11.68, allocations: 40.8 kB / 3.745 GB, free: 61.25 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008362/11.68, allocations: 476.2 kB / 3.746 GB, free: 61.15 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.81e-07/11.68, allocations: 0 / 3.746 GB, free: 61.15 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00715/11.69, allocations: 1.372 MB / 3.747 GB, free: 61.15 MB / 474.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 ($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,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 (59): * Single equations (assignments): 48 * 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.01705/11.71, allocations: 4.775 MB / 3.752 GB, free: 60.06 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004374/11.71, allocations: 1.723 MB / 3.753 GB, free: 59.79 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/11.71, allocations: 2.469 kB / 3.753 GB, free: 59.79 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001873/11.71, allocations: 0.8645 MB / 3.754 GB, free: 59.66 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002788/11.72, allocations: 317.3 kB / 3.754 GB, free: 59.65 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008521/11.73, allocations: 2.298 MB / 3.757 GB, free: 59.19 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000576/11.73, allocations: 1.102 MB / 3.758 GB, free: 58.48 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006728/11.73, allocations: 394.2 kB / 3.758 GB, free: 58.48 MB / 474.7 MB Notification: Performance of SimCode: time 2.074e-06/11.73, allocations: 0 / 3.758 GB, free: 58.48 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.766/15.49, allocations: 42.03 MB / 3.799 GB, free: 56 MB / 474.7 MB