Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.367/2.367, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/3.998e-05, allocations: 7.938 kB / 299.5 MB, free: 6.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4103/0.4103, allocations: 54.85 MB / 354.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.566, allocations: 78.94 MB / 433.3 MB, free: 3.254 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.5664, allocations: 63.97 kB / 433.3 MB, free: 3.191 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01563/0.582, allocations: 2.942 MB / 436.3 MB, free: 256 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.5821, allocations: 0 / 436.3 MB, free: 256 kB / 362.7 MB Notification: Performance of Transformations before backend: time 8.015e-06/0.5821, allocations: 0 / 436.3 MB, free: 256 kB / 362.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.0004952/0.5826, allocations: 374.2 kB / 436.7 MB, free: 15.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/0.5827, allocations: 8.031 kB / 436.7 MB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.639e-05/0.5827, allocations: 8 kB / 436.7 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.5829, allocations: 167 kB / 436.8 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.5829, allocations: 4 kB / 436.8 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.583, allocations: 0 / 436.8 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000123/0.5831, allocations: 27.92 kB / 436.9 MB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001117/0.5832, allocations: 49.64 kB / 436.9 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.5833, allocations: 4 kB / 436.9 MB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.5833, allocations: 0 / 436.9 MB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.5833, allocations: 0 / 436.9 MB, free: 15.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.5835, allocations: 150.2 kB / 437.1 MB, free: 15.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.5838, allocations: 54.59 kB / 437.1 MB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.849e-05/0.5839, allocations: 24.86 kB / 437.1 MB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003838/0.5843, allocations: 109.1 kB / 437.2 MB, free: 15.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.5844, allocations: 38.56 kB / 437.3 MB, free: 15.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 1.833e-06/0.5844, allocations: 0 / 437.3 MB, free: 15.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.236/0.8203, allocations: 5.32 MB / 442.6 MB, free: 9.73 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.8204, allocations: 55.41 kB / 442.7 MB, free: 9.664 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.102e-05/0.8205, allocations: 92.95 kB / 442.7 MB, free: 9.566 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/0.8206, allocations: 25.7 kB / 442.8 MB, free: 9.535 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/0.8207, allocations: 92.12 kB / 442.9 MB, free: 9.441 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.8208, allocations: 59.02 kB / 442.9 MB, free: 9.383 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-05/0.8209, allocations: 4 kB / 442.9 MB, free: 9.379 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.821, allocations: 318.8 kB / 443.2 MB, free: 9.059 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.8214, allocations: 167.9 kB / 443.4 MB, free: 8.895 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.8218, allocations: 164.7 kB / 443.6 MB, free: 8.734 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00185/0.8237, allocations: 274.7 kB / 443.8 MB, free: 8.469 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.8238, allocations: 0 / 443.8 MB, free: 8.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002535/0.8263, allocations: 0.5129 MB / 444.3 MB, free: 7.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.8264, allocations: 4 kB / 444.3 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.8264, allocations: 0 / 444.3 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.8264, allocations: 0 / 444.3 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009278/0.8274, allocations: 100 kB / 444.4 MB, free: 7.848 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.8274, allocations: 4.188 kB / 444.4 MB, free: 7.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000577/0.828, allocations: 27.97 kB / 444.5 MB, free: 7.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.552e-05/0.8281, allocations: 23.91 kB / 444.5 MB, free: 7.793 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 (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.0001708/0.8283, allocations: 109 kB / 444.6 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002627/0.8309, allocations: 0.5168 MB / 445.1 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.392e-05/0.831, allocations: 11.91 kB / 445.1 MB, free: 7.145 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003088/0.8341, allocations: 0.6022 MB / 445.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/0.8342, allocations: 0 / 445.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.8342, allocations: 8 kB / 445.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.8342, allocations: 0 / 445.7 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005179/0.8394, allocations: 0.9936 MB / 446.7 MB, free: 5.465 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.8395, allocations: 4 kB / 446.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008064/0.8403, allocations: 87.91 kB / 446.8 MB, free: 5.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.324e-05/0.8404, allocations: 4.188 kB / 446.8 MB, free: 5.371 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-05/0.8404, allocations: 23.91 kB / 446.9 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.096e-05/0.8404, allocations: 4 kB / 446.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/0.8405, allocations: 0 / 446.9 MB, free: 5.344 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002481/0.843, allocations: 0.5654 MB / 447.4 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.84e-05/0.8431, allocations: 85.02 kB / 447.5 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.824e-05/0.8432, allocations: 11.95 kB / 447.5 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005632/0.8438, allocations: 23.97 kB / 447.5 MB, free: 4.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.8438, allocations: 15.98 kB / 447.6 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.348e-05/0.8439, allocations: 19.97 kB / 447.6 MB, free: 4.535 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.487e-05/0.844, allocations: 87.28 kB / 447.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.844, allocations: 0 / 447.7 MB, free: 4.449 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002622/0.8466, allocations: 0.6208 MB / 448.3 MB, free: 3.828 MB / 378.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.008384/0.8551, allocations: 1.754 MB / 450 MB, free: 2.008 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009974/0.8561, allocations: 315.9 kB / 450.3 MB, free: 1.699 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.8562, allocations: 0 / 450.3 MB, free: 1.699 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003954/0.8566, allocations: 139.8 kB / 450.5 MB, free: 1.562 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.8569, allocations: 7.969 kB / 450.5 MB, free: 1.559 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004178/0.8611, allocations: 0.5112 MB / 451 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.8614, allocations: 0.7043 MB / 451.7 MB, free: 268 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007069/0.8621, allocations: 104.9 kB / 451.8 MB, free: 160 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004545/0.8626, allocations: 75.34 kB / 451.9 MB, free: 84 kB / 378.7 MB Notification: Performance of SimCode: time 1.423e-06/0.8626, allocations: 7.938 kB / 451.9 MB, free: 76 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09549/0.9581, allocations: 19.45 MB / 471.3 MB, free: 12.58 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/0.9585, allocations: 162.6 kB / 471.5 MB, free: 12.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.757/3.716, allocations: 0 / 471.5 MB, free: 12.38 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives_res.mat does not exist to compare? outputFormat=mat