Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_trunk_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.024/2.024, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.377e-05/5.393e-05, allocations: 6.031 kB / 292.2 MB, free: 8.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1341, allocations: 50.41 MB / 342.6 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4694/0.6036, allocations: 82.95 MB / 425.6 MB, free: 10.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.6039, allocations: 72.97 kB / 425.6 MB, free: 10.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06304/0.667, allocations: 13.8 MB / 439.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.667, allocations: 3.938 kB / 439.5 MB, free: 15.33 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.298e-05/0.6671, allocations: 12 kB / 439.5 MB, free: 15.32 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.0025/0.6696, allocations: 0.9052 MB / 440.4 MB, free: 14.4 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.682e-05/0.6697, allocations: 8.031 kB / 440.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002094/0.6699, allocations: 87.2 kB / 440.5 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002452/0.6701, allocations: 102.6 kB / 440.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.6712, allocations: 439.6 kB / 441 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/0.6714, allocations: 101.1 kB / 441.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.6715, allocations: 50.53 kB / 441.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.6729, allocations: 0.6138 MB / 441.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.673, allocations: 3.938 kB / 441.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.012e-05/0.6731, allocations: 22.44 kB / 441.8 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.6731, allocations: 12 kB / 441.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.6742, allocations: 380.2 kB / 442.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005141/0.6794, allocations: 1.906 MB / 444.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003138/0.6826, allocations: 0.6764 MB / 444.7 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006253/0.6833, allocations: 231.3 kB / 445 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.596e-05/0.6833, allocations: 8.562 kB / 445 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.6834, allocations: 42.56 kB / 445 MB, free: 10.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 3.717e-06/0.6834, allocations: 0 / 445 MB, free: 10.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=56): time 0.003074/0.6865, allocations: 0.6749 MB / 445.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002989/0.6868, allocations: 0.5682 MB / 446.3 MB, free: 9.387 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009746/0.6878, allocations: 473.3 kB / 446.7 MB, free: 9.027 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.688, allocations: 41.02 kB / 446.8 MB, free: 8.988 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.6882, allocations: 318.1 kB / 447.1 MB, free: 8.766 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002437/0.6885, allocations: 193.9 kB / 447.3 MB, free: 8.598 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.784e-05/0.6886, allocations: 14.12 kB / 447.3 MB, free: 8.59 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6887, allocations: 329.8 kB / 447.6 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004965/0.6892, allocations: 159.6 kB / 447.8 MB, free: 8.176 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007602/0.69, allocations: 376.2 kB / 448.1 MB, free: 7.82 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005914/0.6906, allocations: 221.6 kB / 448.3 MB, free: 7.664 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.6906, allocations: 0 / 448.3 MB, free: 7.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003/0.6936, allocations: 0.6989 MB / 449 MB, free: 7.113 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.6937, allocations: 33.7 kB / 449.1 MB, free: 7.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/0.6938, allocations: 4 kB / 449.1 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.6951, allocations: 202 kB / 449.3 MB, free: 6.902 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001534/0.6966, allocations: 135.6 kB / 449.4 MB, free: 6.773 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009306/0.706, allocations: 5.014 MB / 454.4 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.7072, allocations: 84.36 kB / 454.5 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-05/0.7073, allocations: 18.19 kB / 454.5 MB, free: 1.805 MB / 362.7 MB 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.0002462/0.7076, allocations: 148.4 kB / 454.7 MB, free: 1.668 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.7077, allocations: 85.45 kB / 454.7 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003175/0.7109, allocations: 0.7171 MB / 455.5 MB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.711, allocations: 4 kB / 455.5 MB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.711, allocations: 4 kB / 455.5 MB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002943/0.714, allocations: 0.9747 MB / 456.4 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004707/0.7187, allocations: 1.46 MB / 457.9 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/0.7188, allocations: 7.984 kB / 457.9 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/0.7204, allocations: 135.8 kB / 458 MB, free: 14.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001096/0.7215, allocations: 153.5 kB / 458.2 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.773e-05/0.7216, allocations: 15.98 kB / 458.2 MB, free: 14.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006825/0.7285, allocations: 3.388 MB / 461.6 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.7285, allocations: 4.125 kB / 461.6 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003678/0.7322, allocations: 0.9803 MB / 462.6 MB, free: 9.473 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005278/0.7328, allocations: 220 kB / 462.8 MB, free: 9.238 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.733, allocations: 12 kB / 462.8 MB, free: 9.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008169/0.7338, allocations: 39.97 kB / 462.9 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.734, allocations: 48.5 kB / 462.9 MB, free: 9.141 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.78e-05/0.7341, allocations: 19.98 kB / 462.9 MB, free: 9.121 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007466/0.7348, allocations: 377.6 kB / 463.3 MB, free: 8.754 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7348, allocations: 3.938 kB / 463.3 MB, free: 8.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001166/0.736, allocations: 227.8 kB / 463.5 MB, free: 8.527 MB / 378.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.004045/0.7401, allocations: 1.556 MB / 465.1 MB, free: 6.938 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002688/0.7428, allocations: 0.8964 MB / 466 MB, free: 6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.331e-06/0.7429, allocations: 4 kB / 466 MB, free: 5.996 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.7443, allocations: 497.6 kB / 466.5 MB, free: 5.488 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/0.7457, allocations: 170.2 kB / 466.6 MB, free: 5.324 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.7492, allocations: 1.062 MB / 467.7 MB, free: 4.215 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/0.75, allocations: 0.9035 MB / 468.6 MB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006238/0.7506, allocations: 239.3 kB / 468.8 MB, free: 3.051 MB / 378.7 MB Notification: Performance of SimCode: time 1.914e-06/0.7506, allocations: 0 / 468.8 MB, free: 3.051 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.24/3.991, allocations: 17.33 MB / 486.2 MB, free: 1.742 MB / 394.7 MB