Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 3.103/3.103, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.674e-05, allocations: 2.281 kB / 249.8 MB, free: 5.273 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1455, allocations: 44.51 MB / 294.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6209/0.7665, allocations: 76.51 MB / 370.8 MB, free: 7.285 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/0.7668, allocations: 65.86 kB / 370.8 MB, free: 7.285 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08332/0.8502, allocations: 15.54 MB / 386.4 MB, free: 19.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.514e-06/0.8503, allocations: 0 / 386.4 MB, free: 19.01 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.26e-05/0.8503, allocations: 15.66 kB / 386.4 MB, free: 19.01 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.00369/0.854, allocations: 1.045 MB / 387.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.077e-05/0.8541, allocations: 13.22 kB / 387.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003007/0.8544, allocations: 92.81 kB / 387.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004211/0.8549, allocations: 101.7 kB / 387.6 MB, free: 18.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.8565, allocations: 0.5199 MB / 388.2 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000367/0.857, allocations: 132 kB / 388.3 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000205/0.8572, allocations: 35.06 kB / 388.3 MB, free: 17.7 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001849/0.8591, allocations: 474.4 kB / 388.8 MB, free: 17.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001895/0.861, allocations: 0.7086 MB / 389.5 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.8611, allocations: 0 / 389.5 MB, free: 17.28 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/0.8612, allocations: 7.766 kB / 389.5 MB, free: 17.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.8613, allocations: 11.75 kB / 389.5 MB, free: 17.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006713/0.868, allocations: 1.98 MB / 391.5 MB, free: 16.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001925/0.87, allocations: 0.8715 MB / 392.4 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008864/0.8709, allocations: 307.3 kB / 392.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000115/0.871, allocations: 16.06 kB / 392.7 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.293e-05/0.8711, allocations: 46.78 kB / 392.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 5.249e-06/0.8711, allocations: 0 / 392.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.004438/0.8756, allocations: 0.8297 MB / 393.6 MB, free: 15.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005738/0.8762, allocations: 0.8268 MB / 394.4 MB, free: 14.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.8773, allocations: 470.6 kB / 394.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002317/0.8775, allocations: 29.58 kB / 394.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003803/0.8779, allocations: 330.1 kB / 395.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004125/0.8784, allocations: 245.1 kB / 395.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.354e-05/0.8785, allocations: 0 / 395.4 MB, free: 14.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000293/0.8788, allocations: 391.6 kB / 395.8 MB, free: 13.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007358/0.8795, allocations: 205.8 kB / 396 MB, free: 13.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001078/0.8806, allocations: 462.2 kB / 396.5 MB, free: 13.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008089/0.8814, allocations: 256.2 kB / 396.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.8815, allocations: 0 / 396.7 MB, free: 13.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004638/0.8861, allocations: 0.8886 MB / 397.6 MB, free: 13.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/0.8863, allocations: 84.77 kB / 397.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.8863, allocations: 0 / 397.7 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.8876, allocations: 216.4 kB / 397.9 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/0.8893, allocations: 142.1 kB / 398 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/0.9015, allocations: 6.02 MB / 404.1 MB, free: 7.719 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.9034, allocations: 92.95 kB / 404.1 MB, free: 7.676 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.9035, allocations: 25.33 kB / 404.2 MB, free: 7.672 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004616/0.904, allocations: 133.4 kB / 404.3 MB, free: 7.551 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/0.9044, allocations: 82.34 kB / 404.4 MB, free: 7.512 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.9047, allocations: 81.33 kB / 404.5 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.9047, allocations: 7.156 kB / 404.5 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-05/0.9048, allocations: 0 / 404.5 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004101/0.9089, allocations: 1.137 MB / 405.6 MB, free: 6.789 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006795/0.9157, allocations: 1.72 MB / 407.3 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.9158, allocations: 0 / 407.3 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001811/0.9176, allocations: 151.7 kB / 407.5 MB, free: 6.047 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008856/0.9185, allocations: 165 kB / 407.6 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.951e-05/0.9186, allocations: 11.64 kB / 407.6 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/0.9294, allocations: 4.643 MB / 412.3 MB, free: 2.039 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/0.9294, allocations: 0 / 412.3 MB, free: 2.039 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005353/0.9348, allocations: 1.223 MB / 413.5 MB, free: 1.699 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004223/0.9353, allocations: 164.1 kB / 413.7 MB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/0.9356, allocations: 3.969 kB / 413.7 MB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001367/0.9369, allocations: 47.08 kB / 413.7 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003567/0.9373, allocations: 62.25 kB / 413.8 MB, free: 1.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-05/0.9374, allocations: 18.44 kB / 413.8 MB, free: 1.504 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0008624/0.9383, allocations: 367.1 kB / 414.2 MB, free: 1.395 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.9383, allocations: 3.875 kB / 414.2 MB, free: 1.395 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001768/0.9401, allocations: 258.5 kB / 414.4 MB, free: 1.371 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005883/0.9461, allocations: 1.799 MB / 416.2 MB, free: 492 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0031/0.9492, allocations: 1.171 MB / 417.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.9493, allocations: 3.812 kB / 417.4 MB, free: 15.81 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002542/0.9518, allocations: 0.6907 MB / 418.1 MB, free: 15.45 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.954, allocations: 177.5 kB / 418.3 MB, free: 15.39 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005939/0.96, allocations: 1.329 MB / 419.6 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009234/0.961, allocations: 0.9559 MB / 420.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009264/0.9619, allocations: 85.92 kB / 420.6 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008916/0.9628, allocations: 285.8 kB / 420.9 MB, free: 13.24 MB / 330.7 MB Notification: Performance of SimCode: time 2.114e-06/0.9628, allocations: 0 / 420.9 MB, free: 13.24 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1224/1.085, allocations: 21.33 MB / 442.2 MB, free: 7.965 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003129/1.086, allocations: 142.8 kB / 442.4 MB, free: 7.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.007/6.092, allocations: 0 / 442.4 MB, free: 7.77 MB / 346.7 MB