Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.386/2.386, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.558e-05, allocations: 0 / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3734, allocations: 54.86 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1472/0.5206, allocations: 79.74 MB / 434.1 MB, free: 2.473 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.521, allocations: 71.89 kB / 434.1 MB, free: 2.402 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05095/0.5719, allocations: 8.141 MB / 442.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.572, allocations: 0 / 442.3 MB, free: 10.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.572, allocations: 0 / 442.3 MB, free: 10.25 MB / 378.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.0004945/0.5725, allocations: 342.5 kB / 442.6 MB, free: 9.875 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.437e-05/0.5726, allocations: 12.03 kB / 442.6 MB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.142e-05/0.5727, allocations: 7.859 kB / 442.6 MB, free: 9.855 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.5728, allocations: 171 kB / 442.8 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.5729, allocations: 0 / 442.8 MB, free: 9.648 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.5729, allocations: 4 kB / 442.8 MB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.596e-05/0.573, allocations: 0 / 442.8 MB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001041/0.5731, allocations: 41.64 kB / 442.8 MB, free: 9.598 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.5731, allocations: 0 / 442.8 MB, free: 9.598 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.5732, allocations: 0 / 442.8 MB, free: 9.598 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.5732, allocations: 3.953 kB / 442.9 MB, free: 9.594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.5736, allocations: 225.5 kB / 443.1 MB, free: 9.336 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.109e-05/0.5737, allocations: 14.58 kB / 443.1 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.406e-05/0.5737, allocations: 8.922 kB / 443.1 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.5738, allocations: 0 / 443.1 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.5738, allocations: 38.5 kB / 443.1 MB, free: 9.254 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.084e-06/0.5738, allocations: 0 / 443.1 MB, free: 9.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.000239/0.5741, allocations: 45.58 kB / 443.2 MB, free: 9.203 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.129e-05/0.5742, allocations: 55.44 kB / 443.2 MB, free: 9.137 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.47e-05/0.5743, allocations: 89 kB / 443.3 MB, free: 9.043 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.5743, allocations: 25.7 kB / 443.3 MB, free: 9.012 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/0.5744, allocations: 84.05 kB / 443.4 MB, free: 8.926 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.5744, allocations: 4 kB / 443.4 MB, free: 8.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.5744, allocations: 0 / 443.4 MB, free: 8.922 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5746, allocations: 310.8 kB / 443.7 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.5746, allocations: 4 kB / 443.7 MB, free: 8.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.567e-05/0.5747, allocations: 30.67 kB / 443.8 MB, free: 8.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.617e-05/0.5748, allocations: 4 kB / 443.8 MB, free: 8.562 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.5748, allocations: 0 / 443.8 MB, free: 8.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001731/0.575, allocations: 49.62 kB / 443.8 MB, free: 8.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.575, allocations: 4 kB / 443.8 MB, free: 8.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.963e-05/0.575, allocations: 4.094 kB / 443.8 MB, free: 8.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.5751, allocations: 4 kB / 443.8 MB, free: 8.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.5751, allocations: 4 kB / 443.8 MB, free: 8.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.5752, allocations: 3.953 kB / 443.8 MB, free: 8.488 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.853e-05/0.5752, allocations: 3.906 kB / 443.8 MB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.5752, allocations: 4 kB / 443.8 MB, free: 8.48 MB / 378.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 9.775e-05/0.5753, allocations: 104.9 kB / 443.9 MB, free: 8.371 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001416/0.5755, allocations: 37.69 kB / 444 MB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.5756, allocations: 0 / 444 MB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.5758, allocations: 49.44 kB / 444 MB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.5758, allocations: 7.953 kB / 444 MB, free: 8.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.5758, allocations: 4 kB / 444 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5758, allocations: 0 / 444 MB, free: 8.266 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.5761, allocations: 126.2 kB / 444.2 MB, free: 8.105 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.215e-05/0.5761, allocations: 7.938 kB / 444.2 MB, free: 8.098 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-06/0.5761, allocations: 3.938 kB / 444.2 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5762, allocations: 0 / 444.2 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.5762, allocations: 32 / 444.2 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.5762, allocations: 4 kB / 444.2 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/0.5762, allocations: 0 / 444.2 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.5764, allocations: 139.4 kB / 444.3 MB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.503e-05/0.5765, allocations: 77.11 kB / 444.4 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.5765, allocations: 4 kB / 444.4 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.5767, allocations: 0 / 444.4 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.5767, allocations: 0 / 444.4 MB, free: 7.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.5767, allocations: 4.031 kB / 444.4 MB, free: 7.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.629e-05/0.5768, allocations: 87.22 kB / 444.5 MB, free: 7.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5768, allocations: 0 / 444.5 MB, free: 7.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000722/0.5775, allocations: 47.94 kB / 444.5 MB, free: 7.703 MB / 378.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.0009232/0.5785, allocations: 0.7086 MB / 445.2 MB, free: 6.965 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.5786, allocations: 37.7 kB / 445.3 MB, free: 6.922 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5786, allocations: 0 / 445.3 MB, free: 6.922 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.732e-05/0.5787, allocations: 29.7 kB / 445.3 MB, free: 6.887 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.579, allocations: 3.984 kB / 445.3 MB, free: 6.883 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006205/0.5796, allocations: 103.1 kB / 445.4 MB, free: 6.746 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.5799, allocations: 0.6729 MB / 446.1 MB, free: 6.047 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.705e-05/0.58, allocations: 4.25 kB / 446.1 MB, free: 6.043 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.5801, allocations: 15.42 kB / 446.1 MB, free: 6.027 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5801, allocations: 0 / 446.1 MB, free: 6.027 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07357/0.6537, allocations: 1.134 MB / 447.2 MB, free: 4.902 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003141/0.6541, allocations: 141.8 kB / 447.4 MB, free: 4.707 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.3/2.954, allocations: 1.125 kB / 447.4 MB, free: 4.707 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat