Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.701/2.701, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.952e-05/2.962e-05, allocations: 2.812 kB / 249.7 MB, free: 5.242 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.119, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5858/0.7049, allocations: 75.58 MB / 369.8 MB, free: 6.977 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.7052, allocations: 72.3 kB / 369.9 MB, free: 6.977 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04668/0.7519, allocations: 9.388 MB / 379.3 MB, free: 21.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.752, allocations: 0 / 379.3 MB, free: 21.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.471e-05/0.7521, allocations: 7.75 kB / 379.3 MB, free: 21.2 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002464/0.7546, allocations: 0.7183 MB / 380 MB, free: 20.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.85e-05/0.7546, allocations: 15.78 kB / 380 MB, free: 20.62 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002154/0.7549, allocations: 67.5 kB / 380.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.7551, allocations: 58.5 kB / 380.2 MB, free: 20.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.7563, allocations: 383.5 kB / 380.5 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.7565, allocations: 53.98 kB / 380.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.7567, allocations: 19.47 kB / 380.6 MB, free: 20.23 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001207/0.7579, allocations: 254.8 kB / 380.9 MB, free: 20.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.7592, allocations: 397.9 kB / 381.2 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.022e-05/0.7593, allocations: 4 kB / 381.2 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-05/0.7594, allocations: 7.828 kB / 381.3 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.7594, allocations: 7.781 kB / 381.3 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004728/0.7642, allocations: 1.205 MB / 382.5 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/0.7653, allocations: 345.9 kB / 382.8 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005411/0.7659, allocations: 143.7 kB / 382.9 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.817e-05/0.766, allocations: 3.844 kB / 382.9 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.7661, allocations: 41.88 kB / 383 MB, free: 19.13 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 4.919e-06/0.7661, allocations: 0 / 383 MB, free: 19.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.001819/0.7679, allocations: 346.5 kB / 383.3 MB, free: 19.03 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003321/0.7683, allocations: 448.7 kB / 383.8 MB, free: 18.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009294/0.7692, allocations: 354.2 kB / 384.1 MB, free: 18.35 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.949e-05/0.7693, allocations: 29.52 kB / 384.1 MB, free: 18.32 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.7697, allocations: 236.4 kB / 384.4 MB, free: 18.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.7699, allocations: 120.2 kB / 384.5 MB, free: 18.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.77, allocations: 3.938 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002587/0.7702, allocations: 352.4 kB / 384.8 MB, free: 17.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/0.7707, allocations: 101.5 kB / 384.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006609/0.7714, allocations: 240.3 kB / 385.2 MB, free: 17.61 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005414/0.772, allocations: 118.5 kB / 385.3 MB, free: 17.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/0.772, allocations: 0 / 385.3 MB, free: 17.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001906/0.7739, allocations: 388.8 kB / 385.7 MB, free: 17.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.225e-05/0.774, allocations: 29.64 kB / 385.7 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.7741, allocations: 0 / 385.7 MB, free: 17.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006073/0.7747, allocations: 62.03 kB / 385.8 MB, free: 17.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.776, allocations: 93.19 kB / 385.8 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00512/0.7812, allocations: 2.636 MB / 388.5 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.7825, allocations: 46.89 kB / 388.5 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.267e-05/0.7826, allocations: 15.23 kB / 388.5 MB, free: 14.87 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: pipe.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 (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004027/0.783, allocations: 120.5 kB / 388.7 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/0.7832, allocations: 46.91 kB / 388.7 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.7835, allocations: 55.22 kB / 388.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.7835, allocations: 3.781 kB / 388.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.7835, allocations: 0 / 388.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001467/0.785, allocations: 0.6427 MB / 389.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003229/0.7883, allocations: 0.8952 MB / 390.3 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.7883, allocations: 0 / 390.3 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/0.7898, allocations: 92.44 kB / 390.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/0.7899, allocations: 3.844 kB / 390.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.324e-05/0.79, allocations: 0 / 390.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.79, allocations: 0 / 390.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.79, allocations: 7.906 kB / 390.4 MB, free: 13.64 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.7919, allocations: 0.521 MB / 390.9 MB, free: 13.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002864/0.7922, allocations: 138.8 kB / 391.1 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.7924, allocations: 0 / 391.1 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.7935, allocations: 31.27 kB / 391.1 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001645/0.7937, allocations: 25.92 kB / 391.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.304e-05/0.7938, allocations: 14.59 kB / 391.1 MB, free: 13.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007456/0.7945, allocations: 271.7 kB / 391.4 MB, free: 13.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.7946, allocations: 0 / 391.4 MB, free: 13.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001388/0.796, allocations: 130.6 kB / 391.5 MB, free: 13.18 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002816/0.7988, allocations: 1.091 MB / 392.6 MB, free: 12.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.8009, allocations: 0.5402 MB / 393.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.801, allocations: 0 / 393.2 MB, free: 12.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006396/0.8016, allocations: 139.6 kB / 393.3 MB, free: 12.15 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001689/0.8033, allocations: 108.3 kB / 393.4 MB, free: 12.12 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004239/0.8076, allocations: 0.7054 MB / 394.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007999/0.8085, allocations: 0.8318 MB / 394.9 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007744/0.8093, allocations: 53.91 kB / 395 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006288/0.8099, allocations: 168.5 kB / 395.1 MB, free: 10.9 MB / 314.7 MB Notification: Performance of SimCode: time 2.715e-06/0.8099, allocations: 0 / 395.1 MB, free: 10.9 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08488/0.8948, allocations: 10.93 MB / 406.1 MB, free: 5.707 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003514/0.8953, allocations: 138.5 kB / 406.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.079/4.974, allocations: 4 kB / 406.2 MB, free: 5.512 MB / 314.7 MB