Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.682/2.682, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.93e-05/2.96e-05, allocations: 2.75 kB / 249.8 MB, free: 5.238 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1101, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5747/0.6849, allocations: 75.9 MB / 370.2 MB, free: 7.266 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/0.6852, allocations: 70.59 kB / 370.3 MB, free: 7.266 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04462/0.7299, allocations: 9.625 MB / 379.9 MB, free: 21.33 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.7299, allocations: 0 / 379.9 MB, free: 21.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.591e-05/0.73, allocations: 11.62 kB / 379.9 MB, free: 21.33 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001869/0.7319, allocations: 0.7296 MB / 380.6 MB, free: 20.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.33e-05/0.7319, allocations: 11.62 kB / 380.6 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.7321, allocations: 66.25 kB / 380.7 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008202/0.733, allocations: 397 kB / 381.1 MB, free: 20.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001334/0.7331, allocations: 49.88 kB / 381.1 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.428e-05/0.7332, allocations: 19.5 kB / 381.2 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008356/0.7341, allocations: 264 kB / 381.4 MB, free: 20.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008946/0.735, allocations: 406.5 kB / 381.8 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.429e-05/0.735, allocations: 0 / 381.8 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.113e-05/0.7351, allocations: 0 / 381.8 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.7351, allocations: 7.781 kB / 381.8 MB, free: 20.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003499/0.7386, allocations: 1.249 MB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.7399, allocations: 411.8 kB / 383.5 MB, free: 19.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/0.7403, allocations: 156.2 kB / 383.6 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.097e-05/0.7404, allocations: 8.609 kB / 383.6 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.768e-05/0.7405, allocations: 40.88 kB / 383.7 MB, free: 19.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 5.601e-06/0.7405, allocations: 0 / 383.7 MB, free: 19.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.00124/0.7418, allocations: 359.7 kB / 384 MB, free: 19.18 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001827/0.742, allocations: 455.9 kB / 384.5 MB, free: 18.64 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/0.7427, allocations: 342.7 kB / 384.8 MB, free: 18.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001019/0.7428, allocations: 33.45 kB / 384.8 MB, free: 18.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.743, allocations: 237.2 kB / 385.1 MB, free: 18.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001424/0.7432, allocations: 124.2 kB / 385.2 MB, free: 18.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.7432, allocations: 0 / 385.2 MB, free: 18.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001885/0.7434, allocations: 356.8 kB / 385.5 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003328/0.7438, allocations: 105.4 kB / 385.6 MB, free: 17.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/0.7442, allocations: 241 kB / 385.9 MB, free: 17.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003712/0.7446, allocations: 126.7 kB / 386 MB, free: 17.74 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.7446, allocations: 0 / 386 MB, free: 17.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001277/0.7459, allocations: 396.6 kB / 386.4 MB, free: 17.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.043e-05/0.746, allocations: 33.39 kB / 386.4 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.746, allocations: 0 / 386.4 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000411/0.7464, allocations: 62 kB / 386.5 MB, free: 17.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000912/0.7474, allocations: 96.62 kB / 386.6 MB, free: 17.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003429/0.7508, allocations: 2.646 MB / 389.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008716/0.7517, allocations: 54.75 kB / 389.3 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.308e-05/0.7518, allocations: 11.31 kB / 389.3 MB, free: 15.02 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: ambient1.flowPort.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: 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 (40): * Single equations (assignments): 37 * 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.0003074/0.7521, allocations: 126.7 kB / 389.4 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001119/0.7533, allocations: 366.5 kB / 389.8 MB, free: 14.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.7534, allocations: 42.78 kB / 389.8 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001712/0.7536, allocations: 46.16 kB / 389.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.7536, allocations: 3.875 kB / 389.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.7536, allocations: 0 / 389.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009785/0.7546, allocations: 0.6627 MB / 390.5 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.7568, allocations: 0.9176 MB / 391.4 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.7569, allocations: 3.938 kB / 391.4 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.7579, allocations: 101.4 kB / 391.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.006e-05/0.7579, allocations: 0 / 391.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.597e-05/0.758, allocations: 3.984 kB / 391.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.758, allocations: 7.938 kB / 391.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.758, allocations: 0 / 391.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.7594, allocations: 0.5537 MB / 392.1 MB, free: 13.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002067/0.7596, allocations: 128 kB / 392.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.7598, allocations: 0 / 392.2 MB, free: 13.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006504/0.7604, allocations: 31.22 kB / 392.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.7606, allocations: 27.36 kB / 392.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-05/0.7606, allocations: 7.781 kB / 392.3 MB, free: 13.32 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004946/0.7611, allocations: 272.2 kB / 392.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7611, allocations: 0 / 392.6 MB, free: 13.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008014/0.7619, allocations: 143.9 kB / 392.7 MB, free: 13.2 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 (38): * Single equations (assignments): 38 * 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.001751/0.7637, allocations: 1.114 MB / 393.8 MB, free: 12.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.7651, allocations: 0.5496 MB / 394.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.7651, allocations: 0 / 394.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003705/0.7655, allocations: 150.5 kB / 394.5 MB, free: 12.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.7666, allocations: 110.7 kB / 394.6 MB, free: 12.13 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.7693, allocations: 0.7249 MB / 395.4 MB, free: 11.71 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006002/0.7699, allocations: 0.8415 MB / 396.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0005061/0.7705, allocations: 54.59 kB / 396.2 MB, free: 10.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004069/0.7709, allocations: 163.3 kB / 396.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of SimCode: time 1.182e-06/0.7709, allocations: 3.219 kB / 396.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07267/0.8436, allocations: 10.52 MB / 406.9 MB, free: 5.887 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004037/0.844, allocations: 143.4 kB / 407.1 MB, free: 5.695 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.81/4.654, allocations: 0 / 407.1 MB, free: 5.695 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat