Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.704/2.704, allocations: 270 MB / 283.6 MB, free: 1.898 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.008e-05/4.028e-05, allocations: 4 kB / 348.5 MB, free: 2.688 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.4026, allocations: 61.87 MB / 410.4 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.5608, allocations: 85.65 MB / 496 MB, free: 4.871 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.5611, allocations: 63.95 kB / 496.1 MB, free: 4.809 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01642/0.5775, allocations: 3.176 MB / 499.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.5776, allocations: 0 / 499.2 MB, free: 1.625 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.339e-05/0.5776, allocations: 4 kB / 499.3 MB, free: 1.621 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007544/0.5784, allocations: 362.3 kB / 499.6 MB, free: 1.223 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.321e-05/0.5785, allocations: 12.03 kB / 499.6 MB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.904e-05/0.5786, allocations: 42.55 kB / 499.7 MB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.5786, allocations: 0 / 499.7 MB, free: 1.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.5788, allocations: 170.9 kB / 499.8 MB, free: 0.9531 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.5788, allocations: 3.953 kB / 499.8 MB, free: 0.9492 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.5788, allocations: 8 kB / 499.8 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001796/0.579, allocations: 69.67 kB / 499.9 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.5791, allocations: 3.938 kB / 499.9 MB, free: 0.8633 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.5791, allocations: 4 kB / 499.9 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.5791, allocations: 8 kB / 499.9 MB, free: 0.8516 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001257/0.5792, allocations: 43.97 kB / 500 MB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002318/0.5795, allocations: 177.5 kB / 0.4884 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.5797, allocations: 86.44 kB / 0.4885 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.776e-05/0.5798, allocations: 28.86 kB / 0.4885 GB, free: 472 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003833/0.5802, allocations: 109.1 kB / 0.4886 GB, free: 344 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.5802, allocations: 38.56 kB / 0.4887 GB, free: 296 kB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.5803, allocations: 0 / 0.4887 GB, free: 296 kB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.2435/0.8237, allocations: 4.963 MB / 0.4935 GB, free: 11.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.8238, allocations: 59.41 kB / 0.4936 GB, free: 11.21 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.658e-05/0.8239, allocations: 85 kB / 0.4936 GB, free: 11.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.473e-05/0.824, allocations: 33.7 kB / 0.4937 GB, free: 11.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.824, allocations: 80.52 kB / 0.4938 GB, free: 11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.8241, allocations: 74.89 kB / 0.4938 GB, free: 10.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-05/0.8242, allocations: 4 kB / 0.4938 GB, free: 10.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.8243, allocations: 330.8 kB / 0.4941 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.8245, allocations: 63.98 kB / 0.4942 GB, free: 10.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.8248, allocations: 72.11 kB / 0.4943 GB, free: 10.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009176/0.8257, allocations: 110.5 kB / 0.4944 GB, free: 10.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.8257, allocations: 0 / 0.4944 GB, free: 10.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001321/0.8271, allocations: 261.3 kB / 0.4946 GB, free: 10.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.8271, allocations: 4 kB / 0.4946 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.8271, allocations: 0 / 0.4946 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.223e-05/0.8272, allocations: 4 kB / 0.4946 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007412/0.8279, allocations: 99.84 kB / 0.4947 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.8279, allocations: 0 / 0.4947 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004043/0.8283, allocations: 39.97 kB / 0.4948 GB, free: 9.941 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.453e-05/0.8284, allocations: 15.98 kB / 0.4948 GB, free: 9.926 MB / 426.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 (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 0.000129/0.8286, allocations: 116.8 kB / 0.4949 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.8286, allocations: 11.91 kB / 0.4949 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001715/0.8303, allocations: 343.8 kB / 0.4952 GB, free: 9.449 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.8304, allocations: 0 / 0.4952 GB, free: 9.449 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.8304, allocations: 0 / 0.4952 GB, free: 9.449 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.8304, allocations: 4 kB / 0.4952 GB, free: 9.445 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/0.8336, allocations: 0.7291 MB / 0.496 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.8336, allocations: 7.938 kB / 0.496 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005995/0.8342, allocations: 91.89 kB / 0.4961 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.8343, allocations: 4 kB / 0.4961 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.8343, allocations: 11.98 kB / 0.4961 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.8343, allocations: 0 / 0.4961 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.8343, allocations: 0 / 0.4961 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.8356, allocations: 375.2 kB / 0.4964 GB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.8357, allocations: 89 kB / 0.4965 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.575e-05/0.8358, allocations: 4 kB / 0.4965 GB, free: 8.039 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000381/0.8361, allocations: 39.97 kB / 0.4966 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.8362, allocations: 11.98 kB / 0.4966 GB, free: 7.988 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.613e-05/0.8363, allocations: 15.98 kB / 0.4966 GB, free: 7.973 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.451e-05/0.8363, allocations: 87.22 kB / 0.4967 GB, free: 7.887 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8363, allocations: 0 / 0.4967 GB, free: 7.887 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002386/0.8387, allocations: 0.6051 MB / 0.4973 GB, free: 7.281 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.00629/0.845, allocations: 1.264 MB / 0.4985 GB, free: 5.977 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006344/0.8457, allocations: 167.9 kB / 0.4986 GB, free: 5.812 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8457, allocations: 0 / 0.4986 GB, free: 5.812 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002401/0.846, allocations: 83.91 kB / 0.4987 GB, free: 5.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.8462, allocations: 11.95 kB / 0.4987 GB, free: 5.719 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0026/0.8488, allocations: 399.2 kB / 0.4991 GB, free: 5.285 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.8492, allocations: 0.7017 MB / 0.4998 GB, free: 4.559 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007/0.8499, allocations: 81.2 kB / 0.4999 GB, free: 4.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003558/0.8503, allocations: 55.39 kB / 0.4999 GB, free: 4.426 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/0.8503, allocations: 4 kB / 0.4999 GB, free: 4.422 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0621/0.9124, allocations: 18.43 MB / 0.5179 GB, free: 2.539 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000341/0.9128, allocations: 173.8 kB / 0.5181 GB, free: 2.309 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.805/3.717, allocations: 4 kB / 0.5181 GB, free: 2.305 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat