Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelPumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.866/1.866, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.879e-05, allocations: 8 kB / 255.5 MB, free: 3.098 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09505/0.09513, allocations: 44.5 MB / 300 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4027/0.4979, allocations: 77.59 MB / 377.5 MB, free: 12.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.4983, allocations: 75.39 kB / 377.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07563/0.574, allocations: 16.22 MB / 393.8 MB, free: 10.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.574, allocations: 0 / 393.8 MB, free: 10.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001464/0.5742, allocations: 19.28 kB / 393.9 MB, free: 10.76 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.004433/0.5787, allocations: 1.089 MB / 394.9 MB, free: 10.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/0.5788, allocations: 9.594 kB / 395 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004329/0.5792, allocations: 117.1 kB / 395.1 MB, free: 10.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004156/0.5796, allocations: 109.6 kB / 395.2 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001714/0.5814, allocations: 0.5319 MB / 395.7 MB, free: 9.688 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003333/0.5818, allocations: 150.6 kB / 395.9 MB, free: 9.59 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002802/0.5821, allocations: 65.41 kB / 395.9 MB, free: 9.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.584, allocations: 0.8133 MB / 396.7 MB, free: 9.277 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.211e-05/0.5841, allocations: 0 / 396.7 MB, free: 9.277 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.5843, allocations: 27.09 kB / 396.8 MB, free: 9.277 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.5843, allocations: 15.59 kB / 396.8 MB, free: 9.277 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001736/0.5861, allocations: 0.5174 MB / 397.3 MB, free: 9.27 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006872/0.593, allocations: 2.211 MB / 399.5 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002155/0.5952, allocations: 0.9713 MB / 400.5 MB, free: 8.211 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001001/0.5963, allocations: 351.4 kB / 400.8 MB, free: 8.195 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001202/0.5964, allocations: 15.97 kB / 400.8 MB, free: 8.195 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.32e-05/0.5965, allocations: 47.75 kB / 400.9 MB, free: 8.152 MB / 314.7 MB Notification: Performance of pre-optimization done (n=78): time 4.518e-06/0.5965, allocations: 4 kB / 400.9 MB, free: 8.148 MB / 314.7 MB Notification: Performance of matching and sorting (n=78): time 0.003722/0.6002, allocations: 0.8814 MB / 401.8 MB, free: 8.012 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002163/0.6005, allocations: 0.8225 MB / 402.6 MB, free: 7.012 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.6016, allocations: 0.5546 MB / 403.1 MB, free: 6.887 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002638/0.6019, allocations: 43.89 kB / 403.2 MB, free: 6.855 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.6022, allocations: 347.8 kB / 403.5 MB, free: 6.664 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003216/0.6025, allocations: 272.1 kB / 403.8 MB, free: 6.488 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.383e-05/0.6026, allocations: 19.92 kB / 403.8 MB, free: 6.484 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.326e-05/0.6027, allocations: 341.7 kB / 404.1 MB, free: 6.172 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000663/0.6033, allocations: 224.8 kB / 404.4 MB, free: 6.168 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008791/0.6042, allocations: 496.6 kB / 404.9 MB, free: 5.902 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008203/0.6051, allocations: 357.8 kB / 405.2 MB, free: 5.785 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.6051, allocations: 0 / 405.2 MB, free: 5.785 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003287/0.6084, allocations: 0.9707 MB / 406.2 MB, free: 5.574 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.312e-05/0.6085, allocations: 91.91 kB / 406.3 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.6086, allocations: 0 / 406.3 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007907/0.6094, allocations: 189.8 kB / 406.4 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.6108, allocations: 159.9 kB / 406.6 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009819/0.6206, allocations: 6.193 MB / 412.8 MB, free: 16.02 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.6222, allocations: 124.1 kB / 412.9 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/0.6224, allocations: 26.05 kB / 412.9 MB, free: 15.96 MB / 330.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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003235/0.6227, allocations: 162.7 kB / 413.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002519/0.623, allocations: 92.59 kB / 413.2 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002795/0.6233, allocations: 89.06 kB / 413.3 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.6233, allocations: 15.7 kB / 413.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.6233, allocations: 3.875 kB / 413.3 MB, free: 15.76 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003164/0.6265, allocations: 1.179 MB / 414.5 MB, free: 15.08 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005587/0.6322, allocations: 1.906 MB / 416.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.6322, allocations: 192 / 416.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/0.6337, allocations: 163.3 kB / 416.5 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005919/0.6344, allocations: 157.8 kB / 416.7 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.6345, allocations: 21.7 kB / 416.7 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008133/0.6426, allocations: 4.774 MB / 421.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.6427, allocations: 4.125 kB / 421.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004221/0.6469, allocations: 1.306 MB / 422.8 MB, free: 9.766 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/0.6474, allocations: 167.6 kB / 423 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002293/0.6476, allocations: 18.41 kB / 423 MB, free: 9.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.6487, allocations: 63.75 kB / 423 MB, free: 9.602 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002608/0.649, allocations: 66.83 kB / 423.1 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.334e-05/0.649, allocations: 15.12 kB / 423.1 MB, free: 9.574 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008313/0.6499, allocations: 450 kB / 423.6 MB, free: 9.453 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6499, allocations: 3.938 kB / 423.6 MB, free: 9.449 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001541/0.6514, allocations: 292.3 kB / 423.9 MB, free: 9.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 63 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004689/0.6562, allocations: 1.894 MB / 425.8 MB, free: 8.551 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002518/0.6587, allocations: 1.234 MB / 427 MB, free: 7.879 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/0.6588, allocations: 3.844 kB / 427 MB, free: 7.879 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002134/0.6609, allocations: 0.7184 MB / 427.7 MB, free: 7.512 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001615/0.6626, allocations: 205.1 kB / 427.9 MB, free: 7.457 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004561/0.6672, allocations: 1.471 MB / 429.4 MB, free: 6.688 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/0.6679, allocations: 0.9659 MB / 430.3 MB, free: 5.867 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006878/0.6686, allocations: 305.9 kB / 430.6 MB, free: 5.836 MB / 330.7 MB Notification: Performance of SimCode: time 1.192e-06/0.6686, allocations: 0 / 430.6 MB, free: 5.836 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.251/3.919, allocations: 25.09 MB / 455.7 MB, free: 4.289 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat does not exist to compare? outputFormat=mat