Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.362/2.362, allocations: 235.1 MB / 242.2 MB, free: 15.85 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.495e-05/2.499e-05, allocations: 0 / 299.5 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5139/0.5139, allocations: 54.85 MB / 354.3 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.179/0.693, allocations: 78.78 MB / 433.1 MB, free: 3.547 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00034/0.6934, allocations: 71.91 kB / 433.2 MB, free: 3.477 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009953/0.7033, allocations: 1.78 MB / 435 MB, free: 1.699 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.7034, allocations: 3.938 kB / 435 MB, free: 1.695 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.7034, allocations: 0 / 435 MB, free: 1.695 MB / 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.000505/0.7039, allocations: 358.3 kB / 435.3 MB, free: 1.301 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.576e-05/0.704, allocations: 20.02 kB / 435.3 MB, free: 1.281 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.7041, allocations: 0 / 435.3 MB, free: 1.281 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001986/0.7043, allocations: 167 kB / 435.5 MB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.7043, allocations: 0 / 435.5 MB, free: 1.078 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.7044, allocations: 4 kB / 435.5 MB, free: 1.074 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001424/0.7045, allocations: 27.92 kB / 435.5 MB, free: 1.047 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.7047, allocations: 53.58 kB / 435.6 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.7047, allocations: 0 / 435.6 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.7048, allocations: 0 / 435.6 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.7048, allocations: 0 / 435.6 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.7051, allocations: 154.2 kB / 435.7 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.7055, allocations: 50.56 kB / 435.8 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.199e-05/0.7056, allocations: 20.86 kB / 435.8 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004196/0.706, allocations: 105.1 kB / 435.9 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.7061, allocations: 38.78 kB / 435.9 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.585e-06/0.7061, allocations: 0 / 435.9 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.08732/0.7934, allocations: 2.096 MB / 438 MB, free: 14.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.7935, allocations: 51.41 kB / 438.1 MB, free: 14.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.7937, allocations: 108.9 kB / 438.2 MB, free: 14.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.481e-05/0.7937, allocations: 25.7 kB / 438.2 MB, free: 14.21 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.489e-05/0.7938, allocations: 84.14 kB / 438.3 MB, free: 14.13 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.794, allocations: 59.02 kB / 438.4 MB, free: 14.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.7941, allocations: 0 / 438.4 MB, free: 14.07 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.7942, allocations: 322.8 kB / 438.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.7947, allocations: 140 kB / 438.8 MB, free: 13.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004712/0.7952, allocations: 136.9 kB / 438.9 MB, free: 13.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001237/0.7965, allocations: 191 kB / 439.1 MB, free: 13.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.7965, allocations: 0 / 439.1 MB, free: 13.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002133/0.7987, allocations: 421.3 kB / 439.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.83e-05/0.7987, allocations: 4 kB / 439.5 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.7987, allocations: 0 / 439.5 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.7988, allocations: 3.938 kB / 439.6 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009311/0.7997, allocations: 83.89 kB / 439.6 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.7997, allocations: 0 / 439.6 MB, free: 12.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.8002, allocations: 23.97 kB / 439.7 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.582e-05/0.8003, allocations: 16 kB / 439.7 MB, free: 12.75 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.0001992/0.8006, allocations: 112.9 kB / 439.8 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001998/0.8026, allocations: 409.4 kB / 440.2 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.731e-05/0.8027, allocations: 7.906 kB / 440.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.8052, allocations: 0.4934 MB / 440.7 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/0.8053, allocations: 4 kB / 440.7 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.8053, allocations: 0 / 440.7 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.8053, allocations: 0 / 440.7 MB, free: 11.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004281/0.8096, allocations: 0.8436 MB / 441.5 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.8097, allocations: 4.188 kB / 441.5 MB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007096/0.8104, allocations: 75.88 kB / 441.6 MB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.37e-05/0.8105, allocations: 7.938 kB / 441.6 MB, free: 10.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.221e-05/0.8105, allocations: 11.98 kB / 441.6 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.018e-05/0.8106, allocations: 4.188 kB / 441.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/0.8106, allocations: 4 kB / 441.6 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.8123, allocations: 486.6 kB / 442.1 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.029e-05/0.8124, allocations: 85.02 kB / 442.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.077e-05/0.8125, allocations: 3.953 kB / 442.2 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005872/0.8131, allocations: 32.22 kB / 442.2 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.8132, allocations: 15.92 kB / 442.2 MB, free: 10 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-05/0.8133, allocations: 20 kB / 442.3 MB, free: 9.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.674e-05/0.8134, allocations: 83.27 kB / 442.3 MB, free: 9.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.8134, allocations: 0 / 442.3 MB, free: 9.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001874/0.8153, allocations: 339.7 kB / 442.7 MB, free: 9.566 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.005312/0.8206, allocations: 1.586 MB / 444.3 MB, free: 7.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.8218, allocations: 267.2 kB / 444.5 MB, free: 7.652 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.657e-06/0.8218, allocations: 7.938 kB / 444.5 MB, free: 7.645 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.8222, allocations: 107.9 kB / 444.6 MB, free: 7.539 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003483/0.8226, allocations: 7.984 kB / 444.6 MB, free: 7.531 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003439/0.826, allocations: 476.4 kB / 445.1 MB, free: 7.012 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.8264, allocations: 0.6965 MB / 445.8 MB, free: 6.289 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008868/0.8273, allocations: 96.88 kB / 445.9 MB, free: 6.191 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004719/0.8278, allocations: 55.41 kB / 446 MB, free: 6.137 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.8279, allocations: 4 kB / 446 MB, free: 6.133 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08741/0.9153, allocations: 8.376 MB / 454.3 MB, free: 13.75 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003339/0.9157, allocations: 160.4 kB / 454.5 MB, free: 13.55 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.546/3.462, allocations: 0 / 454.5 MB, free: 13.55 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat does not exist to compare? outputFormat=mat