Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.009/2.009, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.207e-05/3.21e-05, allocations: 0 / 273.1 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1015, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4041/0.5057, allocations: 73.32 MB / 395.2 MB, free: 292 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.506, allocations: 75.3 kB / 395.2 MB, free: 220 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01497/0.521, allocations: 3.072 MB / 398.3 MB, free: 13.15 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.521, allocations: 0 / 398.3 MB, free: 13.15 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.521, allocations: 0 / 398.3 MB, free: 13.15 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004329/0.5215, allocations: 358.4 kB / 398.7 MB, free: 12.76 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.5215, allocations: 12.03 kB / 398.7 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.149e-05/0.5216, allocations: 34.55 kB / 398.7 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.5216, allocations: 15.86 kB / 398.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.5218, allocations: 167 kB / 398.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.702e-05/0.5218, allocations: 8 kB / 398.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.5219, allocations: 8 kB / 398.9 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001709/0.522, allocations: 61.67 kB / 399 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.5221, allocations: 4 kB / 399 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.5221, allocations: 0 / 399 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.5221, allocations: 0 / 399 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001336/0.5222, allocations: 51.89 kB / 399 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002309/0.5225, allocations: 173.5 kB / 399.2 MB, free: 12.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.5227, allocations: 90.48 kB / 399.3 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.471e-05/0.5228, allocations: 28.86 kB / 399.3 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003492/0.5232, allocations: 113 kB / 399.4 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.5232, allocations: 30.56 kB / 399.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.853e-06/0.5232, allocations: 4 kB / 399.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.2415/0.7647, allocations: 4.967 MB / 404.4 MB, free: 6.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.82e-05/0.7648, allocations: 55.39 kB / 404.5 MB, free: 6.754 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.242e-05/0.7649, allocations: 89 kB / 404.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.7649, allocations: 25.7 kB / 404.6 MB, free: 6.629 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.589e-05/0.765, allocations: 88.58 kB / 404.7 MB, free: 6.535 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.7651, allocations: 70.92 kB / 404.7 MB, free: 6.465 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.7652, allocations: 8 kB / 404.8 MB, free: 6.457 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.7653, allocations: 318.8 kB / 405.1 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.7655, allocations: 71.92 kB / 405.1 MB, free: 6.066 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.7658, allocations: 67.98 kB / 405.2 MB, free: 6 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008765/0.7667, allocations: 115.2 kB / 405.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.7667, allocations: 0 / 405.3 MB, free: 5.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001329/0.768, allocations: 261.3 kB / 405.6 MB, free: 5.629 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.7681, allocations: 7.984 kB / 405.6 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.7681, allocations: 4 kB / 405.6 MB, free: 5.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.7681, allocations: 3.953 kB / 405.6 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000742/0.7689, allocations: 91.86 kB / 405.7 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.7689, allocations: 0 / 405.7 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/0.7694, allocations: 43.95 kB / 405.7 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.549e-05/0.7694, allocations: 15.98 kB / 405.7 MB, free: 5.465 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 (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.0001248/0.7696, allocations: 112.9 kB / 405.8 MB, free: 5.348 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.735e-05/0.7696, allocations: 7.906 kB / 405.8 MB, free: 5.34 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.7717, allocations: 345.6 kB / 406.2 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.7717, allocations: 4 kB / 406.2 MB, free: 4.992 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.7717, allocations: 3.953 kB / 406.2 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.7718, allocations: 4 kB / 406.2 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/0.775, allocations: 0.7335 MB / 406.9 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.775, allocations: 0 / 406.9 MB, free: 4.191 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/0.7756, allocations: 95.92 kB / 407 MB, free: 4.098 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/0.7757, allocations: 4 kB / 407 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.7757, allocations: 11.98 kB / 407 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.403e-06/0.7757, allocations: 0 / 407 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.7757, allocations: 0 / 407 MB, free: 4.082 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.777, allocations: 374.4 kB / 407.4 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.7771, allocations: 85.02 kB / 407.5 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.7772, allocations: 4 kB / 407.5 MB, free: 3.582 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/0.7776, allocations: 39.97 kB / 407.5 MB, free: 3.543 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.912e-05/0.7776, allocations: 19.92 kB / 407.6 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.7777, allocations: 12 kB / 407.6 MB, free: 3.512 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.737e-05/0.7777, allocations: 83.27 kB / 407.6 MB, free: 3.43 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.7777, allocations: 0 / 407.6 MB, free: 3.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002884/0.7806, allocations: 0.6012 MB / 408.2 MB, free: 2.828 MB / 330.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.006516/0.7872, allocations: 1.253 MB / 409.5 MB, free: 1.531 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006605/0.7879, allocations: 167.9 kB / 409.7 MB, free: 1.367 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.7879, allocations: 4 kB / 409.7 MB, free: 1.363 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002455/0.7882, allocations: 87.84 kB / 409.8 MB, free: 1.277 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003673/0.7886, allocations: 11.94 kB / 409.8 MB, free: 1.266 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.7916, allocations: 408.3 kB / 410.2 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.792, allocations: 0.7017 MB / 410.9 MB, free: 100 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005281/0.7925, allocations: 73.2 kB / 410.9 MB, free: 24 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003926/0.7929, allocations: 55.45 kB / 411 MB, free: 15.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.914e-06/0.793, allocations: 0 / 411 MB, free: 15.96 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07957/0.8725, allocations: 18.07 MB / 429.1 MB, free: 13.96 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002991/0.8729, allocations: 166.8 kB / 429.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.911/3.784, allocations: 4.062 kB / 429.2 MB, free: 13.73 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative_res.mat does not exist to compare? outputFormat=mat