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.436/2.436, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.037e-05/4.053e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.456/0.4561, allocations: 54.84 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1832/0.6395, allocations: 79.45 MB / 439.3 MB, free: 1.371 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003863/0.6399, allocations: 66.25 kB / 439.4 MB, free: 1.309 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0139/0.6538, allocations: 1.775 MB / 441.1 MB, free: 15.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.6539, allocations: 0 / 441.1 MB, free: 15.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.654, allocations: 0 / 441.1 MB, free: 15.55 MB / 378.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.000646/0.6546, allocations: 362.4 kB / 441.5 MB, free: 15.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.78e-05/0.6547, allocations: 12.03 kB / 441.5 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.731e-05/0.6548, allocations: 30.56 kB / 441.5 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.6548, allocations: 7.906 kB / 441.5 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001848/0.655, allocations: 165.6 kB / 441.7 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.576e-05/0.6551, allocations: 11.94 kB / 441.7 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.6551, allocations: 0 / 441.7 MB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.6554, allocations: 67.11 kB / 441.8 MB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.6555, allocations: 0 / 441.8 MB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.6555, allocations: 0 / 441.8 MB, free: 14.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.6555, allocations: 4 kB / 441.8 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001528/0.6557, allocations: 24 kB / 441.8 MB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.6561, allocations: 181.4 kB / 442 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.6565, allocations: 53.84 kB / 442 MB, free: 14.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001243/0.6567, allocations: 28.86 kB / 442.1 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005301/0.6572, allocations: 109.1 kB / 442.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.023e-05/0.6573, allocations: 30.56 kB / 442.2 MB, free: 14.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 5.431e-06/0.6573, allocations: 0 / 442.2 MB, free: 14.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.07446/0.7318, allocations: 2.063 MB / 444.3 MB, free: 12.21 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.7319, allocations: 51.41 kB / 444.3 MB, free: 12.15 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/0.7321, allocations: 93 kB / 444.4 MB, free: 12.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.836e-05/0.7322, allocations: 29.7 kB / 444.4 MB, free: 12.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.347e-05/0.7322, allocations: 84.12 kB / 444.5 MB, free: 11.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.7324, allocations: 67.09 kB / 444.6 MB, free: 11.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.284e-05/0.7324, allocations: 4 kB / 444.6 MB, free: 11.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.7326, allocations: 318.8 kB / 444.9 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004253/0.733, allocations: 140 kB / 445 MB, free: 11.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.7334, allocations: 142.4 kB / 445.2 MB, free: 11.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006606/0.7341, allocations: 163.9 kB / 445.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.7342, allocations: 0 / 445.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001291/0.7355, allocations: 395.6 kB / 445.7 MB, free: 10.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.7355, allocations: 11.94 kB / 445.7 MB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.7356, allocations: 4 kB / 445.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.7356, allocations: 3.984 kB / 445.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007358/0.7363, allocations: 76.12 kB / 445.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.7364, allocations: 0 / 445.8 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004047/0.7368, allocations: 31.92 kB / 445.9 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.528e-05/0.7369, allocations: 15.98 kB / 445.9 MB, free: 10.58 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.00016/0.7371, allocations: 112.9 kB / 446 MB, free: 10.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.855e-05/0.7371, allocations: 15.86 kB / 446 MB, free: 10.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.7389, allocations: 479.2 kB / 446.5 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.427e-06/0.739, allocations: 0 / 446.5 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.739, allocations: 7.953 kB / 446.5 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.739, allocations: 0 / 446.5 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003276/0.7423, allocations: 0.8634 MB / 447.3 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.7424, allocations: 0 / 447.3 MB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006056/0.743, allocations: 75.94 kB / 447.4 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.239e-05/0.743, allocations: 192 / 447.4 MB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/0.7431, allocations: 23.98 kB / 447.4 MB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.428e-06/0.7431, allocations: 7.938 kB / 447.4 MB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.7431, allocations: 0 / 447.4 MB, free: 8.918 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.7443, allocations: 462.6 kB / 447.9 MB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.621e-05/0.7444, allocations: 85.02 kB / 448 MB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.958e-05/0.7445, allocations: 12.8 kB / 448 MB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.7449, allocations: 27.98 kB / 448 MB, free: 8.254 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.745, allocations: 11.98 kB / 448 MB, free: 8.242 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.204e-05/0.745, allocations: 19.98 kB / 448 MB, free: 8.223 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.148e-05/0.7451, allocations: 85.8 kB / 448.1 MB, free: 8.141 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7451, allocations: 4 kB / 448.1 MB, free: 8.137 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001382/0.7465, allocations: 347.7 kB / 448.5 MB, free: 7.797 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.003861/0.7504, allocations: 1.566 MB / 450 MB, free: 6.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009379/0.7514, allocations: 279.8 kB / 450.3 MB, free: 5.891 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.7515, allocations: 4 kB / 450.3 MB, free: 5.887 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003697/0.7519, allocations: 103.9 kB / 450.4 MB, free: 5.785 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002438/0.7521, allocations: 25.45 kB / 450.4 MB, free: 5.766 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003056/0.7552, allocations: 485.4 kB / 450.9 MB, free: 5.238 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.7556, allocations: 0.7084 MB / 451.6 MB, free: 4.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006667/0.7563, allocations: 92.88 kB / 451.7 MB, free: 4.406 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003554/0.7566, allocations: 55.41 kB / 451.8 MB, free: 4.352 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7567, allocations: 0 / 451.8 MB, free: 4.352 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03918/0.7958, allocations: 8.626 MB / 460.4 MB, free: 11.8 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002862/0.7962, allocations: 161.7 kB / 460.6 MB, free: 11.59 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.523/3.319, allocations: 0 / 460.6 MB, free: 11.59 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