Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.661/2.661, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.96e-05/3.015e-05, allocations: 3.562 kB / 249.8 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 44.5 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5095/0.6147, allocations: 77.46 MB / 371.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.615, allocations: 70.08 kB / 371.8 MB, free: 7.227 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07185/0.6869, allocations: 13.68 MB / 385.5 MB, free: 19.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.889e-06/0.6869, allocations: 0 / 385.5 MB, free: 19.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.316e-05/0.687, allocations: 19.62 kB / 385.5 MB, free: 19.48 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002869/0.6899, allocations: 0.8816 MB / 386.4 MB, free: 18.81 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.787e-05/0.69, allocations: 7.812 kB / 386.4 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002545/0.6902, allocations: 74.89 kB / 386.5 MB, free: 18.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002871/0.6905, allocations: 85.81 kB / 386.5 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.6917, allocations: 447.6 kB / 387 MB, free: 18.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002143/0.6919, allocations: 79.81 kB / 387.1 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001304/0.6921, allocations: 35.02 kB / 387.1 MB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001243/0.6933, allocations: 357.6 kB / 387.4 MB, free: 18.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.6947, allocations: 0.5498 MB / 388 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.667e-05/0.6948, allocations: 3.906 kB / 388 MB, free: 18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-05/0.6949, allocations: 0 / 388 MB, free: 18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.6949, allocations: 15.73 kB / 388 MB, free: 18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007148/0.7021, allocations: 1.794 MB / 389.8 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005567/0.7077, allocations: 0.6528 MB / 390.5 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.7089, allocations: 211.9 kB / 390.7 MB, free: 16.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001281/0.709, allocations: 11.86 kB / 390.7 MB, free: 16.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.986e-05/0.7091, allocations: 50.02 kB / 390.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 6.082e-06/0.7092, allocations: 0 / 390.7 MB, free: 16.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.005755/0.7149, allocations: 0.6523 MB / 391.4 MB, free: 16.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004407/0.7154, allocations: 0.563 MB / 391.9 MB, free: 15.88 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/0.7168, allocations: 404.6 kB / 392.3 MB, free: 15.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002747/0.7171, allocations: 29.64 kB / 392.4 MB, free: 15.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004296/0.7175, allocations: 289.5 kB / 392.6 MB, free: 15.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004118/0.718, allocations: 184.3 kB / 392.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.512e-05/0.7181, allocations: 0 / 392.8 MB, free: 15.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003188/0.7184, allocations: 363.7 kB / 393.2 MB, free: 15.08 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008084/0.7193, allocations: 153.7 kB / 393.3 MB, free: 15.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.7204, allocations: 355.4 kB / 393.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.7215, allocations: 194.4 kB / 393.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.078e-05/0.7216, allocations: 0 / 393.9 MB, free: 14.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.006235/0.7278, allocations: 0.6947 MB / 394.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.221e-05/0.728, allocations: 37.56 kB / 394.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.728, allocations: 3.844 kB / 394.6 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002278/0.7303, allocations: 216 kB / 394.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001929/0.7323, allocations: 132.1 kB / 394.9 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/0.7461, allocations: 4.863 MB / 399.8 MB, free: 10.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.7479, allocations: 62.31 kB / 399.9 MB, free: 10.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.7481, allocations: 26.3 kB / 399.9 MB, free: 10.44 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe.flowPort_b.m_flow:VARIABLE(flow=true unit = "kg/s" ) type: Real 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: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real idealPump.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0005262/0.7487, allocations: 136.3 kB / 400 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/0.7491, allocations: 65.31 kB / 400.1 MB, free: 10.28 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005405/0.7545, allocations: 0.6858 MB / 400.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.7546, allocations: 3.875 kB / 400.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.7546, allocations: 3.875 kB / 400.8 MB, free: 10.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004818/0.7594, allocations: 0.9555 MB / 401.7 MB, free: 9.406 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007708/0.7672, allocations: 1.351 MB / 403.1 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.306e-05/0.7673, allocations: 0 / 403.1 MB, free: 8.785 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002719/0.77, allocations: 132.8 kB / 403.2 MB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001925/0.772, allocations: 154.1 kB / 403.4 MB, free: 8.703 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001645/0.7722, allocations: 11.75 kB / 403.4 MB, free: 8.699 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/0.7841, allocations: 3.304 MB / 406.7 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/0.7842, allocations: 3.938 kB / 406.7 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006159/0.7903, allocations: 0.932 MB / 407.6 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008814/0.7913, allocations: 205.2 kB / 407.8 MB, free: 5.535 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002596/0.7916, allocations: 0 / 407.8 MB, free: 5.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.7931, allocations: 30.44 kB / 407.8 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/0.7935, allocations: 46.66 kB / 407.9 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.7936, allocations: 18.61 kB / 407.9 MB, free: 5.504 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001059/0.7947, allocations: 316.6 kB / 408.2 MB, free: 5.395 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.112e-06/0.7947, allocations: 0 / 408.2 MB, free: 5.395 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002322/0.797, allocations: 209.4 kB / 408.4 MB, free: 5.375 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.006973/0.8041, allocations: 1.504 MB / 409.9 MB, free: 4.535 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004348/0.8085, allocations: 0.8744 MB / 410.8 MB, free: 4.074 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/0.8086, allocations: 0 / 410.8 MB, free: 4.074 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00252/0.8111, allocations: 480.1 kB / 411.3 MB, free: 3.832 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002227/0.8134, allocations: 150.3 kB / 411.4 MB, free: 3.785 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005316/0.8187, allocations: 0.9556 MB / 412.4 MB, free: 3.254 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007544/0.8196, allocations: 0.8955 MB / 413.3 MB, free: 2.457 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000789/0.8204, allocations: 67.98 kB / 413.3 MB, free: 2.426 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006099/0.821, allocations: 222.4 kB / 413.6 MB, free: 2.395 MB / 314.7 MB Notification: Performance of SimCode: time 1.482e-06/0.821, allocations: 7.875 kB / 413.6 MB, free: 2.391 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1183/0.9394, allocations: 16.72 MB / 430.3 MB, free: 3.203 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004191/0.9399, allocations: 156.6 kB / 430.4 MB, free: 3 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.546/5.486, allocations: 0 / 430.4 MB, free: 3 MB / 330.7 MB