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.044/2.044, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.207e-05/6.225e-05, allocations: 8 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1245, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4911/0.6156, allocations: 73.32 MB / 395.1 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.616, allocations: 71.3 kB / 395.2 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01579/0.6318, allocations: 3.08 MB / 398.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6318, allocations: 0 / 398.3 MB, free: 13.48 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.6318, allocations: 0 / 398.3 MB, free: 13.48 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005254/0.6324, allocations: 354.4 kB / 398.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.6324, allocations: 12.03 kB / 398.7 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.537e-05/0.6325, allocations: 38.5 kB / 398.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.6326, allocations: 15.86 kB / 398.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.6327, allocations: 163 kB / 398.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/0.6328, allocations: 15.98 kB / 398.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.6328, allocations: 4 kB / 398.9 MB, free: 12.8 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.633, allocations: 65.69 kB / 398.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.633, allocations: 3.984 kB / 399 MB, free: 12.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.438e-05/0.6331, allocations: 3.984 kB / 399 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.6331, allocations: 0 / 399 MB, free: 12.72 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001344/0.6332, allocations: 47.91 kB / 399 MB, free: 12.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002576/0.6335, allocations: 177.5 kB / 399.2 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.6337, allocations: 82.5 kB / 399.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/0.6338, allocations: 24.86 kB / 399.3 MB, free: 12.34 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003811/0.6342, allocations: 121 kB / 399.4 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.564e-05/0.6343, allocations: 30.56 kB / 399.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.254e-06/0.6343, allocations: 4 kB / 399.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.2625/0.8967, allocations: 4.959 MB / 404.4 MB, free: 7.156 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/0.8968, allocations: 55.41 kB / 404.4 MB, free: 7.09 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.551e-05/0.8969, allocations: 89 kB / 404.5 MB, free: 6.996 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.601e-05/0.897, allocations: 25.7 kB / 404.6 MB, free: 6.965 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.553e-05/0.8971, allocations: 151.1 kB / 404.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001215/0.8972, allocations: 82.91 kB / 404.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.147e-05/0.8972, allocations: 7.938 kB / 404.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.8974, allocations: 314.8 kB / 405.1 MB, free: 6.406 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002405/0.8976, allocations: 71.98 kB / 405.2 MB, free: 6.336 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.8979, allocations: 67.98 kB / 405.2 MB, free: 6.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009246/0.8989, allocations: 115.4 kB / 405.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.8989, allocations: 0 / 405.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001353/0.9003, allocations: 261.3 kB / 405.6 MB, free: 5.898 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.9003, allocations: 4 kB / 405.6 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.9003, allocations: 4 kB / 405.6 MB, free: 5.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.9004, allocations: 7.891 kB / 405.6 MB, free: 5.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007555/0.9011, allocations: 99.84 kB / 405.7 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.9012, allocations: 0 / 405.7 MB, free: 5.785 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004031/0.9016, allocations: 39.97 kB / 405.8 MB, free: 5.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.222e-05/0.9016, allocations: 19.92 kB / 405.8 MB, free: 5.727 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.0001927/0.9018, allocations: 112.9 kB / 405.9 MB, free: 5.609 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.958e-05/0.9019, allocations: 7.906 kB / 405.9 MB, free: 5.602 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.9037, allocations: 341.8 kB / 406.2 MB, free: 5.262 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/0.9037, allocations: 4 kB / 406.2 MB, free: 5.258 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/0.9038, allocations: 3.953 kB / 406.2 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.9038, allocations: 0 / 406.2 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003299/0.9071, allocations: 0.7373 MB / 407 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.9072, allocations: 0 / 407 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005926/0.9078, allocations: 87.94 kB / 407.1 MB, free: 4.371 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-05/0.9078, allocations: 4 kB / 407.1 MB, free: 4.367 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.525e-05/0.9078, allocations: 15.98 kB / 407.1 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.9079, allocations: 0 / 407.1 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.9079, allocations: 0 / 407.1 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.9092, allocations: 374.4 kB / 407.4 MB, free: 3.957 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.9093, allocations: 89 kB / 407.5 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.835e-05/0.9093, allocations: 4 kB / 407.5 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003606/0.9097, allocations: 35.97 kB / 407.6 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.222e-05/0.9098, allocations: 19.94 kB / 407.6 MB, free: 3.793 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/0.9098, allocations: 19.98 kB / 407.6 MB, free: 3.773 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.904e-05/0.9099, allocations: 75.28 kB / 407.7 MB, free: 3.699 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9099, allocations: 0 / 407.7 MB, free: 3.699 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002339/0.9123, allocations: 0.609 MB / 408.3 MB, free: 3.09 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.006339/0.9186, allocations: 1.249 MB / 409.5 MB, free: 1.797 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006554/0.9193, allocations: 167.9 kB / 409.7 MB, free: 1.633 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.9194, allocations: 4 kB / 409.7 MB, free: 1.629 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.9196, allocations: 91.84 kB / 409.8 MB, free: 1.539 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.9199, allocations: 8 kB / 409.8 MB, free: 1.531 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.9225, allocations: 426.7 kB / 410.2 MB, free: 1.062 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.9229, allocations: 0.6978 MB / 410.9 MB, free: 348 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002768/0.9232, allocations: 63.38 kB / 411 MB, free: 284 kB / 330.7 MB Notification: Performance of SimCode: time 9.91e-07/0.9232, allocations: 0 / 411 MB, free: 284 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.999/3.922, allocations: 14.88 MB / 425.9 MB, free: 1.418 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