Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.078/2.078, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.897e-05, allocations: 0 / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.428/0.5351, allocations: 72.91 MB / 389.2 MB, free: 3.453 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.5354, allocations: 66.44 kB / 389.3 MB, free: 3.414 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0153/0.5508, allocations: 3.07 MB / 392.3 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5508, allocations: 0 / 392.3 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.5508, allocations: 4 kB / 392.3 MB, free: 0.8828 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000493/0.5513, allocations: 357.6 kB / 392.7 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.5514, allocations: 8.031 kB / 392.7 MB, free: 496 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.383e-05/0.5515, allocations: 10.97 kB / 392.7 MB, free: 488 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/0.5516, allocations: 170.9 kB / 392.9 MB, free: 276 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.5516, allocations: 4 kB / 392.9 MB, free: 272 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.551e-05/0.5517, allocations: 4 kB / 392.9 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001381/0.5518, allocations: 46.47 kB / 392.9 MB, free: 228 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.552, allocations: 56.86 kB / 393 MB, free: 168 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.552, allocations: 8 kB / 393 MB, free: 160 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.552, allocations: 0 / 393 MB, free: 160 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-06/0.5521, allocations: 0 / 393 MB, free: 160 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000261/0.5523, allocations: 156.7 kB / 393.2 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.5525, allocations: 75.92 kB / 393.2 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.325e-05/0.5526, allocations: 24.05 kB / 393.3 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003556/0.553, allocations: 116.6 kB / 393.4 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.233e-05/0.553, allocations: 34.56 kB / 393.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.553, allocations: 0 / 393.4 MB, free: 15.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.231/0.784, allocations: 5.086 MB / 398.5 MB, free: 10.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.7841, allocations: 55.39 kB / 398.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.7842, allocations: 85 kB / 398.6 MB, free: 10.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/0.7843, allocations: 29.7 kB / 398.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.7844, allocations: 150.9 kB / 398.8 MB, free: 10.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.7845, allocations: 68.3 kB / 398.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/0.7845, allocations: 0 / 398.9 MB, free: 10.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.7846, allocations: 317.8 kB / 399.2 MB, free: 9.938 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.7848, allocations: 69.86 kB / 399.2 MB, free: 9.891 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000179/0.785, allocations: 65.98 kB / 399.3 MB, free: 9.848 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/0.7867, allocations: 186 kB / 399.5 MB, free: 9.688 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.7867, allocations: 0 / 399.5 MB, free: 9.688 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002037/0.7888, allocations: 325.9 kB / 399.8 MB, free: 9.402 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.7888, allocations: 4 kB / 399.8 MB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.7888, allocations: 3.938 kB / 399.8 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.7889, allocations: 0 / 399.8 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007307/0.7896, allocations: 98.91 kB / 399.9 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.7896, allocations: 0 / 399.9 MB, free: 9.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.79, allocations: 43.92 kB / 400 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.998e-05/0.7901, allocations: 11.98 kB / 400 MB, free: 9.246 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 (23): * Single equations (assignments): 23 * 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 0.0001336/0.7902, allocations: 110.4 kB / 400.1 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002077/0.7923, allocations: 332.8 kB / 400.4 MB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.646e-05/0.7924, allocations: 11.89 kB / 400.4 MB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/0.7948, allocations: 388.9 kB / 400.8 MB, free: 8.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-05/0.7948, allocations: 15.89 kB / 400.8 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7949, allocations: 0 / 400.8 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.7949, allocations: 0 / 400.8 MB, free: 8.484 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003812/0.7987, allocations: 0.7747 MB / 401.6 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-06/0.7988, allocations: 4 kB / 401.6 MB, free: 7.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005842/0.7994, allocations: 83.8 kB / 401.7 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.7994, allocations: 4 kB / 401.7 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/0.7994, allocations: 16.05 kB / 401.7 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.7994, allocations: 0 / 401.7 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.211e-06/0.7995, allocations: 0 / 401.7 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.8015, allocations: 425 kB / 402.1 MB, free: 7.191 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.8016, allocations: 93 kB / 402.2 MB, free: 7.082 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.8016, allocations: 4 kB / 402.2 MB, free: 7.078 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003541/0.802, allocations: 27.97 kB / 402.2 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.8021, allocations: 23 kB / 402.2 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.399e-05/0.8021, allocations: 19.98 kB / 402.3 MB, free: 7.012 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.489e-05/0.8022, allocations: 75.28 kB / 402.3 MB, free: 6.938 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8022, allocations: 0 / 402.3 MB, free: 6.938 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00235/0.8045, allocations: 0.6007 MB / 402.9 MB, free: 6.34 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (23): * Single equations (assignments): 23 * 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.00754/0.8121, allocations: 1.311 MB / 404.3 MB, free: 5.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005665/0.8128, allocations: 155.2 kB / 404.4 MB, free: 4.906 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8128, allocations: 0 / 404.4 MB, free: 4.906 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002178/0.813, allocations: 89.16 kB / 404.5 MB, free: 4.836 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.8133, allocations: 8 kB / 404.5 MB, free: 4.828 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002584/0.8159, allocations: 399.7 kB / 404.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.8163, allocations: 0.7014 MB / 405.6 MB, free: 3.676 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/0.8166, allocations: 60.64 kB / 405.6 MB, free: 3.629 MB / 330.7 MB Notification: Performance of SimCode: time 9.21e-07/0.8166, allocations: 0 / 405.6 MB, free: 3.629 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.09/3.907, allocations: 15.87 MB / 421.5 MB, free: 3.723 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat