Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_WaterPump",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.871e-05/3.875e-05, allocations: 4 kB / 292.2 MB, free: 8.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1313, allocations: 50.41 MB / 342.6 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.455/0.5864, allocations: 83.52 MB / 426.2 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.5867, allocations: 81.61 kB / 426.2 MB, free: 10.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07333/0.6601, allocations: 15.64 MB / 441.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.6601, allocations: 0 / 441.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.892e-05/0.6602, allocations: 12 kB / 441.9 MB, free: 13.25 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002761/0.663, allocations: 0.975 MB / 442.9 MB, free: 12.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.663, allocations: 8.031 kB / 442.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002582/0.6633, allocations: 102.5 kB / 443 MB, free: 12.19 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002977/0.6636, allocations: 102.9 kB / 443.1 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.6648, allocations: 473.2 kB / 443.5 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002433/0.665, allocations: 106.2 kB / 443.7 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.6652, allocations: 57.89 kB / 443.7 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.6669, allocations: 0.7407 MB / 444.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.6669, allocations: 3.953 kB / 444.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000109/0.667, allocations: 30.36 kB / 444.5 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.6671, allocations: 19.94 kB / 444.5 MB, free: 10.83 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.6683, allocations: 433.1 kB / 444.9 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005801/0.6741, allocations: 2.065 MB / 447 MB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/0.6759, allocations: 0.4912 MB / 447.5 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006217/0.6765, allocations: 226.4 kB / 447.7 MB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.779e-05/0.6766, allocations: 17.64 kB / 447.7 MB, free: 8.422 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007779/0.6774, allocations: 286.2 kB / 448 MB, free: 8.215 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 3.777e-06/0.6774, allocations: 0 / 448 MB, free: 8.215 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.002957/0.6804, allocations: 0.7033 MB / 448.7 MB, free: 7.672 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004718/0.6809, allocations: 0.8303 MB / 449.5 MB, free: 6.652 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001092/0.682, allocations: 0.5011 MB / 450 MB, free: 6.262 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002203/0.6823, allocations: 44.83 kB / 450.1 MB, free: 6.223 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000372/0.6826, allocations: 338.2 kB / 450.4 MB, free: 6.004 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002916/0.6829, allocations: 201.4 kB / 450.6 MB, free: 5.832 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/0.683, allocations: 10.62 kB / 450.6 MB, free: 5.828 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002107/0.6832, allocations: 381.5 kB / 451 MB, free: 5.477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005455/0.6838, allocations: 174.5 kB / 451.2 MB, free: 5.375 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009565/0.6848, allocations: 493.2 kB / 451.6 MB, free: 4.871 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007077/0.6855, allocations: 280.7 kB / 451.9 MB, free: 4.586 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.6855, allocations: 0 / 451.9 MB, free: 4.586 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.003161/0.6887, allocations: 0.8312 MB / 452.7 MB, free: 3.727 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.337e-05/0.6888, allocations: 63.39 kB / 452.8 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.6888, allocations: 4 kB / 452.8 MB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000932/0.6898, allocations: 201.5 kB / 453 MB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.6912, allocations: 127.8 kB / 453.1 MB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0128/0.704, allocations: 4.093 MB / 457.2 MB, free: 14.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/0.7053, allocations: 95.53 kB / 457.3 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.53e-05/0.7054, allocations: 24 kB / 457.3 MB, free: 14.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,oneWayValve.backward) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {9 3,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002779/0.7057, allocations: 153.6 kB / 457.5 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001853/0.7059, allocations: 83.06 kB / 457.6 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002494/0.7062, allocations: 82.81 kB / 457.7 MB, free: 14.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/0.7062, allocations: 4 kB / 457.7 MB, free: 14.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.7062, allocations: 8 kB / 457.7 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002686/0.7089, allocations: 0.988 MB / 458.7 MB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003747/0.7127, allocations: 1.487 MB / 460.1 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.7127, allocations: 4 kB / 460.1 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.7141, allocations: 115.8 kB / 460.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006993/0.7148, allocations: 153.6 kB / 460.4 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.941e-05/0.7149, allocations: 15.98 kB / 460.4 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006416/0.7213, allocations: 3.5 MB / 463.9 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7214, allocations: 0 / 463.9 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.7241, allocations: 0.9336 MB / 464.9 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005439/0.7247, allocations: 216 kB / 465.1 MB, free: 6.602 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001784/0.7249, allocations: 20.12 kB / 465.1 MB, free: 6.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009064/0.7258, allocations: 55.98 kB / 465.1 MB, free: 6.527 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/0.7261, allocations: 60.47 kB / 465.2 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.597e-05/0.7261, allocations: 11.98 kB / 465.2 MB, free: 6.457 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008042/0.7269, allocations: 407.2 kB / 465.6 MB, free: 6.066 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.7269, allocations: 0 / 465.6 MB, free: 6.066 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001326/0.7283, allocations: 279.7 kB / 465.9 MB, free: 5.793 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {2 3,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.00314/0.7314, allocations: 1.506 MB / 467.4 MB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00256/0.734, allocations: 0.9179 MB / 468.3 MB, free: 3.293 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/0.7341, allocations: 4.125 kB / 468.3 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.7353, allocations: 0.4895 MB / 468.8 MB, free: 2.781 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001542/0.7369, allocations: 199.2 kB / 469 MB, free: 2.582 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.7403, allocations: 0.9671 MB / 470 MB, free: 1.574 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006795/0.7411, allocations: 0.9395 MB / 470.9 MB, free: 0.6055 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006294/0.7417, allocations: 81.19 kB / 471 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/0.7423, allocations: 259.3 kB / 471.2 MB, free: 284 kB / 378.7 MB Notification: Performance of SimCode: time 1.313e-06/0.7423, allocations: 0 / 471.2 MB, free: 284 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0928/0.8351, allocations: 20.48 MB / 491.7 MB, free: 12.05 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003069/0.8355, allocations: 177.8 kB / 491.9 MB, free: 11.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.841/4.676, allocations: 0 / 491.9 MB, free: 11.83 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat does not exist to compare? outputFormat=mat