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.988/1.988, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.083e-05/5.122e-05, allocations: 11.36 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4078/0.5157, allocations: 73.08 MB / 395 MB, free: 448 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.516, allocations: 63.97 kB / 395 MB, free: 384 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008559/0.5245, allocations: 1.77 MB / 396.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.5246, allocations: 0 / 396.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.565e-06/0.5246, allocations: 0 / 396.8 MB, free: 14.61 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.000475/0.5251, allocations: 358.4 kB / 397.1 MB, free: 14.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.5252, allocations: 8.031 kB / 397.2 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.064e-05/0.5252, allocations: 30.56 kB / 397.2 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.443e-05/0.5253, allocations: 15.8 kB / 397.2 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.5254, allocations: 167.5 kB / 397.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.5255, allocations: 4 kB / 397.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.146e-05/0.5255, allocations: 11.98 kB / 397.4 MB, free: 13.94 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.5257, allocations: 53.62 kB / 397.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.5257, allocations: 0 / 397.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.5257, allocations: 0 / 397.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.5258, allocations: 4 kB / 397.4 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.5259, allocations: 20.5 kB / 397.5 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002474/0.5261, allocations: 189.4 kB / 397.6 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003063/0.5264, allocations: 46.56 kB / 397.7 MB, free: 13.57 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.682e-05/0.5265, allocations: 32.86 kB / 397.7 MB, free: 13.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003584/0.5269, allocations: 109.1 kB / 397.8 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.527, allocations: 32.31 kB / 397.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.174e-06/0.527, allocations: 0 / 397.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.08271/0.6097, allocations: 2.054 MB / 399.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.948e-05/0.6098, allocations: 59.34 kB / 400 MB, free: 11.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.6099, allocations: 94.31 kB / 400.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.747e-05/0.61, allocations: 33.7 kB / 400.1 MB, free: 11.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.6101, allocations: 84.12 kB / 400.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/0.6102, allocations: 63.09 kB / 400.2 MB, free: 10.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.6103, allocations: 4 kB / 400.2 MB, free: 10.92 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.6104, allocations: 326.8 kB / 400.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004069/0.6108, allocations: 140 kB / 400.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004315/0.6113, allocations: 135.9 kB / 400.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006302/0.6119, allocations: 167.9 kB / 401 MB, free: 10.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.612, allocations: 0 / 401 MB, free: 10.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001266/0.6132, allocations: 396.3 kB / 401.4 MB, free: 9.766 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.6133, allocations: 4 kB / 401.4 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.6133, allocations: 4 kB / 401.4 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.6134, allocations: 0 / 401.4 MB, free: 9.758 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007558/0.6141, allocations: 79.88 kB / 401.5 MB, free: 9.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.6142, allocations: 4 kB / 401.5 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004156/0.6146, allocations: 27.94 kB / 401.5 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-05/0.6147, allocations: 15.98 kB / 401.5 MB, free: 9.633 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.0001904/0.6149, allocations: 109 kB / 401.6 MB, free: 9.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.365e-05/0.6149, allocations: 7.906 kB / 401.6 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001829/0.6168, allocations: 486.6 kB / 402.1 MB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.6168, allocations: 4 kB / 402.1 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.808e-06/0.6169, allocations: 256 / 402.1 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.6169, allocations: 0 / 402.1 MB, free: 9.027 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003403/0.6203, allocations: 0.851 MB / 403 MB, free: 8.102 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/0.6204, allocations: 7.953 kB / 403 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005881/0.6209, allocations: 76.12 kB / 403 MB, free: 8.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/0.621, allocations: 4 kB / 403 MB, free: 8.016 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.225e-05/0.621, allocations: 15.98 kB / 403.1 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.6211, allocations: 7.938 kB / 403.1 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.6211, allocations: 4 kB / 403.1 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.6221, allocations: 462.7 kB / 403.5 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.6222, allocations: 89 kB / 403.6 MB, free: 7.359 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/0.6223, allocations: 11.95 kB / 403.6 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.6227, allocations: 27.92 kB / 403.6 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.516e-05/0.6227, allocations: 16.17 kB / 403.7 MB, free: 7.305 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.212e-05/0.6228, allocations: 15.98 kB / 403.7 MB, free: 7.289 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.875e-05/0.6229, allocations: 91.16 kB / 403.8 MB, free: 7.199 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6229, allocations: 0 / 403.8 MB, free: 7.199 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001376/0.6243, allocations: 347.7 kB / 404.1 MB, free: 6.859 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.003516/0.6278, allocations: 1.574 MB / 405.7 MB, free: 5.219 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008674/0.6287, allocations: 267.9 kB / 405.9 MB, free: 4.957 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.6287, allocations: 4 kB / 405.9 MB, free: 4.953 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003494/0.6291, allocations: 115.8 kB / 406.1 MB, free: 4.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.6293, allocations: 4 kB / 406.1 MB, free: 4.836 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.6321, allocations: 494 kB / 406.5 MB, free: 4.297 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003346/0.6325, allocations: 0.6929 MB / 407.2 MB, free: 3.574 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006478/0.6331, allocations: 96.88 kB / 407.3 MB, free: 3.477 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003352/0.6335, allocations: 59.39 kB / 407.4 MB, free: 3.418 MB / 330.7 MB Notification: Performance of SimCode: time 8.41e-07/0.6335, allocations: 0 / 407.4 MB, free: 3.418 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0392/0.6727, allocations: 8.809 MB / 416.2 MB, free: 10.71 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003484/0.6731, allocations: 172.4 kB / 416.4 MB, free: 10.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.46/3.133, allocations: 3.938 kB / 416.4 MB, free: 10.48 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