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.973/1.973, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.164e-05, allocations: 4 kB / 273.1 MB, free: 0.6562 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1172, allocations: 48.7 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.463/0.5803, allocations: 74.03 MB / 395.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.5806, allocations: 67.97 kB / 395.9 MB, free: 15.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04621/0.6268, allocations: 8.16 MB / 404.1 MB, free: 7.598 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6269, allocations: 4 kB / 404.1 MB, free: 7.594 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.6269, allocations: 0 / 404.1 MB, free: 7.594 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.000412/0.6273, allocations: 342.5 kB / 404.4 MB, free: 7.215 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.6274, allocations: 8.031 kB / 404.4 MB, free: 7.207 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.376e-05/0.6274, allocations: 34.56 kB / 404.5 MB, free: 7.164 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.965e-05/0.6275, allocations: 4 kB / 404.5 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.6276, allocations: 163 kB / 404.6 MB, free: 6.961 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.6276, allocations: 3.938 kB / 404.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.6277, allocations: 0 / 404.6 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/0.6278, allocations: 49.67 kB / 404.7 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.6278, allocations: 0 / 404.7 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.6279, allocations: 0 / 404.7 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.6279, allocations: 0 / 404.7 MB, free: 6.902 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.665e-05/0.6279, allocations: 7.938 kB / 404.7 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.6283, allocations: 244.9 kB / 404.9 MB, free: 6.605 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.885e-05/0.6284, allocations: 26.52 kB / 404.9 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.9e-05/0.6284, allocations: 8.859 kB / 405 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.6285, allocations: 0 / 405 MB, free: 6.559 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.267e-05/0.6285, allocations: 34.62 kB / 405 MB, free: 6.516 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/0.6285, allocations: 0 / 405 MB, free: 6.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001433/0.6287, allocations: 33.64 kB / 405 MB, free: 6.477 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.86e-05/0.6287, allocations: 51.41 kB / 405.1 MB, free: 6.414 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.673e-05/0.6288, allocations: 96.98 kB / 405.2 MB, free: 6.312 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.6289, allocations: 29.86 kB / 405.2 MB, free: 6.277 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.293e-05/0.629, allocations: 158.5 kB / 405.4 MB, free: 6.121 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.997e-06/0.629, allocations: 3.906 kB / 405.4 MB, free: 6.117 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.629, allocations: 4 kB / 405.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.6292, allocations: 314.8 kB / 405.7 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.6292, allocations: 4 kB / 405.7 MB, free: 5.793 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.718e-05/0.6293, allocations: 18.58 kB / 405.7 MB, free: 5.766 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.181e-05/0.6293, allocations: 8 kB / 405.7 MB, free: 5.758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.6293, allocations: 7.922 kB / 405.7 MB, free: 5.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001132/0.6295, allocations: 49.64 kB / 405.8 MB, free: 5.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.6295, allocations: 4 kB / 405.8 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.6295, allocations: 0 / 405.8 MB, free: 5.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.6295, allocations: 4 kB / 405.8 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.57e-05/0.6296, allocations: 3.984 kB / 405.8 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.6296, allocations: 8.094 kB / 405.8 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.512e-05/0.6296, allocations: 4 kB / 405.8 MB, free: 5.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.6297, allocations: 4 kB / 405.8 MB, free: 5.668 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.304e-05/0.6298, allocations: 104.9 kB / 405.9 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.814e-05/0.6298, allocations: 0 / 405.9 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.6299, allocations: 48.75 kB / 405.9 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.63, allocations: 0 / 405.9 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.63, allocations: 4.031 kB / 405.9 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.63, allocations: 0 / 405.9 MB, free: 5.504 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.6302, allocations: 149.6 kB / 406.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.6302, allocations: 0 / 406.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/0.6302, allocations: 0 / 406.1 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.6302, allocations: 3.938 kB / 406.1 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.6302, allocations: 7.984 kB / 406.1 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.6302, allocations: 3.938 kB / 406.1 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.6303, allocations: 0 / 406.1 MB, free: 5.293 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.6304, allocations: 135.5 kB / 406.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.517e-05/0.6305, allocations: 77.11 kB / 406.3 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.6305, allocations: 0 / 406.3 MB, free: 5.051 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.6306, allocations: 3.984 kB / 406.3 MB, free: 5.047 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.6306, allocations: 4 kB / 406.3 MB, free: 5.043 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.6306, allocations: 0 / 406.3 MB, free: 5.043 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.718e-05/0.6307, allocations: 79.22 kB / 406.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6307, allocations: 0 / 406.4 MB, free: 4.965 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004558/0.6311, allocations: 52.06 kB / 406.4 MB, free: 4.914 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.0007101/0.6319, allocations: 0.7086 MB / 407.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.632, allocations: 41.62 kB / 407.2 MB, free: 4.133 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.632, allocations: 224 / 407.2 MB, free: 4.133 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.663e-05/0.6321, allocations: 37.7 kB / 407.2 MB, free: 4.09 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000154/0.6322, allocations: 0 / 407.2 MB, free: 4.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.6327, allocations: 128.2 kB / 407.4 MB, free: 3.922 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.633, allocations: 0.6809 MB / 408 MB, free: 3.215 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.633, allocations: 7.438 kB / 408 MB, free: 3.207 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6331, allocations: 4 kB / 408 MB, free: 3.203 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.472/3.105, allocations: 1.127 MB / 409.2 MB, free: 2.074 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