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 1.966/1.966, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.593e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1121, allocations: 48.7 MB / 321.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.416/0.5282, allocations: 74.02 MB / 395.9 MB, free: 15.62 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.5285, allocations: 67.97 kB / 395.9 MB, free: 15.55 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0457/0.5742, allocations: 8.17 MB / 404.1 MB, free: 7.387 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5742, allocations: 0 / 404.1 MB, free: 7.387 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.5742, allocations: 0 / 404.1 MB, free: 7.387 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.0003993/0.5746, allocations: 342.5 kB / 404.4 MB, free: 7.008 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.5747, allocations: 8.031 kB / 404.5 MB, free: 7 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.5748, allocations: 34.56 kB / 404.5 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.727e-05/0.5748, allocations: 4 kB / 404.5 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.5749, allocations: 167 kB / 404.7 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.5749, allocations: 0 / 404.7 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.575, allocations: 0 / 404.7 MB, free: 6.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.5751, allocations: 45.56 kB / 404.7 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.5751, allocations: 0 / 404.7 MB, free: 6.699 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.5752, allocations: 4 kB / 404.7 MB, free: 6.695 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.5752, allocations: 4 kB / 404.7 MB, free: 6.691 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.129e-05/0.5752, allocations: 4 kB / 404.7 MB, free: 6.688 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.5756, allocations: 244.9 kB / 404.9 MB, free: 6.398 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.633e-05/0.5757, allocations: 18.58 kB / 405 MB, free: 6.371 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.211e-05/0.5757, allocations: 8.859 kB / 405 MB, free: 6.359 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.5757, allocations: 8 kB / 405 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/0.5758, allocations: 34.56 kB / 405 MB, free: 6.309 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.824e-06/0.5758, allocations: 0 / 405 MB, free: 6.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.00015/0.5759, allocations: 29.7 kB / 405 MB, free: 6.273 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.434e-05/0.576, allocations: 51.41 kB / 405.1 MB, free: 6.211 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.264e-05/0.5761, allocations: 92.98 kB / 405.2 MB, free: 6.113 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.5761, allocations: 29.7 kB / 405.2 MB, free: 6.078 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.5762, allocations: 84.05 kB / 405.3 MB, free: 5.992 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.5762, allocations: 12.06 kB / 405.3 MB, free: 5.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.477e-06/0.5762, allocations: 0 / 405.3 MB, free: 5.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5764, allocations: 314.8 kB / 405.6 MB, free: 5.664 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.5764, allocations: 4 kB / 405.6 MB, free: 5.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.478e-05/0.5764, allocations: 26.45 kB / 405.6 MB, free: 5.625 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.734e-05/0.5765, allocations: 7.984 kB / 405.7 MB, free: 5.617 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5765, allocations: 4 kB / 405.7 MB, free: 5.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000104/0.5766, allocations: 45.64 kB / 405.7 MB, free: 5.562 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.5766, allocations: 4 kB / 405.7 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.77e-05/0.5767, allocations: 0 / 405.7 MB, free: 5.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.5767, allocations: 7.984 kB / 405.7 MB, free: 5.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-05/0.5768, allocations: 12 kB / 405.7 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.5768, allocations: 0 / 405.7 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.483e-05/0.5768, allocations: 0 / 405.7 MB, free: 5.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.5769, allocations: 4 kB / 405.7 MB, free: 5.535 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 7.414e-05/0.5769, allocations: 109 kB / 405.8 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.577, allocations: 0 / 405.8 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.5771, allocations: 48.75 kB / 405.9 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5771, allocations: 0 / 405.9 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5772, allocations: 0 / 405.9 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.5772, allocations: 7.938 kB / 405.9 MB, free: 5.363 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.5774, allocations: 145.6 kB / 406 MB, free: 5.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/0.5774, allocations: 8.016 kB / 406 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.172e-06/0.5774, allocations: 0 / 406 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5774, allocations: 4 kB / 406 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.073e-06/0.5774, allocations: 0 / 406 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-06/0.5774, allocations: 0 / 406 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.5774, allocations: 96 / 406 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.5776, allocations: 139.4 kB / 406.2 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.5776, allocations: 81.09 kB / 406.3 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.5776, allocations: 4.031 kB / 406.3 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.816e-05/0.5777, allocations: 4 kB / 406.3 MB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.5778, allocations: 0 / 406.3 MB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.5778, allocations: 0 / 406.3 MB, free: 4.902 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.548e-05/0.5778, allocations: 79.28 kB / 406.3 MB, free: 4.824 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5778, allocations: 0 / 406.3 MB, free: 4.824 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004704/0.5783, allocations: 43.94 kB / 406.4 MB, free: 4.781 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.000719/0.5791, allocations: 0.7203 MB / 407.1 MB, free: 4.035 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001163/0.5792, allocations: 37.64 kB / 407.1 MB, free: 3.992 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.5792, allocations: 0 / 407.1 MB, free: 3.992 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.5792, allocations: 29.7 kB / 407.2 MB, free: 3.957 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.5794, allocations: 4.281 kB / 407.2 MB, free: 3.953 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004532/0.5799, allocations: 110.5 kB / 407.3 MB, free: 3.809 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.5802, allocations: 0.6809 MB / 408 MB, free: 3.102 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.873e-05/0.5802, allocations: 4 kB / 408 MB, free: 3.098 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.5802, allocations: 7.438 kB / 408 MB, free: 3.09 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5803, allocations: 0 / 408 MB, free: 3.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02846/0.6087, allocations: 1.428 MB / 409.4 MB, free: 1.727 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003449/0.6092, allocations: 160.8 kB / 409.6 MB, free: 1.496 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.442/3.051, allocations: 0 / 409.6 MB, free: 1.496 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