Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.379/2.379, allocations: 235 MB / 247.6 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.433e-05/3.444e-05, allocations: 0 / 305 MB, free: 5.781 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4306, allocations: 54.86 MB / 359.9 MB, free: 2.223 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1611/0.5918, allocations: 80.41 MB / 440.3 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003949/0.5922, allocations: 69.03 kB / 440.3 MB, free: 452 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04912/0.6414, allocations: 8.161 MB / 448.5 MB, free: 8.301 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6414, allocations: 1.031 kB / 448.5 MB, free: 8.301 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.6415, allocations: 0 / 448.5 MB, free: 8.301 MB / 378.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.0004797/0.642, allocations: 346.9 kB / 448.8 MB, free: 7.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.642, allocations: 12.03 kB / 448.8 MB, free: 7.906 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.6421, allocations: 30.56 kB / 448.9 MB, free: 7.867 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.753e-05/0.6421, allocations: 3.953 kB / 448.9 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/0.6423, allocations: 163 kB / 449 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.6423, allocations: 4 kB / 449 MB, free: 7.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.677e-05/0.6423, allocations: 8 kB / 449 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.6425, allocations: 37.67 kB / 449.1 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.6425, allocations: 0 / 449.1 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.6425, allocations: 0.9375 kB / 449.1 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.6425, allocations: 0 / 449.1 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.713e-05/0.6426, allocations: 11.95 kB / 449.1 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.643, allocations: 240.9 kB / 449.3 MB, free: 7.312 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.012e-05/0.6431, allocations: 26.52 kB / 449.4 MB, free: 7.277 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.158e-05/0.6431, allocations: 4.859 kB / 449.4 MB, free: 7.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.6431, allocations: 8 kB / 449.4 MB, free: 7.262 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.6432, allocations: 38.52 kB / 449.4 MB, free: 7.215 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 3.106e-06/0.6432, allocations: 0 / 449.4 MB, free: 7.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001585/0.6434, allocations: 29.7 kB / 449.4 MB, free: 7.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.6434, allocations: 52.16 kB / 449.5 MB, free: 7.117 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.645e-05/0.6435, allocations: 97.02 kB / 449.6 MB, free: 7.016 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.6436, allocations: 25.7 kB / 449.6 MB, free: 6.984 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.468e-05/0.6437, allocations: 158.5 kB / 449.8 MB, free: 6.828 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.438e-06/0.6437, allocations: 4 kB / 449.8 MB, free: 6.824 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-06/0.6437, allocations: 0 / 449.8 MB, free: 6.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.6439, allocations: 310.8 kB / 450.1 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.57e-05/0.6439, allocations: 3.938 kB / 450.1 MB, free: 6.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.906e-05/0.6439, allocations: 25.05 kB / 450.1 MB, free: 6.477 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.163e-05/0.644, allocations: 11.98 kB / 450.1 MB, free: 6.465 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.644, allocations: 0 / 450.1 MB, free: 6.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001103/0.6441, allocations: 49.55 kB / 450.2 MB, free: 6.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.6441, allocations: 5.719 kB / 450.2 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.6442, allocations: 0 / 450.2 MB, free: 6.406 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.6442, allocations: 7.953 kB / 450.2 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.397e-05/0.6443, allocations: 8.078 kB / 450.2 MB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.6443, allocations: 4 kB / 450.2 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.642e-05/0.6443, allocations: 0 / 450.2 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.6443, allocations: 0 / 450.2 MB, free: 6.387 MB / 378.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.279e-05/0.6444, allocations: 109 kB / 450.3 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.821e-05/0.6445, allocations: 0 / 450.3 MB, free: 6.273 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.6446, allocations: 48.7 kB / 450.3 MB, free: 6.219 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-06/0.6447, allocations: 7.984 kB / 450.3 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.6447, allocations: 0 / 450.3 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.6447, allocations: 0 / 450.3 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.6449, allocations: 149.7 kB / 450.5 MB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.6449, allocations: 4 kB / 450.5 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.062e-06/0.6449, allocations: 0 / 450.5 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.6449, allocations: 0 / 450.5 MB, free: 6.012 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.645, allocations: 7.984 kB / 450.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.614e-06/0.645, allocations: 0 / 450.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.645, allocations: 3.953 kB / 450.5 MB, free: 6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001232/0.6451, allocations: 131.5 kB / 450.6 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.6452, allocations: 81.05 kB / 450.7 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.6452, allocations: 0 / 450.7 MB, free: 5.758 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.233e-05/0.6453, allocations: 3.984 kB / 450.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.852e-05/0.6453, allocations: 0 / 450.7 MB, free: 5.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.6453, allocations: 7.953 kB / 450.7 MB, free: 5.746 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.985e-05/0.6454, allocations: 87.25 kB / 450.8 MB, free: 5.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.6454, allocations: 0 / 450.8 MB, free: 5.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004931/0.6459, allocations: 47.94 kB / 450.9 MB, free: 5.613 MB / 378.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.0009002/0.6468, allocations: 0.7086 MB / 451.6 MB, free: 4.879 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.647, allocations: 45.81 kB / 451.6 MB, free: 4.828 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.647, allocations: 4.125 kB / 451.6 MB, free: 4.824 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.396e-05/0.6471, allocations: 29.7 kB / 451.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002133/0.6473, allocations: 0.6562 kB / 451.6 MB, free: 4.789 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000511/0.6478, allocations: 125.6 kB / 451.8 MB, free: 4.625 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003497/0.6482, allocations: 0.677 MB / 452.4 MB, free: 3.922 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.6482, allocations: 7.438 kB / 452.5 MB, free: 3.914 MB / 378.7 MB Notification: Performance of SimCode: time 8.02e-07/0.6482, allocations: 0 / 452.5 MB, free: 3.914 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.4/3.048, allocations: 1.137 MB / 453.6 MB, free: 2.781 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat