Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test02RegFun3,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_Test02RegFun3",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.583/2.583, allocations: 235.1 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.395e-05/2.409e-05, allocations: 4 kB / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3845, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1591/0.5436, allocations: 79.74 MB / 434.2 MB, free: 15.35 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.544, allocations: 75.89 kB / 434.2 MB, free: 15.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0512/0.5952, allocations: 8.137 MB / 442.4 MB, free: 7.129 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.879e-06/0.5952, allocations: 0 / 442.4 MB, free: 7.129 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.62e-06/0.5953, allocations: 3.938 kB / 442.4 MB, free: 7.125 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.0004032/0.5957, allocations: 339 kB / 442.7 MB, free: 6.75 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/0.5957, allocations: 12.03 kB / 442.7 MB, free: 6.738 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.754e-05/0.5958, allocations: 11.8 kB / 442.7 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.5959, allocations: 163.1 kB / 442.9 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.596, allocations: 0 / 442.9 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.596, allocations: 4 kB / 442.9 MB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.016e-05/0.5961, allocations: 8 kB / 442.9 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.331e-05/0.5961, allocations: 33.7 kB / 442.9 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.5962, allocations: 0 / 442.9 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.5962, allocations: 0 / 442.9 MB, free: 6.477 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.172e-05/0.5962, allocations: 3.953 kB / 442.9 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003695/0.5966, allocations: 221.5 kB / 443.2 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.23e-05/0.5967, allocations: 22.52 kB / 443.2 MB, free: 6.188 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.913e-05/0.5967, allocations: 8.922 kB / 443.2 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.5967, allocations: 0 / 443.2 MB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.5968, allocations: 34.56 kB / 443.2 MB, free: 6.133 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.743e-06/0.5968, allocations: 0 / 443.2 MB, free: 6.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001858/0.597, allocations: 45.62 kB / 443.3 MB, free: 6.082 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.67e-05/0.597, allocations: 51.41 kB / 443.3 MB, free: 6.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.057e-05/0.5971, allocations: 93.03 kB / 443.4 MB, free: 5.922 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.763e-05/0.5971, allocations: 25.7 kB / 443.4 MB, free: 5.891 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.546e-05/0.5972, allocations: 88.05 kB / 443.5 MB, free: 5.801 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.001e-06/0.5972, allocations: 0 / 443.5 MB, free: 5.801 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.948e-06/0.5972, allocations: 0 / 443.5 MB, free: 5.801 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5974, allocations: 310.8 kB / 443.8 MB, free: 5.488 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.848e-05/0.5974, allocations: 7.938 kB / 443.8 MB, free: 5.48 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.677e-05/0.5975, allocations: 26.69 kB / 443.9 MB, free: 5.445 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.293e-05/0.5975, allocations: 8 kB / 443.9 MB, free: 5.438 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5976, allocations: 0 / 443.9 MB, free: 5.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001265/0.5977, allocations: 41.64 kB / 443.9 MB, free: 5.391 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.5977, allocations: 7.984 kB / 443.9 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/0.5978, allocations: 7.984 kB / 443.9 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.5978, allocations: 3.938 kB / 443.9 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.754e-05/0.5978, allocations: 4.094 kB / 443.9 MB, free: 5.367 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.5979, allocations: 7.953 kB / 443.9 MB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.896e-05/0.5979, allocations: 3.906 kB / 443.9 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.5979, allocations: 4 kB / 444 MB, free: 5.352 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 8.481e-05/0.598, allocations: 101 kB / 444 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001098/0.5981, allocations: 45.56 kB / 444.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.914e-05/0.5982, allocations: 0 / 444.1 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.5984, allocations: 49.44 kB / 444.1 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-05/0.5984, allocations: 3.953 kB / 444.1 MB, free: 5.141 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.5984, allocations: 4 kB / 444.1 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.5984, allocations: 0 / 444.1 MB, free: 5.137 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.5986, allocations: 126.2 kB / 444.3 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.5986, allocations: 0 / 444.3 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.319e-06/0.5986, allocations: 4 kB / 444.3 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5986, allocations: 0 / 444.3 MB, free: 4.973 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.5987, allocations: 4 kB / 444.3 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.5987, allocations: 0 / 444.3 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5987, allocations: 0 / 444.3 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001504/0.5988, allocations: 143.5 kB / 444.4 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.984e-05/0.5989, allocations: 77.11 kB / 444.5 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.5989, allocations: 0 / 444.5 MB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.499e-05/0.599, allocations: 4 kB / 444.5 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.5991, allocations: 0 / 444.5 MB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.5991, allocations: 0 / 444.5 MB, free: 4.715 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.066e-05/0.5991, allocations: 87.27 kB / 444.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5991, allocations: 0 / 444.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005498/0.5997, allocations: 47.92 kB / 444.6 MB, free: 4.582 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.0007864/0.6005, allocations: 0.7085 MB / 445.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.6006, allocations: 41.77 kB / 445.4 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.6007, allocations: 0 / 445.4 MB, free: 3.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.363e-05/0.6007, allocations: 29.7 kB / 445.4 MB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.6009, allocations: 2.688 kB / 445.4 MB, free: 3.762 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.6014, allocations: 109.5 kB / 445.5 MB, free: 3.617 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.6017, allocations: 0.6729 MB / 446.2 MB, free: 2.918 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.752e-05/0.6018, allocations: 0 / 446.2 MB, free: 2.918 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.693e-05/0.6018, allocations: 11.69 kB / 446.2 MB, free: 2.906 MB / 378.7 MB Notification: Performance of SimCode: time 9.21e-07/0.6018, allocations: 4 kB / 446.2 MB, free: 2.902 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03396/0.6358, allocations: 1.13 MB / 447.3 MB, free: 1.785 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003162/0.6362, allocations: 166.2 kB / 447.5 MB, free: 1.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.454/3.09, allocations: 0 / 447.5 MB, free: 1.57 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestUtilities.Test02RegFun3_res.mat does not exist to compare? outputFormat=mat