Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.966/1.966, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.944e-05/4.965e-05, allocations: 4 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1461, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4284/0.5745, allocations: 74.03 MB / 395.9 MB, free: 15.89 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/0.5748, allocations: 78.56 kB / 396 MB, free: 15.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04586/0.6207, allocations: 8.161 MB / 404.1 MB, free: 7.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6207, allocations: 4 kB / 404.1 MB, free: 7.656 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.6208, allocations: 0 / 404.1 MB, free: 7.656 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004411/0.6212, allocations: 338.5 kB / 404.4 MB, free: 7.281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.6213, allocations: 16.02 kB / 404.5 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.047e-05/0.6213, allocations: 30.56 kB / 404.5 MB, free: 7.227 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.6214, allocations: 0 / 404.5 MB, free: 7.227 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.6215, allocations: 163 kB / 404.7 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.6215, allocations: 0 / 404.7 MB, free: 7.027 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.6216, allocations: 4 kB / 404.7 MB, free: 7.023 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.6217, allocations: 33.7 kB / 404.7 MB, free: 6.984 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.6217, allocations: 4 kB / 404.7 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.6217, allocations: 3.938 kB / 404.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.6217, allocations: 0 / 404.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.105e-05/0.6218, allocations: 0 / 404.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.622, allocations: 157.6 kB / 404.8 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.881e-05/0.622, allocations: 22.52 kB / 404.9 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.387e-05/0.6221, allocations: 8.953 kB / 404.9 MB, free: 6.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.6221, allocations: 4 kB / 404.9 MB, free: 6.727 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.6221, allocations: 30.56 kB / 404.9 MB, free: 6.688 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.684e-06/0.6221, allocations: 0 / 404.9 MB, free: 6.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001437/0.6223, allocations: 41.62 kB / 405 MB, free: 6.641 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.6223, allocations: 51.41 kB / 405 MB, free: 6.578 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.75e-05/0.6224, allocations: 89 kB / 405.1 MB, free: 6.484 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.6225, allocations: 29.64 kB / 405.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.6225, allocations: 158.7 kB / 405.3 MB, free: 6.293 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.539e-05/0.6226, allocations: 3.938 kB / 405.3 MB, free: 6.289 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.6226, allocations: 0 / 405.3 MB, free: 6.289 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.6227, allocations: 310.8 kB / 405.6 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.6227, allocations: 4 kB / 405.6 MB, free: 5.973 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.152e-05/0.6227, allocations: 0 / 405.6 MB, free: 5.973 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.925e-05/0.6228, allocations: 0 / 405.6 MB, free: 5.973 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.6228, allocations: 7.953 kB / 405.6 MB, free: 5.965 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.855e-05/0.6229, allocations: 37.75 kB / 405.6 MB, free: 5.922 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.6229, allocations: 4 kB / 405.6 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.6229, allocations: 4 kB / 405.6 MB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.623, allocations: 0 / 405.6 MB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.318e-06/0.623, allocations: 3.938 kB / 405.6 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.623, allocations: 0 / 405.6 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.452e-05/0.623, allocations: 3.906 kB / 405.6 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.623, allocations: 0 / 405.6 MB, free: 5.906 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 (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 prepare postOptimizeDAE: time 7.631e-05/0.6231, allocations: 105 kB / 405.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.286e-05/0.6232, allocations: 7.984 kB / 405.8 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.6233, allocations: 44.81 kB / 405.8 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6233, allocations: 0 / 405.8 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.6233, allocations: 0 / 405.8 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6234, allocations: 0 / 405.8 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.6235, allocations: 153.7 kB / 406 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.6235, allocations: 0 / 406 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-06/0.6235, allocations: 7.953 kB / 406 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.6235, allocations: 4.031 kB / 406 MB, free: 5.531 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.6236, allocations: 4 kB / 406 MB, free: 5.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6236, allocations: 3.938 kB / 406 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6236, allocations: 0 / 406 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.6237, allocations: 61.06 kB / 406 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.6238, allocations: 77.11 kB / 406.1 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.6238, allocations: 3.953 kB / 406.1 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.75e-05/0.6239, allocations: 8.031 kB / 406.1 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.695e-05/0.6239, allocations: 0 / 406.1 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.6239, allocations: 3.984 kB / 406.1 MB, free: 5.336 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.119e-05/0.624, allocations: 83.28 kB / 406.2 MB, free: 5.254 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.624, allocations: 0 / 406.2 MB, free: 5.254 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004269/0.6244, allocations: 43.94 kB / 406.2 MB, free: 5.211 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.0006854/0.6251, allocations: 0.6398 MB / 406.9 MB, free: 4.543 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.6252, allocations: 33.7 kB / 406.9 MB, free: 4.504 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6253, allocations: 0 / 406.9 MB, free: 4.504 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.347e-05/0.6253, allocations: 33.64 kB / 407 MB, free: 4.465 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001372/0.6255, allocations: 11.94 kB / 407 MB, free: 4.453 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004516/0.6259, allocations: 124.3 kB / 407.1 MB, free: 4.289 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.6262, allocations: 0.6811 MB / 407.8 MB, free: 3.582 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.6262, allocations: 7.438 kB / 407.8 MB, free: 3.574 MB / 330.7 MB Notification: Performance of SimCode: time 7.82e-07/0.6262, allocations: 0 / 407.8 MB, free: 3.574 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.398/3.025, allocations: 1.127 MB / 408.9 MB, free: 2.445 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat