Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.Test01RegFun3,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_Test01RegFun3",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.606/2.606, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.433e-05/2.447e-05, allocations: 4 kB / 299.6 MB, free: 6.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4073/0.4074, allocations: 54.86 MB / 354.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/0.5688, allocations: 79.73 MB / 434.2 MB, free: 2.52 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.5691, allocations: 75.95 kB / 434.3 MB, free: 2.445 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05209/0.6212, allocations: 8.126 MB / 442.4 MB, free: 10.31 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6213, allocations: 0 / 442.4 MB, free: 10.31 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.6213, allocations: 0 / 442.4 MB, free: 10.31 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004669/0.6218, allocations: 350.4 kB / 442.7 MB, free: 9.926 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.6218, allocations: 8.031 kB / 442.7 MB, free: 9.918 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.6219, allocations: 19.84 kB / 442.7 MB, free: 9.898 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.6221, allocations: 159.1 kB / 442.9 MB, free: 9.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.6221, allocations: 0 / 442.9 MB, free: 9.703 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.432e-05/0.6221, allocations: 0 / 442.9 MB, free: 9.703 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.971e-05/0.6222, allocations: 4 kB / 442.9 MB, free: 9.699 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.957e-05/0.6223, allocations: 29.64 kB / 442.9 MB, free: 9.664 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.6223, allocations: 0 / 442.9 MB, free: 9.664 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.6223, allocations: 4 kB / 442.9 MB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.6223, allocations: 3.953 kB / 442.9 MB, free: 9.656 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001827/0.6225, allocations: 138.2 kB / 443.1 MB, free: 9.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.139e-05/0.6226, allocations: 22.55 kB / 443.1 MB, free: 9.453 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.43e-05/0.6226, allocations: 4.859 kB / 443.1 MB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.08e-05/0.6227, allocations: 3.984 kB / 443.1 MB, free: 9.441 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.6227, allocations: 34.62 kB / 443.1 MB, free: 9.398 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 1.943e-06/0.6227, allocations: 0 / 443.1 MB, free: 9.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001923/0.6229, allocations: 33.69 kB / 443.2 MB, free: 9.359 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.623, allocations: 55.44 kB / 443.2 MB, free: 9.293 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.67e-05/0.6231, allocations: 93 kB / 443.3 MB, free: 9.195 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.6231, allocations: 25.7 kB / 443.3 MB, free: 9.164 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.39e-05/0.6232, allocations: 80.14 kB / 443.4 MB, free: 9.082 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.6232, allocations: 3.938 kB / 443.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-06/0.6232, allocations: 0 / 443.4 MB, free: 9.078 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6234, allocations: 322.7 kB / 443.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.6234, allocations: 128 / 443.7 MB, free: 8.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.129e-05/0.6234, allocations: 4 kB / 443.7 MB, free: 8.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.007e-05/0.6235, allocations: 4 kB / 443.8 MB, free: 8.746 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.6235, allocations: 0 / 443.8 MB, free: 8.746 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001194/0.6236, allocations: 37.69 kB / 443.8 MB, free: 8.703 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.6237, allocations: 6.188 kB / 443.8 MB, free: 8.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.6237, allocations: 4 kB / 443.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.6237, allocations: 0 / 443.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-06/0.6237, allocations: 0 / 443.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.6237, allocations: 0 / 443.8 MB, free: 8.695 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.6238, allocations: 4.094 kB / 443.8 MB, free: 8.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.6238, allocations: 3.938 kB / 443.8 MB, free: 8.688 MB / 378.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 9.532e-05/0.6239, allocations: 112.9 kB / 443.9 MB, free: 8.57 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001014/0.624, allocations: 45.53 kB / 444 MB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.104e-05/0.6241, allocations: 0 / 444 MB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.6242, allocations: 41.41 kB / 444 MB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.6243, allocations: 8.047 kB / 444 MB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.6243, allocations: 0 / 444 MB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6243, allocations: 0 / 444 MB, free: 8.469 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001289/0.6244, allocations: 138.2 kB / 444.1 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.6245, allocations: 0 / 444.1 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-06/0.6245, allocations: 0 / 444.1 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.6245, allocations: 0 / 444.1 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.6245, allocations: 0 / 444.1 MB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.6245, allocations: 11.92 kB / 444.2 MB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6245, allocations: 0 / 444.2 MB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001363/0.6247, allocations: 65.03 kB / 444.2 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.796e-05/0.6247, allocations: 77.11 kB / 444.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.6248, allocations: 0 / 444.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.48e-05/0.6248, allocations: 7.984 kB / 444.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.879e-05/0.6249, allocations: 0 / 444.3 MB, free: 8.102 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.6249, allocations: 4 kB / 444.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.011e-05/0.625, allocations: 83.28 kB / 444.4 MB, free: 8.016 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.625, allocations: 4.125 kB / 444.4 MB, free: 8.012 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004882/0.6255, allocations: 47.94 kB / 444.4 MB, free: 7.965 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.0008117/0.6263, allocations: 0.6436 MB / 445.1 MB, free: 7.289 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001049/0.6264, allocations: 29.7 kB / 445.1 MB, free: 7.254 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6264, allocations: 4.094 kB / 445.1 MB, free: 7.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.007e-05/0.6265, allocations: 25.7 kB / 445.1 MB, free: 7.219 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000148/0.6266, allocations: 4 kB / 445.1 MB, free: 7.215 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.6271, allocations: 103.2 kB / 445.2 MB, free: 7.078 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003039/0.6274, allocations: 0.6729 MB / 445.9 MB, free: 6.379 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.935e-05/0.6275, allocations: 4 kB / 445.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.6275, allocations: 7.438 kB / 445.9 MB, free: 6.367 MB / 378.7 MB Notification: Performance of SimCode: time 7.72e-07/0.6275, allocations: 0 / 445.9 MB, free: 6.367 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03912/0.6667, allocations: 1.131 MB / 447.1 MB, free: 5.242 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003366/0.6671, allocations: 150.8 kB / 447.2 MB, free: 5.043 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.46/3.127, allocations: 0 / 447.2 MB, free: 5.043 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestUtilities.Test01RegFun3_res.mat does not exist to compare? outputFormat=mat