Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.965/1.965, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.862e-05/1.861e-05, allocations: 0 / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 48.69 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.409/0.516, allocations: 73.62 MB / 389.9 MB, free: 2.668 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.5164, allocations: 67.44 kB / 390 MB, free: 2.633 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05797/0.5744, allocations: 8.135 MB / 398.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5744, allocations: 0 / 398.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.5744, allocations: 4 kB / 398.1 MB, free: 11.73 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004626/0.5749, allocations: 334.5 kB / 398.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/0.575, allocations: 8.031 kB / 398.5 MB, free: 11.36 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.393e-05/0.575, allocations: 7.375 kB / 398.5 MB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.5752, allocations: 167 kB / 398.6 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.5753, allocations: 0 / 398.6 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.5753, allocations: 3.984 kB / 398.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.609e-05/0.5753, allocations: 0 / 398.6 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.879e-05/0.5755, allocations: 37.64 kB / 398.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.5755, allocations: 0 / 398.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.5755, allocations: 0 / 398.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.5755, allocations: 0 / 398.7 MB, free: 11.1 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.5757, allocations: 130.2 kB / 398.8 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.747e-05/0.5758, allocations: 29.94 kB / 398.8 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.248e-05/0.5758, allocations: 4.859 kB / 398.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.5759, allocations: 0 / 398.8 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.612e-05/0.5759, allocations: 34.56 kB / 398.9 MB, free: 10.85 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 2.063e-06/0.5759, allocations: 0 / 398.9 MB, free: 10.85 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001973/0.5762, allocations: 37.7 kB / 398.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.5762, allocations: 59.33 kB / 399 MB, free: 10.74 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.807e-05/0.5763, allocations: 92.69 kB / 399 MB, free: 10.64 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.5764, allocations: 25.7 kB / 399.1 MB, free: 10.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.917e-05/0.5765, allocations: 150.6 kB / 399.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.5765, allocations: 4.094 kB / 399.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/0.5765, allocations: 4 kB / 399.2 MB, free: 10.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.5767, allocations: 310.8 kB / 399.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.5767, allocations: 4 kB / 399.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.121e-05/0.5767, allocations: 0 / 399.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.607e-05/0.5768, allocations: 4 kB / 399.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.5768, allocations: 0 / 399.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001456/0.577, allocations: 41.64 kB / 399.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.577, allocations: 4 kB / 399.6 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.577, allocations: 4.094 kB / 399.6 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.5771, allocations: 0 / 399.6 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.874e-06/0.5771, allocations: 0 / 399.6 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.5771, allocations: 7.984 kB / 399.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.259e-05/0.5772, allocations: 3.906 kB / 399.6 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.5772, allocations: 0 / 399.6 MB, free: 10.07 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 (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 prepare postOptimizeDAE: time 0.0001008/0.5773, allocations: 108.1 kB / 399.7 MB, free: 9.961 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001118/0.5774, allocations: 37.66 kB / 399.7 MB, free: 9.918 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.579e-05/0.5775, allocations: 3.984 kB / 399.7 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001913/0.5777, allocations: 45.48 kB / 399.8 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.5777, allocations: 0 / 399.8 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5777, allocations: 0 / 399.8 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.5777, allocations: 0 / 399.8 MB, free: 9.867 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001305/0.5779, allocations: 130 kB / 399.9 MB, free: 9.707 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.5779, allocations: 4 kB / 399.9 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.398e-06/0.5779, allocations: 0 / 399.9 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.114e-05/0.5779, allocations: 7.891 kB / 399.9 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.578, allocations: 11.97 kB / 399.9 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.578, allocations: 0 / 399.9 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.578, allocations: 0 / 399.9 MB, free: 9.684 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001491/0.5781, allocations: 60.38 kB / 400 MB, free: 9.609 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.5782, allocations: 81.11 kB / 400.1 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.164e-05/0.5783, allocations: 3.953 kB / 400.1 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.138e-05/0.5783, allocations: 0 / 400.1 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.5784, allocations: 12.02 kB / 400.1 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.5784, allocations: 0 / 400.1 MB, free: 9.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.825e-05/0.5785, allocations: 75.28 kB / 400.2 MB, free: 9.422 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.5785, allocations: 0 / 400.2 MB, free: 9.422 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005764/0.5791, allocations: 51.88 kB / 400.2 MB, free: 9.371 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.0009158/0.58, allocations: 0.6496 MB / 400.9 MB, free: 8.695 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.5801, allocations: 29.7 kB / 400.9 MB, free: 8.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.5801, allocations: 0 / 400.9 MB, free: 8.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.267e-05/0.5802, allocations: 33.69 kB / 400.9 MB, free: 8.621 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001686/0.5804, allocations: 7.391 kB / 400.9 MB, free: 8.617 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00081/0.5812, allocations: 130.2 kB / 401.1 MB, free: 8.449 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.5816, allocations: 0.6768 MB / 401.7 MB, free: 7.746 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.912e-05/0.5816, allocations: 11.56 kB / 401.8 MB, free: 7.734 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5816, allocations: 0 / 401.8 MB, free: 7.734 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.316/2.897, allocations: 1.171 MB / 402.9 MB, free: 6.566 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat