Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.576/2.576, allocations: 270 MB / 283.6 MB, free: 1.938 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.46e-05/4.471e-05, allocations: 4 kB / 348.5 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.426, allocations: 61.88 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.5861, allocations: 85.34 MB / 495.7 MB, free: 5.16 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/0.5865, allocations: 67.95 kB / 495.8 MB, free: 5.094 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008582/0.5951, allocations: 1.779 MB / 497.5 MB, free: 3.312 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5951, allocations: 0 / 497.5 MB, free: 3.312 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.5951, allocations: 4 kB / 497.5 MB, free: 3.309 MB / 410.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.0004598/0.5956, allocations: 362.3 kB / 497.9 MB, free: 2.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.5957, allocations: 8.031 kB / 497.9 MB, free: 2.902 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.511e-05/0.5957, allocations: 42.55 kB / 498 MB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.84e-05/0.5958, allocations: 0 / 498 MB, free: 2.852 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.5959, allocations: 170.9 kB / 498.1 MB, free: 2.645 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.596, allocations: 4 kB / 498.1 MB, free: 2.641 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.758e-05/0.596, allocations: 4 kB / 498.1 MB, free: 2.637 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.5962, allocations: 53.62 kB / 498.2 MB, free: 2.578 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.5962, allocations: 7.984 kB / 498.2 MB, free: 2.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/0.5962, allocations: 4 kB / 498.2 MB, free: 2.566 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.5962, allocations: 0 / 498.2 MB, free: 2.566 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.5963, allocations: 23.98 kB / 498.2 MB, free: 2.543 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002561/0.5966, allocations: 173.6 kB / 498.4 MB, free: 2.324 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003091/0.5969, allocations: 58.56 kB / 498.4 MB, free: 2.258 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.995e-05/0.597, allocations: 25.08 kB / 498.5 MB, free: 2.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003616/0.5974, allocations: 121 kB / 498.6 MB, free: 2.094 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.5974, allocations: 34.56 kB / 498.6 MB, free: 2.051 MB / 410.7 MB Notification: Performance of pre-optimization done (n=9): time 2.185e-06/0.5975, allocations: 4 kB / 498.6 MB, free: 2.047 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.06887/0.6663, allocations: 2.045 MB / 0.4889 GB, free: 15.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.6664, allocations: 55.41 kB / 0.489 GB, free: 15.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.638e-05/0.6665, allocations: 101 kB / 0.4891 GB, free: 15.79 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.852e-05/0.6666, allocations: 25.7 kB / 0.4891 GB, free: 15.76 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.18e-05/0.6666, allocations: 84.33 kB / 0.4892 GB, free: 15.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.6668, allocations: 70.98 kB / 0.4893 GB, free: 15.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.962e-05/0.6668, allocations: 3.938 kB / 0.4893 GB, free: 15.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.6669, allocations: 318.8 kB / 0.4896 GB, free: 15.28 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003858/0.6673, allocations: 140 kB / 0.4897 GB, free: 15.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.6677, allocations: 149.8 kB / 0.4898 GB, free: 15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005768/0.6683, allocations: 164.6 kB / 0.49 GB, free: 14.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/0.6684, allocations: 0 / 0.49 GB, free: 14.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0012/0.6696, allocations: 394.2 kB / 0.4904 GB, free: 14.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.6696, allocations: 4 kB / 0.4904 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.6696, allocations: 0 / 0.4904 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.6696, allocations: 0 / 0.4904 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007266/0.6704, allocations: 83.94 kB / 0.4905 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.6704, allocations: 0 / 0.4905 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003996/0.6708, allocations: 23.97 kB / 0.4905 GB, free: 14.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/0.6709, allocations: 19.98 kB / 0.4905 GB, free: 14.32 MB / 426.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.0001479/0.6711, allocations: 116.9 kB / 0.4906 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.419e-05/0.6711, allocations: 11.91 kB / 0.4906 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001629/0.6728, allocations: 477.1 kB / 0.4911 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.6728, allocations: 0 / 0.4911 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.6728, allocations: 7.984 kB / 0.4911 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.6728, allocations: 3.938 kB / 0.4911 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003022/0.6759, allocations: 0.8389 MB / 0.4919 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.6759, allocations: 0 / 0.4919 GB, free: 12.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/0.6765, allocations: 84.06 kB / 0.492 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.314e-05/0.6765, allocations: 4 kB / 0.492 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.781e-05/0.6766, allocations: 12 kB / 0.492 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/0.6766, allocations: 11.94 kB / 0.492 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6766, allocations: 0 / 0.492 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.6776, allocations: 467.7 kB / 0.4925 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.6777, allocations: 85.02 kB / 0.4925 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.216e-05/0.6777, allocations: 4 kB / 0.4925 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003677/0.6781, allocations: 27.97 kB / 0.4926 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.6782, allocations: 19.94 kB / 0.4926 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/0.6782, allocations: 23.98 kB / 0.4926 GB, free: 11.97 MB / 426.7 MB Notification: Performance of sorting global known variables: time 6.009e-05/0.6783, allocations: 83.53 kB / 0.4927 GB, free: 11.89 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6783, allocations: 0 / 0.4927 GB, free: 11.89 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001384/0.6797, allocations: 339.7 kB / 0.493 GB, free: 11.55 MB / 426.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.003556/0.6833, allocations: 1.573 MB / 0.4946 GB, free: 9.914 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009006/0.6842, allocations: 274.8 kB / 0.4948 GB, free: 9.648 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6842, allocations: 0 / 0.4948 GB, free: 9.648 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003587/0.6846, allocations: 111.9 kB / 0.4949 GB, free: 9.539 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.6849, allocations: 16.25 kB / 0.4949 GB, free: 9.523 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002889/0.6878, allocations: 487.8 kB / 0.4954 GB, free: 8.992 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.6881, allocations: 0.7007 MB / 0.4961 GB, free: 8.262 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006726/0.6888, allocations: 88.89 kB / 0.4962 GB, free: 8.168 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003371/0.6892, allocations: 59.39 kB / 0.4962 GB, free: 8.109 MB / 426.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6892, allocations: 0 / 0.4962 GB, free: 8.109 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03726/0.7264, allocations: 8.827 MB / 0.5048 GB, free: 15.66 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004695/0.727, allocations: 168.4 kB / 0.505 GB, free: 15.44 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.574/3.301, allocations: 4 kB / 0.505 GB, free: 15.43 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat does not exist to compare? outputFormat=mat