Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.051/2.051, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.459e-05/2.455e-05, allocations: 4 kB / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 48.7 MB / 316.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.433/0.5363, allocations: 72.78 MB / 389.1 MB, free: 3.633 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/0.5366, allocations: 74.42 kB / 389.2 MB, free: 3.594 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01419/0.5508, allocations: 2.926 MB / 392.1 MB, free: 1.18 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5509, allocations: 0 / 392.1 MB, free: 1.18 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.5509, allocations: 0 / 392.1 MB, free: 1.18 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004193/0.5514, allocations: 365.8 kB / 392.5 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.5514, allocations: 8.031 kB / 392.5 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.121e-05/0.5515, allocations: 11.89 kB / 392.5 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.5516, allocations: 166.5 kB / 392.6 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.444e-05/0.5516, allocations: 4 kB / 392.7 MB, free: 0.5586 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.5517, allocations: 4 kB / 392.7 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001079/0.5518, allocations: 27.38 kB / 392.7 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.5519, allocations: 53.05 kB / 392.7 MB, free: 488 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.552, allocations: 0 / 392.7 MB, free: 488 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.552, allocations: 3.938 kB / 392.7 MB, free: 484 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.552, allocations: 0 / 392.7 MB, free: 484 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001899/0.5522, allocations: 156.8 kB / 392.9 MB, free: 296 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002642/0.5525, allocations: 49.56 kB / 392.9 MB, free: 244 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.16e-05/0.5525, allocations: 26.45 kB / 393 MB, free: 220 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003469/0.5529, allocations: 116.4 kB / 393.1 MB, free: 88 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.5529, allocations: 30.56 kB / 393.1 MB, free: 48 kB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.553, allocations: 0 / 393.1 MB, free: 48 kB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.2356/0.7886, allocations: 5.324 MB / 398.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.3e-05/0.7887, allocations: 51.41 kB / 398.5 MB, free: 10.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.858e-05/0.7888, allocations: 96.56 kB / 398.6 MB, free: 10.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.401e-05/0.7889, allocations: 29.7 kB / 398.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.576e-05/0.7889, allocations: 84.14 kB / 398.7 MB, free: 10.62 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.789, allocations: 64.59 kB / 398.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/0.7891, allocations: 0 / 398.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7892, allocations: 314.3 kB / 399.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003944/0.7897, allocations: 176.3 kB / 399.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.7901, allocations: 162.2 kB / 399.4 MB, free: 10.07 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001854/0.7919, allocations: 265.4 kB / 399.7 MB, free: 9.883 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.792, allocations: 0 / 399.7 MB, free: 9.883 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002529/0.7945, allocations: 0.5213 MB / 400.2 MB, free: 9.504 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.7946, allocations: 8 kB / 400.2 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.7946, allocations: 0 / 400.2 MB, free: 9.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.7947, allocations: 4 kB / 400.2 MB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009781/0.7957, allocations: 87.89 kB / 400.3 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.258e-06/0.7957, allocations: 0 / 400.3 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005765/0.7963, allocations: 23.98 kB / 400.3 MB, free: 9.383 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.475e-05/0.7964, allocations: 27.95 kB / 400.3 MB, free: 9.355 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 (19): * Single equations (assignments): 19 * 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.0001843/0.7966, allocations: 108.9 kB / 400.4 MB, free: 9.242 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002616/0.7992, allocations: 0.5151 MB / 400.9 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.7993, allocations: 7.906 kB / 400.9 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002979/0.8023, allocations: 0.6109 MB / 401.6 MB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/0.8024, allocations: 4 kB / 401.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.8024, allocations: 0 / 401.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.8024, allocations: 0 / 401.6 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005108/0.8075, allocations: 0.9959 MB / 402.6 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.8076, allocations: 4 kB / 402.6 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007755/0.8084, allocations: 83.91 kB / 402.6 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/0.8084, allocations: 4.172 kB / 402.6 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.794e-05/0.8085, allocations: 15.98 kB / 402.7 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.8085, allocations: 11.89 kB / 402.7 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.217e-05/0.8085, allocations: 16.05 kB / 402.7 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002375/0.8109, allocations: 0.5606 MB / 403.3 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.811, allocations: 85.02 kB / 403.3 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.322e-05/0.8111, allocations: 4 kB / 403.3 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005396/0.8117, allocations: 27.97 kB / 403.4 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.8117, allocations: 23.25 kB / 403.4 MB, free: 6.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.791e-05/0.8118, allocations: 24.22 kB / 403.4 MB, free: 6.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.443e-05/0.8119, allocations: 82.66 kB / 403.5 MB, free: 6.492 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8119, allocations: 4 kB / 403.5 MB, free: 6.488 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002523/0.8144, allocations: 0.6129 MB / 404.1 MB, free: 5.875 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.007893/0.8224, allocations: 1.749 MB / 405.9 MB, free: 4.137 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000952/0.8234, allocations: 324.7 kB / 406.2 MB, free: 3.938 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.8234, allocations: 0 / 406.2 MB, free: 3.938 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.8238, allocations: 142.9 kB / 406.3 MB, free: 3.832 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.8241, allocations: 4 kB / 406.3 MB, free: 3.828 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004207/0.8283, allocations: 0.5173 MB / 406.8 MB, free: 3.293 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.8287, allocations: 0.6965 MB / 407.5 MB, free: 2.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006805/0.8294, allocations: 100.8 kB / 407.6 MB, free: 2.465 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004483/0.8299, allocations: 78.22 kB / 407.7 MB, free: 2.398 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.8299, allocations: 0 / 407.7 MB, free: 2.398 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08211/0.912, allocations: 19.46 MB / 427.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002908/0.9124, allocations: 153.9 kB / 427.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.912/3.825, allocations: 4 kB / 427.3 MB, free: 14.71 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat