Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.037/2.037, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.941e-05/1.935e-05, allocations: 0 / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 48.7 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4383/0.5465, allocations: 72.28 MB / 388.6 MB, free: 4.273 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.5468, allocations: 70.02 kB / 388.6 MB, free: 4.234 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001862/0.5486, allocations: 0.5589 MB / 389.2 MB, free: 3.711 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5487, allocations: 0 / 389.2 MB, free: 3.711 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.525e-06/0.5487, allocations: 0 / 389.2 MB, free: 3.711 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000335/0.549, allocations: 332.4 kB / 389.5 MB, free: 3.352 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.5491, allocations: 8.031 kB / 389.5 MB, free: 3.344 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.5491, allocations: 3.984 kB / 389.5 MB, free: 3.34 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.5493, allocations: 167 kB / 389.7 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.5493, allocations: 0 / 389.7 MB, free: 3.137 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.5493, allocations: 7.938 kB / 389.7 MB, free: 3.129 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.692e-05/0.5494, allocations: 11.69 kB / 389.7 MB, free: 3.121 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/0.5495, allocations: 47.28 kB / 389.8 MB, free: 3.066 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.5496, allocations: 4.875 kB / 389.8 MB, free: 3.062 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.5496, allocations: 0 / 389.8 MB, free: 3.062 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.5496, allocations: 0 / 389.8 MB, free: 3.062 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003455/0.55, allocations: 297.6 kB / 390.1 MB, free: 2.734 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.785e-05/0.55, allocations: 34.39 kB / 390.1 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.162e-05/0.5501, allocations: 8.859 kB / 390.1 MB, free: 2.684 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.841e-05/0.5501, allocations: 0 / 390.1 MB, free: 2.684 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.5502, allocations: 34.44 kB / 390.1 MB, free: 2.645 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.5502, allocations: 5.094 kB / 390.1 MB, free: 2.641 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002285/0.5504, allocations: 49.72 kB / 390.2 MB, free: 2.586 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.5505, allocations: 55.41 kB / 390.2 MB, free: 2.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.537e-05/0.5505, allocations: 92.92 kB / 390.3 MB, free: 2.426 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.5506, allocations: 25.7 kB / 390.4 MB, free: 2.395 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.348e-05/0.5507, allocations: 154.6 kB / 390.5 MB, free: 2.242 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.526e-05/0.5507, allocations: 7.812 kB / 390.5 MB, free: 2.234 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.5507, allocations: 0 / 390.5 MB, free: 2.234 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5508, allocations: 318.5 kB / 390.8 MB, free: 1.918 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.337e-05/0.5509, allocations: 4 kB / 390.8 MB, free: 1.914 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.822e-05/0.5509, allocations: 35.66 kB / 390.9 MB, free: 1.883 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.707e-05/0.551, allocations: 7.953 kB / 390.9 MB, free: 1.875 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.551, allocations: 0 / 390.9 MB, free: 1.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001408/0.5512, allocations: 49.25 kB / 390.9 MB, free: 1.824 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.5512, allocations: 4 kB / 390.9 MB, free: 1.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5512, allocations: 0 / 390.9 MB, free: 1.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.5512, allocations: 4 kB / 390.9 MB, free: 1.816 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.5513, allocations: 15.86 kB / 390.9 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.5514, allocations: 8.031 kB / 391 MB, free: 1.797 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.333e-05/0.5514, allocations: 3.938 kB / 391 MB, free: 1.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/0.5514, allocations: 0 / 391 MB, free: 1.793 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 8.385e-05/0.5515, allocations: 108.9 kB / 391.1 MB, free: 1.68 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001325/0.5517, allocations: 49.53 kB / 391.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.5517, allocations: 0 / 391.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001868/0.5519, allocations: 65.55 kB / 391.2 MB, free: 1.566 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.5519, allocations: 0 / 391.2 MB, free: 1.566 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.552, allocations: 0 / 391.2 MB, free: 1.566 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.552, allocations: 4 kB / 391.2 MB, free: 1.562 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.5522, allocations: 134.2 kB / 391.3 MB, free: 1.395 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.5522, allocations: 4.859 kB / 391.3 MB, free: 1.391 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.866e-05/0.5523, allocations: 4 kB / 391.3 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.5523, allocations: 0 / 391.3 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.5523, allocations: 4 kB / 391.3 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.5523, allocations: 0 / 391.3 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5523, allocations: 192 / 391.3 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.5525, allocations: 158.9 kB / 391.5 MB, free: 1.219 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.54e-05/0.5526, allocations: 84.89 kB / 391.6 MB, free: 1.121 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.5526, allocations: 4 kB / 391.6 MB, free: 1.117 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.878e-05/0.5527, allocations: 3.938 kB / 391.6 MB, free: 1.113 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.5527, allocations: 3.984 kB / 391.6 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.5527, allocations: 0 / 391.6 MB, free: 1.109 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.521e-05/0.5528, allocations: 79.28 kB / 391.7 MB, free: 1.031 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-07/0.5528, allocations: 0 / 391.7 MB, free: 1.031 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003177/0.5531, allocations: 4 kB / 391.7 MB, free: 1.027 MB / 314.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 (5): * Single equations (assignments): 5 * 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.0005172/0.5536, allocations: 0.6849 MB / 392.3 MB, free: 328 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.5538, allocations: 31.61 kB / 392.4 MB, free: 304 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.5538, allocations: 0 / 392.4 MB, free: 304 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.465e-05/0.5538, allocations: 8 kB / 392.4 MB, free: 296 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.554, allocations: 3.594 kB / 392.4 MB, free: 296 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004227/0.5545, allocations: 131 kB / 392.5 MB, free: 128 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.5548, allocations: 0.6807 MB / 393.2 MB, free: 15.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.5548, allocations: 7.438 kB / 393.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of SimCode: time 1.493e-06/0.5549, allocations: 0 / 393.2 MB, free: 15.41 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.544/3.099, allocations: 0.7558 MB / 394 MB, free: 14.66 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat does not exist to compare? outputFormat=mat