Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.124/2.124, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.493e-05, allocations: 0 / 267.6 MB, free: 4.961 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 48.7 MB / 316.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4159/0.5309, allocations: 73.52 MB / 389.8 MB, free: 3.207 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002797/0.5313, allocations: 70.02 kB / 389.9 MB, free: 3.172 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04448/0.5758, allocations: 8.135 MB / 398 MB, free: 12.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5759, allocations: 0 / 398 MB, free: 12.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.5759, allocations: 4 kB / 398 MB, free: 12.27 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.0004174/0.5763, allocations: 341.4 kB / 398.4 MB, free: 11.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.32e-05/0.5764, allocations: 8.031 kB / 398.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.5764, allocations: 4 kB / 398.4 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.5766, allocations: 163 kB / 398.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/0.5766, allocations: 0 / 398.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.5766, allocations: 4 kB / 398.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.595e-05/0.5767, allocations: 4 kB / 398.6 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.609e-05/0.5768, allocations: 33.64 kB / 398.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.5768, allocations: 0 / 398.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.5768, allocations: 0 / 398.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.5768, allocations: 3.938 kB / 398.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001558/0.577, allocations: 137.6 kB / 398.7 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.144e-05/0.577, allocations: 26.45 kB / 398.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.289e-05/0.5771, allocations: 4.922 kB / 398.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.5771, allocations: 4 kB / 398.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.108e-05/0.5772, allocations: 30.56 kB / 398.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=1): time 1.523e-06/0.5772, allocations: 0 / 398.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002014/0.5774, allocations: 44.81 kB / 398.8 MB, free: 11.34 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.5775, allocations: 55.44 kB / 398.9 MB, free: 11.27 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.81e-05/0.5776, allocations: 85 kB / 399 MB, free: 11.18 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.495e-05/0.5776, allocations: 25.7 kB / 399 MB, free: 11.15 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.5777, allocations: 84.14 kB / 399.1 MB, free: 11.06 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.592e-05/0.5777, allocations: 3.938 kB / 399.1 MB, free: 11.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.5777, allocations: 0 / 399.1 MB, free: 11.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5779, allocations: 314.4 kB / 399.4 MB, free: 10.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.5779, allocations: 4.125 kB / 399.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.211e-05/0.5779, allocations: 4 kB / 399.4 MB, free: 10.74 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.379e-05/0.578, allocations: 3.984 kB / 399.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.578, allocations: 4 kB / 399.4 MB, free: 10.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001084/0.5781, allocations: 37.56 kB / 399.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.5781, allocations: 10.34 kB / 399.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.5782, allocations: 0 / 399.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.5782, allocations: 0 / 399.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.743e-06/0.5782, allocations: 0 / 399.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.5782, allocations: 3.938 kB / 399.5 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.86e-05/0.5782, allocations: 4.094 kB / 399.5 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.5783, allocations: 4 kB / 399.5 MB, free: 10.67 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 7.885e-05/0.5784, allocations: 101 kB / 399.6 MB, free: 10.56 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.896e-05/0.5785, allocations: 41.64 kB / 399.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.328e-06/0.5785, allocations: 0 / 399.6 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.5787, allocations: 45.25 kB / 399.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.5787, allocations: 4.062 kB / 399.7 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.5787, allocations: 4 kB / 399.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.5787, allocations: 0 / 399.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.5788, allocations: 126.2 kB / 399.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.5788, allocations: 0 / 399.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-06/0.5789, allocations: 7.984 kB / 399.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.5789, allocations: 3.953 kB / 399.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.5789, allocations: 3.938 kB / 399.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5789, allocations: 0 / 399.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/0.5789, allocations: 3.984 kB / 399.8 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.579, allocations: 60.14 kB / 399.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.5791, allocations: 81.05 kB / 399.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.282e-05/0.5791, allocations: 15.94 kB / 400 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.936e-05/0.5792, allocations: 0 / 400 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.5792, allocations: 0 / 400 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.5793, allocations: 4 kB / 400 MB, free: 10.09 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.367e-05/0.5793, allocations: 82.12 kB / 400 MB, free: 10.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5793, allocations: 0 / 400 MB, free: 10.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004438/0.5798, allocations: 47.94 kB / 400.1 MB, free: 9.969 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.0007116/0.5805, allocations: 0.6466 MB / 400.7 MB, free: 9.293 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.5806, allocations: 32.64 kB / 400.8 MB, free: 9.258 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.5806, allocations: 4.062 kB / 400.8 MB, free: 9.254 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.724e-05/0.5807, allocations: 25.7 kB / 400.8 MB, free: 9.223 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001409/0.5808, allocations: 7.953 kB / 400.8 MB, free: 9.215 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000431/0.5813, allocations: 105 kB / 400.9 MB, free: 9.078 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/0.5816, allocations: 0.6729 MB / 401.6 MB, free: 8.379 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.899e-05/0.5817, allocations: 7.938 kB / 401.6 MB, free: 8.371 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.349e-05/0.5817, allocations: 7.438 kB / 401.6 MB, free: 8.363 MB / 330.7 MB Notification: Performance of SimCode: time 7.42e-07/0.5817, allocations: 0 / 401.6 MB, free: 8.363 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03594/0.6177, allocations: 1.128 MB / 402.7 MB, free: 7.242 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003529/0.6181, allocations: 138.2 kB / 402.9 MB, free: 7.051 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/3.005, allocations: 0 / 402.9 MB, free: 7.051 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat