Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegStep,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestUtilities_TestRegStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.078/2.078, allocations: 209.3 MB / 222 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.868e-05/3.874e-05, allocations: 7.984 kB / 273.2 MB, free: 0.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 48.69 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4015/0.5141, allocations: 72.7 MB / 394.6 MB, free: 1.234 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.5144, allocations: 63.97 kB / 394.6 MB, free: 1.172 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002317/0.5167, allocations: 0.6229 MB / 395.2 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.5167, allocations: 0 / 395.2 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.5168, allocations: 4 kB / 395.2 MB, free: 0.5469 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000287/0.517, allocations: 322.4 kB / 395.6 MB, free: 196 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.5171, allocations: 8.031 kB / 395.6 MB, free: 188 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.592e-05/0.5172, allocations: 33.78 kB / 395.6 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.552e-05/0.5172, allocations: 0 / 395.6 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.5174, allocations: 174.9 kB / 395.8 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.5174, allocations: 0 / 395.8 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.646e-05/0.5174, allocations: 0 / 395.8 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001011/0.5175, allocations: 37.69 kB / 395.8 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.5175, allocations: 0 / 395.8 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.5176, allocations: 4 kB / 395.8 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.5176, allocations: 4 kB / 395.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.379e-05/0.5176, allocations: 4 kB / 395.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001877/0.5178, allocations: 159.5 kB / 396 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001983/0.518, allocations: 38.55 kB / 396 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.5181, allocations: 8.859 kB / 396 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004592/0.5186, allocations: 121.2 kB / 396.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.141e-05/0.5186, allocations: 34.56 kB / 396.2 MB, free: 15.44 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.824e-06/0.5186, allocations: 0 / 396.2 MB, free: 15.44 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.001701/0.5203, allocations: 161.5 kB / 396.3 MB, free: 15.27 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.5204, allocations: 55.34 kB / 396.4 MB, free: 15.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.299e-05/0.5205, allocations: 93 kB / 396.5 MB, free: 15.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.52e-05/0.5206, allocations: 29.7 kB / 396.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.5206, allocations: 150.6 kB / 396.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.5207, allocations: 11.8 kB / 396.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.178e-06/0.5207, allocations: 4 kB / 396.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.5208, allocations: 314.8 kB / 397 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.387e-05/0.5209, allocations: 8 kB / 397 MB, free: 14.59 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.01e-05/0.5209, allocations: 8 kB / 397 MB, free: 14.58 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.396e-05/0.521, allocations: 20.89 kB / 397 MB, free: 14.56 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.521, allocations: 3.938 kB / 397 MB, free: 14.55 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001603/0.5212, allocations: 57.69 kB / 397.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.5212, allocations: 4 kB / 397.1 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.5212, allocations: 3.984 kB / 397.1 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.5213, allocations: 4 kB / 397.1 MB, free: 14.48 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.5215, allocations: 20.17 kB / 397.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.5215, allocations: 0 / 397.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.5217, allocations: 8 kB / 397.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.509e-05/0.5217, allocations: 8 kB / 397.1 MB, free: 14.45 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 prepare postOptimizeDAE: time 8.716e-05/0.5218, allocations: 116.9 kB / 397.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.33e-05/0.5218, allocations: 0 / 397.2 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002322/0.522, allocations: 65.23 kB / 397.3 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.5221, allocations: 0 / 397.3 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.5221, allocations: 0 / 397.3 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.5221, allocations: 8 kB / 397.3 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008173/0.5229, allocations: 335.2 kB / 397.6 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5229, allocations: 0 / 397.6 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.5231, allocations: 15.98 kB / 397.6 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.5232, allocations: 8.031 kB / 397.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.5232, allocations: 4 kB / 397.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.5232, allocations: 0 / 397.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5232, allocations: 0 / 397.7 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.5234, allocations: 170 kB / 397.8 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.5235, allocations: 85.09 kB / 397.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.823e-05/0.5235, allocations: 0 / 397.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.5237, allocations: 12 kB / 397.9 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.999e-05/0.5237, allocations: 7.984 kB / 397.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.416e-06/0.5238, allocations: 0 / 397.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.58e-05/0.5238, allocations: 79.28 kB / 398 MB, free: 13.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5238, allocations: 0 / 398 MB, free: 13.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003278/0.5242, allocations: 11.95 kB / 398 MB, free: 13.43 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0006105/0.5248, allocations: 0.7801 MB / 398.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000141/0.5249, allocations: 28 kB / 398.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.525, allocations: 0 / 398.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.135e-05/0.525, allocations: 19.94 kB / 398.8 MB, free: 12.57 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.5252, allocations: 11.95 kB / 398.9 MB, free: 12.56 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006907/0.5259, allocations: 157 kB / 399 MB, free: 12.36 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.5262, allocations: 0.6809 MB / 399.7 MB, free: 11.65 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.865e-05/0.5263, allocations: 11.38 kB / 399.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of SimCode: time 7.02e-07/0.5263, allocations: 0 / 399.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.351/2.877, allocations: 0.8451 MB / 400.5 MB, free: 10.8 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat does not exist to compare? outputFormat=mat