Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.883/1.883, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.052e-05/4.067e-05, allocations: 5.547 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.406/0.5117, allocations: 73.07 MB / 394.9 MB, free: 480 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.5121, allocations: 63.95 kB / 395 MB, free: 416 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008585/0.5207, allocations: 1.767 MB / 396.8 MB, free: 14.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.5207, allocations: 4 kB / 396.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.5207, allocations: 0 / 396.8 MB, free: 14.64 MB / 330.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.0004975/0.5213, allocations: 358.4 kB / 397.1 MB, free: 14.25 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.5213, allocations: 12.03 kB / 397.1 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.03e-05/0.5214, allocations: 34.55 kB / 397.2 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.687e-05/0.5214, allocations: 11.86 kB / 397.2 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.5216, allocations: 169.9 kB / 397.3 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.5216, allocations: 8 kB / 397.3 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.5217, allocations: 4 kB / 397.3 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.5218, allocations: 53.69 kB / 397.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.5219, allocations: 0 / 397.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.5219, allocations: 0 / 397.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.5219, allocations: 0 / 397.4 MB, free: 13.91 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.522, allocations: 35.92 kB / 397.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002295/0.5222, allocations: 173.5 kB / 397.6 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002915/0.5226, allocations: 58.56 kB / 397.7 MB, free: 13.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.435e-05/0.5227, allocations: 24.8 kB / 397.7 MB, free: 13.56 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003512/0.523, allocations: 113.3 kB / 397.8 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.186e-05/0.5231, allocations: 38.5 kB / 397.8 MB, free: 13.39 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 4.719e-06/0.5231, allocations: 4 kB / 397.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.07096/0.5941, allocations: 2.041 MB / 399.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.5942, allocations: 63.39 kB / 399.9 MB, free: 11.23 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.5943, allocations: 93.88 kB / 400 MB, free: 11.13 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.191e-05/0.5944, allocations: 29.89 kB / 400.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.297e-05/0.5944, allocations: 84.14 kB / 400.1 MB, free: 11.01 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.5945, allocations: 63.05 kB / 400.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.758e-05/0.5946, allocations: 0 / 400.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.5947, allocations: 322.8 kB / 400.5 MB, free: 10.62 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003992/0.5951, allocations: 144 kB / 400.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003985/0.5955, allocations: 139.1 kB / 400.8 MB, free: 10.35 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005879/0.5961, allocations: 175.8 kB / 401 MB, free: 10.18 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5962, allocations: 0 / 401 MB, free: 10.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001219/0.5974, allocations: 389.4 kB / 401.3 MB, free: 9.793 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.5974, allocations: 8 kB / 401.4 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.5974, allocations: 0 / 401.4 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.5975, allocations: 0 / 401.4 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007264/0.5982, allocations: 76.19 kB / 401.4 MB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.5982, allocations: 7.938 kB / 401.4 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004339/0.5987, allocations: 35.92 kB / 401.5 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-05/0.5988, allocations: 15.98 kB / 401.5 MB, free: 9.652 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.0001578/0.5989, allocations: 113 kB / 401.6 MB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.599, allocations: 7.906 kB / 401.6 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00169/0.6007, allocations: 480 kB / 402.1 MB, free: 9.055 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/0.6008, allocations: 4 kB / 402.1 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.6008, allocations: 0 / 402.1 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.345e-06/0.6008, allocations: 3.984 kB / 402.1 MB, free: 9.047 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/0.604, allocations: 0.8588 MB / 402.9 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.6041, allocations: 0 / 402.9 MB, free: 8.113 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000859/0.605, allocations: 80.06 kB / 403 MB, free: 8.035 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.586e-05/0.605, allocations: 4 kB / 403 MB, free: 8.031 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-05/0.6051, allocations: 16 kB / 403 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.015e-05/0.6052, allocations: 4 kB / 403 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.6052, allocations: 0 / 403 MB, free: 8.012 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.6065, allocations: 470.6 kB / 403.5 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-05/0.6066, allocations: 85.02 kB / 403.6 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.898e-05/0.6067, allocations: 11.95 kB / 403.6 MB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004374/0.6072, allocations: 27.97 kB / 403.6 MB, free: 7.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.6072, allocations: 15.98 kB / 403.6 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.551e-05/0.6073, allocations: 16 kB / 403.7 MB, free: 7.309 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.991e-05/0.6074, allocations: 87.27 kB / 403.7 MB, free: 7.223 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6074, allocations: 3.938 kB / 403.7 MB, free: 7.219 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001369/0.6088, allocations: 339.7 kB / 404.1 MB, free: 6.887 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.003781/0.6126, allocations: 1.585 MB / 405.7 MB, free: 5.234 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.6137, allocations: 263.9 kB / 405.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6137, allocations: 0 / 405.9 MB, free: 4.977 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003641/0.6141, allocations: 124 kB / 406 MB, free: 4.855 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002527/0.6144, allocations: 8.312 kB / 406 MB, free: 4.848 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/0.6172, allocations: 491.6 kB / 406.5 MB, free: 4.309 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.6175, allocations: 0.6968 MB / 407.2 MB, free: 3.582 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006441/0.6182, allocations: 97.06 kB / 407.3 MB, free: 3.484 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003709/0.6185, allocations: 59.39 kB / 407.4 MB, free: 3.426 MB / 330.7 MB Notification: Performance of SimCode: time 1.703e-06/0.6186, allocations: 0 / 407.4 MB, free: 3.426 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03839/0.657, allocations: 8.594 MB / 416 MB, free: 10.93 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002923/0.6573, allocations: 173.1 kB / 416.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.49/3.148, allocations: 4 kB / 416.1 MB, free: 10.7 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat does not exist to compare? outputFormat=mat