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 2.138/2.138, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.13e-05/2.119e-05, allocations: 0 / 267.6 MB, free: 4.977 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1223, allocations: 48.7 MB / 316.3 MB, free: 4.18 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.451/0.5734, allocations: 72.63 MB / 389 MB, free: 3.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/0.5737, allocations: 71.48 kB / 389 MB, free: 3.734 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007938/0.5816, allocations: 1.759 MB / 390.8 MB, free: 2.246 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5817, allocations: 0 / 390.8 MB, free: 2.246 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.5817, allocations: 0 / 390.8 MB, free: 2.246 MB / 314.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.0004616/0.5821, allocations: 358.2 kB / 391.1 MB, free: 1.855 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.85e-05/0.5822, allocations: 12.03 kB / 391.1 MB, free: 1.844 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.485e-05/0.5823, allocations: 7.844 kB / 391.2 MB, free: 1.836 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.5824, allocations: 171 kB / 391.3 MB, free: 1.629 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.5824, allocations: 0 / 391.3 MB, free: 1.629 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.5825, allocations: 11.92 kB / 391.3 MB, free: 1.617 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000114/0.5826, allocations: 27.62 kB / 391.4 MB, free: 1.598 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.5827, allocations: 45.25 kB / 391.4 MB, free: 1.551 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.5828, allocations: 0 / 391.4 MB, free: 1.551 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.5828, allocations: 0 / 391.4 MB, free: 1.551 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.5828, allocations: 4 kB / 391.4 MB, free: 1.547 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002029/0.583, allocations: 160.5 kB / 391.6 MB, free: 1.359 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002766/0.5833, allocations: 52.66 kB / 391.6 MB, free: 1.305 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.309e-05/0.5834, allocations: 24.23 kB / 391.6 MB, free: 1.285 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003415/0.5837, allocations: 109.1 kB / 391.7 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.833e-05/0.5838, allocations: 33.69 kB / 391.8 MB, free: 1.121 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/0.5838, allocations: 0 / 391.8 MB, free: 1.121 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.06693/0.6507, allocations: 2.094 MB / 393.9 MB, free: 15.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/0.6508, allocations: 51.41 kB / 393.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.651, allocations: 98.31 kB / 394 MB, free: 15.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.651, allocations: 25.7 kB / 394 MB, free: 14.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.6511, allocations: 80.14 kB / 394.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.6512, allocations: 62.78 kB / 394.2 MB, free: 14.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.6513, allocations: 4 kB / 394.2 MB, free: 14.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.6514, allocations: 314.6 kB / 394.5 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003476/0.6518, allocations: 148.4 kB / 394.6 MB, free: 14.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003345/0.6521, allocations: 136.6 kB / 394.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008082/0.653, allocations: 190 kB / 395 MB, free: 14.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.653, allocations: 3.938 kB / 395 MB, free: 14.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00137/0.6544, allocations: 415.5 kB / 395.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.6544, allocations: 7.984 kB / 395.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.6544, allocations: 0 / 395.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.6545, allocations: 0 / 395.4 MB, free: 13.96 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007109/0.6552, allocations: 83.88 kB / 395.5 MB, free: 13.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.6552, allocations: 3.984 kB / 395.5 MB, free: 13.87 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003839/0.6556, allocations: 23.98 kB / 395.5 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.555e-05/0.6557, allocations: 19.98 kB / 395.5 MB, free: 13.83 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.0001549/0.6558, allocations: 104.9 kB / 395.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001341/0.6572, allocations: 415.8 kB / 396 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.146e-05/0.6573, allocations: 11.84 kB / 396 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001751/0.659, allocations: 495.3 kB / 396.5 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.838e-06/0.6591, allocations: 4 kB / 396.5 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.6591, allocations: 256 / 396.5 MB, free: 13.06 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.6591, allocations: 3.984 kB / 396.5 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003267/0.6624, allocations: 0.8514 MB / 397.4 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.6624, allocations: 4 kB / 397.4 MB, free: 12.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005593/0.663, allocations: 67.95 kB / 397.4 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.085e-05/0.663, allocations: 4 kB / 397.4 MB, free: 12.15 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-05/0.6631, allocations: 16.17 kB / 397.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/0.6631, allocations: 11.89 kB / 397.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.6631, allocations: 0 / 397.5 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.6643, allocations: 482.6 kB / 397.9 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.6644, allocations: 89.14 kB / 398 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.253e-05/0.6645, allocations: 7.969 kB / 398 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003695/0.6649, allocations: 31.92 kB / 398.1 MB, free: 11.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.6649, allocations: 15.12 kB / 398.1 MB, free: 11.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.077e-05/0.665, allocations: 19.98 kB / 398.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.414e-05/0.6651, allocations: 82.78 kB / 398.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6651, allocations: 7.938 kB / 398.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001331/0.6664, allocations: 339.7 kB / 398.5 MB, free: 11.05 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.003853/0.6703, allocations: 1.584 MB / 400.1 MB, free: 9.457 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007671/0.6711, allocations: 267.3 kB / 400.4 MB, free: 9.289 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.6711, allocations: 0 / 400.4 MB, free: 9.289 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.6714, allocations: 110.8 kB / 400.5 MB, free: 9.207 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.6717, allocations: 6.969 kB / 400.5 MB, free: 9.203 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.6745, allocations: 472.8 kB / 400.9 MB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.6749, allocations: 0.6965 MB / 401.6 MB, free: 7.992 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006231/0.6755, allocations: 92.89 kB / 401.7 MB, free: 7.898 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003534/0.6759, allocations: 64.08 kB / 401.8 MB, free: 7.844 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6759, allocations: 0 / 401.8 MB, free: 7.844 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05281/0.7287, allocations: 8.366 MB / 410.2 MB, free: 15.49 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002902/0.7291, allocations: 160.3 kB / 410.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.438/3.167, allocations: 0 / 410.3 MB, free: 15.29 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