Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.944/1.944, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.003e-05/4.006e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1031, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4057/0.5089, allocations: 74.03 MB / 395.9 MB, free: 15.9 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.5092, allocations: 74.83 kB / 396 MB, free: 15.83 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04767/0.5569, allocations: 8.165 MB / 404.1 MB, free: 7.664 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5569, allocations: 0 / 404.1 MB, free: 7.664 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.59e-06/0.557, allocations: 4 kB / 404.1 MB, free: 7.66 MB / 330.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.0004191/0.5574, allocations: 338.5 kB / 404.5 MB, free: 7.285 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.5575, allocations: 8.031 kB / 404.5 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.471e-05/0.5575, allocations: 30.56 kB / 404.5 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/0.5576, allocations: 7.984 kB / 404.5 MB, free: 7.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.5577, allocations: 167 kB / 404.7 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.5577, allocations: 0 / 404.7 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.5577, allocations: 0 / 404.7 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.5579, allocations: 33.7 kB / 404.7 MB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.5579, allocations: 4 kB / 404.7 MB, free: 6.984 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.5579, allocations: 4 kB / 404.7 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.5579, allocations: 0 / 404.7 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.786e-05/0.558, allocations: 15.86 kB / 404.7 MB, free: 6.965 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004181/0.5584, allocations: 244.8 kB / 405 MB, free: 6.676 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.226e-05/0.5585, allocations: 18.58 kB / 405 MB, free: 6.648 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.02e-05/0.5585, allocations: 4.859 kB / 405 MB, free: 6.641 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.5585, allocations: 4 kB / 405 MB, free: 6.637 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.5586, allocations: 42.61 kB / 405 MB, free: 6.586 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.973e-06/0.5586, allocations: 0 / 405 MB, free: 6.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001623/0.5588, allocations: 33.64 kB / 405.1 MB, free: 6.547 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.5588, allocations: 51.41 kB / 405.1 MB, free: 6.484 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.5589, allocations: 89 kB / 405.2 MB, free: 6.391 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.5589, allocations: 25.7 kB / 405.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.559, allocations: 162.6 kB / 405.4 MB, free: 6.199 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.937e-06/0.559, allocations: 3.906 kB / 405.4 MB, free: 6.195 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.5591, allocations: 0 / 405.4 MB, free: 6.195 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.5592, allocations: 322.8 kB / 405.7 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.593e-05/0.5592, allocations: 0 / 405.7 MB, free: 5.871 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.174e-05/0.5593, allocations: 26.56 kB / 405.7 MB, free: 5.836 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.5593, allocations: 8 kB / 405.7 MB, free: 5.828 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.5593, allocations: 0 / 405.7 MB, free: 5.828 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001014/0.5595, allocations: 45.62 kB / 405.8 MB, free: 5.777 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.5595, allocations: 8 kB / 405.8 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.5595, allocations: 0 / 405.8 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.5595, allocations: 0 / 405.8 MB, free: 5.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.351e-05/0.5596, allocations: 4 kB / 405.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.5596, allocations: 0 / 405.8 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.884e-05/0.5597, allocations: 4.094 kB / 405.8 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.727e-06/0.5597, allocations: 4 kB / 405.8 MB, free: 5.758 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.832e-05/0.5598, allocations: 116.9 kB / 405.9 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.8e-05/0.5598, allocations: 0 / 405.9 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001452/0.56, allocations: 40.81 kB / 405.9 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.56, allocations: 0 / 405.9 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.56, allocations: 0 / 405.9 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.56, allocations: 0 / 405.9 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.5602, allocations: 161.7 kB / 406.1 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5602, allocations: 0 / 406.1 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.387e-06/0.5603, allocations: 4 kB / 406.1 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.5603, allocations: 0 / 406.1 MB, free: 5.383 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.5603, allocations: 3.938 kB / 406.1 MB, free: 5.379 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5603, allocations: 0 / 406.1 MB, free: 5.379 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/0.5603, allocations: 4 kB / 406.1 MB, free: 5.375 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.5604, allocations: 135.4 kB / 406.2 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.5605, allocations: 81.11 kB / 406.3 MB, free: 5.129 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.494e-05/0.5605, allocations: 3.938 kB / 406.3 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.152e-05/0.5606, allocations: 0 / 406.3 MB, free: 5.125 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.788e-05/0.5606, allocations: 4 kB / 406.3 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.5607, allocations: 4 kB / 406.3 MB, free: 5.117 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.144e-05/0.5607, allocations: 75.28 kB / 406.4 MB, free: 5.043 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5607, allocations: 0 / 406.4 MB, free: 5.043 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005011/0.5612, allocations: 47.92 kB / 406.5 MB, free: 4.996 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007147/0.562, allocations: 0.7164 MB / 407.2 MB, free: 4.254 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001456/0.5621, allocations: 41.64 kB / 407.2 MB, free: 4.207 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5621, allocations: 0 / 407.2 MB, free: 4.207 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.926e-05/0.5622, allocations: 25.7 kB / 407.2 MB, free: 4.176 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001884/0.5624, allocations: 8.281 kB / 407.3 MB, free: 4.168 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004889/0.5629, allocations: 136.2 kB / 407.4 MB, free: 3.992 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.5632, allocations: 0.6731 MB / 408.1 MB, free: 3.293 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.5632, allocations: 7.438 kB / 408.1 MB, free: 3.285 MB / 330.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5632, allocations: 0 / 408.1 MB, free: 3.285 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.658/3.221, allocations: 1.139 MB / 409.2 MB, free: 2.145 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat