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 1.986/1.986, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.792e-05/3.799e-05, allocations: 7.375 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1041, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4109/0.515, allocations: 73.32 MB / 395.2 MB, free: 212 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.5154, allocations: 59.97 kB / 395.3 MB, free: 152 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0155/0.5309, allocations: 3.084 MB / 398.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5309, allocations: 0 / 398.4 MB, free: 13.07 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.349e-05/0.531, allocations: 0 / 398.4 MB, free: 13.07 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.0004534/0.5314, allocations: 354.4 kB / 398.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.5315, allocations: 12.03 kB / 398.7 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.827e-05/0.5316, allocations: 38.55 kB / 398.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.5316, allocations: 15.86 kB / 398.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.5317, allocations: 167 kB / 398.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.5318, allocations: 8 kB / 398.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.21e-05/0.5318, allocations: 8 kB / 398.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001639/0.532, allocations: 61.67 kB / 399 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.532, allocations: 4 kB / 399 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.532, allocations: 0 / 399 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5321, allocations: 0 / 399 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.5322, allocations: 43.97 kB / 399.1 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000223/0.5324, allocations: 182.4 kB / 399.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001995/0.5326, allocations: 82.48 kB / 399.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.305e-05/0.5327, allocations: 28.86 kB / 399.3 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003358/0.5331, allocations: 109.1 kB / 399.4 MB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.5331, allocations: 42.48 kB / 399.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.884e-06/0.5331, allocations: 0 / 399.5 MB, free: 11.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=23): time 0.2423/0.7754, allocations: 4.966 MB / 404.5 MB, free: 6.746 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.7755, allocations: 55.41 kB / 404.5 MB, free: 6.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.533e-05/0.7756, allocations: 89 kB / 404.6 MB, free: 6.586 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.252e-05/0.7757, allocations: 29.7 kB / 404.6 MB, free: 6.551 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.048e-05/0.7757, allocations: 80.52 kB / 404.7 MB, free: 6.465 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.7759, allocations: 78.91 kB / 404.8 MB, free: 6.387 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.05e-05/0.7759, allocations: 0 / 404.8 MB, free: 6.387 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.7761, allocations: 314.8 kB / 405.1 MB, free: 6.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002435/0.7763, allocations: 75.97 kB / 405.2 MB, free: 5.996 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/0.7766, allocations: 67.98 kB / 405.2 MB, free: 5.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009119/0.7775, allocations: 111.2 kB / 405.3 MB, free: 5.824 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.7775, allocations: 4.125 kB / 405.3 MB, free: 5.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00145/0.779, allocations: 269.2 kB / 405.6 MB, free: 5.551 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.779, allocations: 6.969 kB / 405.6 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.779, allocations: 0 / 405.6 MB, free: 5.547 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/0.7791, allocations: 3.953 kB / 405.6 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007421/0.7798, allocations: 95.86 kB / 405.7 MB, free: 5.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.7799, allocations: 3.984 kB / 405.7 MB, free: 5.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003975/0.7803, allocations: 35.97 kB / 405.7 MB, free: 5.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.253e-05/0.7803, allocations: 15.98 kB / 405.8 MB, free: 5.395 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.0001398/0.7805, allocations: 116.9 kB / 405.9 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.625e-05/0.7805, allocations: 7.906 kB / 405.9 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001759/0.7823, allocations: 337.7 kB / 406.2 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.7823, allocations: 7.938 kB / 406.2 MB, free: 4.922 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.7824, allocations: 3.953 kB / 406.2 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.235e-06/0.7824, allocations: 3.984 kB / 406.2 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003192/0.7856, allocations: 0.7368 MB / 407 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.952e-06/0.7856, allocations: 0 / 407 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006303/0.7863, allocations: 91.92 kB / 407.1 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.346e-06/0.7863, allocations: 0 / 407.1 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/0.7864, allocations: 15.98 kB / 407.1 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.514e-06/0.7864, allocations: 4 kB / 407.1 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.7864, allocations: 0 / 407.1 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001302/0.7877, allocations: 367.6 kB / 407.4 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.278e-05/0.7878, allocations: 85.02 kB / 407.5 MB, free: 3.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.684e-05/0.7878, allocations: 4 kB / 407.5 MB, free: 3.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003727/0.7882, allocations: 43.95 kB / 407.6 MB, free: 3.473 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.7883, allocations: 15.94 kB / 407.6 MB, free: 3.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/0.7883, allocations: 19.98 kB / 407.6 MB, free: 3.438 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.734e-05/0.7884, allocations: 75.28 kB / 407.7 MB, free: 3.363 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.7884, allocations: 0 / 407.7 MB, free: 3.363 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002369/0.7908, allocations: 0.6091 MB / 408.3 MB, free: 2.754 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.006515/0.7973, allocations: 1.253 MB / 409.5 MB, free: 1.457 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006495/0.7981, allocations: 159.9 kB / 409.7 MB, free: 1.301 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/0.7981, allocations: 4 kB / 409.7 MB, free: 1.297 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000277/0.7984, allocations: 87.84 kB / 409.8 MB, free: 1.211 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002158/0.7986, allocations: 4 kB / 409.8 MB, free: 1.207 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002687/0.8013, allocations: 401.1 kB / 410.2 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.8017, allocations: 0.7017 MB / 410.9 MB, free: 44 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005836/0.8023, allocations: 77.25 kB / 411 MB, free: 15.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.8025, allocations: 59.39 kB / 411 MB, free: 15.9 MB / 346.7 MB Notification: Performance of SimCode: time 1.222e-06/0.8026, allocations: 0 / 411 MB, free: 15.9 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06081/0.8634, allocations: 18.42 MB / 429.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003282/0.8638, allocations: 169.5 kB / 429.6 MB, free: 13.31 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.701/3.565, allocations: 0 / 429.6 MB, free: 13.31 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