Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.955/1.955, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.516e-05, allocations: 4 kB / 255.4 MB, free: 3.09 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09445/0.09451, allocations: 44.5 MB / 299.9 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4053/0.4999, allocations: 76.58 MB / 376.5 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.5002, allocations: 71.41 kB / 376.6 MB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04153/0.5418, allocations: 9.738 MB / 386.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.5418, allocations: 0 / 386.3 MB, free: 11.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.287e-05/0.5419, allocations: 13.08 kB / 386.4 MB, free: 11.61 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.001816/0.5437, allocations: 0.7398 MB / 387.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.5438, allocations: 7.688 kB / 387.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001656/0.544, allocations: 78.14 kB / 387.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001784/0.5442, allocations: 67.72 kB / 387.2 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007642/0.5449, allocations: 389.8 kB / 387.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.5451, allocations: 61.38 kB / 387.7 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.092e-05/0.5452, allocations: 38.94 kB / 387.7 MB, free: 10.71 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008991/0.5461, allocations: 464.7 kB / 388.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.5461, allocations: 0 / 388.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/0.5462, allocations: 18.78 kB / 388.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.115e-05/0.5462, allocations: 7.75 kB / 388.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008123/0.547, allocations: 285 kB / 388.5 MB, free: 10.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003255/0.5503, allocations: 1.331 MB / 389.8 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.5516, allocations: 431.9 kB / 390.2 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003686/0.5519, allocations: 164.4 kB / 390.4 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-05/0.552, allocations: 7.484 kB / 390.4 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.5521, allocations: 49.38 kB / 390.4 MB, free: 9.867 MB / 314.7 MB Notification: Performance of pre-optimization done (n=38): time 3.286e-06/0.5521, allocations: 0 / 390.4 MB, free: 9.867 MB / 314.7 MB Notification: Performance of matching and sorting (n=38): time 0.001051/0.5531, allocations: 368.5 kB / 390.8 MB, free: 9.785 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.5533, allocations: 447.6 kB / 391.2 MB, free: 9.254 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006427/0.5539, allocations: 401.5 kB / 391.6 MB, free: 9.145 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.811e-05/0.554, allocations: 33.52 kB / 391.7 MB, free: 9.113 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.5542, allocations: 273.8 kB / 391.9 MB, free: 8.934 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.5543, allocations: 133.3 kB / 392.1 MB, free: 8.852 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.286e-05/0.5543, allocations: 8.031 kB / 392.1 MB, free: 8.848 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.916e-05/0.5544, allocations: 329.3 kB / 392.4 MB, free: 8.531 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.5547, allocations: 110.4 kB / 392.5 MB, free: 8.527 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004622/0.5552, allocations: 252.4 kB / 392.7 MB, free: 8.387 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003624/0.5556, allocations: 160.9 kB / 392.9 MB, free: 8.344 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5556, allocations: 0 / 392.9 MB, free: 8.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009552/0.5566, allocations: 404.4 kB / 393.3 MB, free: 8.242 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.883e-05/0.5566, allocations: 33.52 kB / 393.3 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.5566, allocations: 3.953 kB / 393.3 MB, free: 8.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002066/0.5569, allocations: 50.73 kB / 393.4 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/0.5577, allocations: 94.83 kB / 393.5 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00245/0.5601, allocations: 2.729 MB / 396.2 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008273/0.561, allocations: 68.97 kB / 396.3 MB, free: 5.633 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-05/0.5611, allocations: 11.56 kB / 396.3 MB, free: 5.633 MB / 314.7 MB 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.0001704/0.5613, allocations: 129.8 kB / 396.4 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.5614, allocations: 54.77 kB / 396.5 MB, free: 5.496 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.5616, allocations: 56.16 kB / 396.5 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.76e-06/0.5616, allocations: 3.875 kB / 396.5 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5616, allocations: 0 / 396.5 MB, free: 5.488 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001065/0.5627, allocations: 0.683 MB / 397.2 MB, free: 20.95 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00207/0.5648, allocations: 0.9956 MB / 398.2 MB, free: 20.58 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.5648, allocations: 2.719 kB / 398.2 MB, free: 20.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008667/0.5657, allocations: 100.7 kB / 398.3 MB, free: 20.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.5657, allocations: 3.938 kB / 398.3 MB, free: 20.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.5658, allocations: 6.531 kB / 398.3 MB, free: 20.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.5658, allocations: 3.812 kB / 398.3 MB, free: 20.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5658, allocations: 0 / 398.3 MB, free: 20.57 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.567, allocations: 0.5854 MB / 398.9 MB, free: 20.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002484/0.5673, allocations: 135.8 kB / 399 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/0.5674, allocations: 10.84 kB / 399 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005849/0.568, allocations: 34.59 kB / 399.1 MB, free: 20.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.5681, allocations: 28.89 kB / 399.1 MB, free: 20.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.5682, allocations: 11.41 kB / 399.1 MB, free: 20.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005233/0.5687, allocations: 312.1 kB / 399.4 MB, free: 20.18 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.5687, allocations: 3.938 kB / 399.4 MB, free: 20.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007144/0.5695, allocations: 162.4 kB / 399.6 MB, free: 20.15 MB / 330.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.001598/0.5711, allocations: 1.14 MB / 400.7 MB, free: 19.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.5724, allocations: 0.5749 MB / 401.3 MB, free: 19.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/0.5724, allocations: 3.719 kB / 401.3 MB, free: 19.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003561/0.5728, allocations: 152.5 kB / 401.5 MB, free: 19.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.5738, allocations: 118.9 kB / 401.6 MB, free: 19.14 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.5763, allocations: 0.7855 MB / 402.4 MB, free: 18.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004472/0.5768, allocations: 0.8427 MB / 403.2 MB, free: 18.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/0.5772, allocations: 174.3 kB / 403.4 MB, free: 18.06 MB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5772, allocations: 0 / 403.4 MB, free: 18.06 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.84/3.418, allocations: 10.66 MB / 414 MB, free: 14.71 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat