Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.032/2.032, allocations: 209.4 MB / 216.5 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.856e-05/1.865e-05, allocations: 0 / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1511, allocations: 48.71 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4782/0.6293, allocations: 73.58 MB / 389.9 MB, free: 2.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.6296, allocations: 69.58 kB / 390 MB, free: 2.781 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04399/0.6736, allocations: 8.138 MB / 398.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.6737, allocations: 0 / 398.1 MB, free: 11.88 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.092e-06/0.6737, allocations: 0 / 398.1 MB, free: 11.88 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.0004021/0.6741, allocations: 341.8 kB / 398.5 MB, free: 11.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.6742, allocations: 12.03 kB / 398.5 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.6742, allocations: 0 / 398.5 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.6743, allocations: 163 kB / 398.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.6744, allocations: 0 / 398.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.6744, allocations: 0 / 398.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.916e-05/0.6745, allocations: 7.938 kB / 398.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.966e-05/0.6746, allocations: 45.12 kB / 398.7 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.6746, allocations: 0 / 398.7 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.6746, allocations: 0 / 398.7 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.6746, allocations: 4 kB / 398.7 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003625/0.675, allocations: 228.8 kB / 398.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.067e-05/0.6751, allocations: 14.58 kB / 398.9 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.993e-05/0.6751, allocations: 8.922 kB / 398.9 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.6751, allocations: 0 / 398.9 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.6752, allocations: 38.06 kB / 399 MB, free: 10.9 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.473e-06/0.6752, allocations: 4 kB / 399 MB, free: 10.89 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001869/0.6754, allocations: 33.7 kB / 399 MB, free: 10.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.6754, allocations: 51.41 kB / 399 MB, free: 10.79 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.295e-05/0.6755, allocations: 92.98 kB / 399.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.6756, allocations: 25.7 kB / 399.2 MB, free: 10.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.6756, allocations: 87.3 kB / 399.2 MB, free: 10.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.158e-06/0.6757, allocations: 3.906 kB / 399.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.6757, allocations: 160 / 399.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.6758, allocations: 318.8 kB / 399.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/0.6758, allocations: 4 kB / 399.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.425e-05/0.6759, allocations: 21.89 kB / 399.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.159e-05/0.6759, allocations: 11.92 kB / 399.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.676, allocations: 0 / 399.6 MB, free: 10.21 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001141/0.6761, allocations: 41.7 kB / 399.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.6761, allocations: 6.344 kB / 399.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/0.6761, allocations: 4 kB / 399.7 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.6762, allocations: 0 / 399.7 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.795e-05/0.6762, allocations: 11.92 kB / 399.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.6763, allocations: 3.984 kB / 399.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.419e-05/0.6763, allocations: 0 / 399.7 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.216e-05/0.6763, allocations: 4 kB / 399.7 MB, free: 10.14 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.592e-05/0.6764, allocations: 108.3 kB / 399.8 MB, free: 10.03 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.685e-05/0.6765, allocations: 37.7 kB / 399.8 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.6766, allocations: 0 / 399.8 MB, free: 9.984 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.6767, allocations: 45.38 kB / 399.9 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.528e-06/0.6767, allocations: 0 / 399.9 MB, free: 9.938 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6768, allocations: 4 kB / 399.9 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.6768, allocations: 0 / 399.9 MB, free: 9.934 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001696/0.677, allocations: 133.3 kB / 400 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.677, allocations: 64 / 400 MB, free: 9.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.923e-06/0.677, allocations: 12 kB / 400 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.677, allocations: 3.938 kB / 400 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.677, allocations: 0 / 400 MB, free: 9.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.677, allocations: 3.938 kB / 400 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.677, allocations: 96 / 400 MB, free: 9.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001382/0.6772, allocations: 134.4 kB / 400.1 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.6772, allocations: 81.09 kB / 400.2 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.6773, allocations: 8.031 kB / 400.2 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.6774, allocations: 0 / 400.2 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.6774, allocations: 3.938 kB / 400.2 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.6774, allocations: 0 / 400.2 MB, free: 9.496 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.895e-05/0.6775, allocations: 79.28 kB / 400.3 MB, free: 9.418 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6775, allocations: 0 / 400.3 MB, free: 9.418 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005566/0.678, allocations: 51.92 kB / 400.4 MB, free: 9.367 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.0008261/0.6789, allocations: 0.7188 MB / 401.1 MB, free: 8.625 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001196/0.679, allocations: 37.64 kB / 401.1 MB, free: 8.582 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.679, allocations: 0 / 401.1 MB, free: 8.582 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.858e-05/0.6791, allocations: 29.7 kB / 401.1 MB, free: 8.547 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001952/0.6793, allocations: 3.438 kB / 401.2 MB, free: 8.547 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.6798, allocations: 109.8 kB / 401.3 MB, free: 8.402 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003618/0.6801, allocations: 0.6768 MB / 401.9 MB, free: 7.699 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.795e-05/0.6802, allocations: 0 / 401.9 MB, free: 7.699 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.6802, allocations: 7.438 kB / 401.9 MB, free: 7.691 MB / 330.7 MB Notification: Performance of SimCode: time 4.629e-06/0.6802, allocations: 0 / 401.9 MB, free: 7.691 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03799/0.7182, allocations: 1.142 MB / 403.1 MB, free: 6.559 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002501/0.7185, allocations: 145.7 kB / 403.2 MB, free: 6.359 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.427/3.145, allocations: 0 / 403.2 MB, free: 6.359 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat