Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.606/2.606, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 6.49e-05/6.505e-05, allocations: 3.984 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4342, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1628/0.5971, allocations: 84.29 MB / 466.6 MB, free: 8.121 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.5974, allocations: 63.97 kB / 466.6 MB, free: 8.059 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.008327/0.6058, allocations: 1.78 MB / 468.4 MB, free: 6.277 MB / 394.8 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6058, allocations: 0 / 468.4 MB, free: 6.277 MB / 394.8 MB Notification: Performance of Transformations before backend: time 7.775e-06/0.6059, allocations: 0 / 468.4 MB, free: 6.277 MB / 394.8 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.0004425/0.6063, allocations: 358.9 kB / 468.8 MB, free: 5.883 MB / 394.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.6064, allocations: 12.03 kB / 468.8 MB, free: 5.871 MB / 394.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/0.6064, allocations: 34.56 kB / 468.8 MB, free: 5.828 MB / 394.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.446e-05/0.6065, allocations: 11.86 kB / 468.8 MB, free: 5.816 MB / 394.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.6066, allocations: 163 kB / 469 MB, free: 5.617 MB / 394.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.6067, allocations: 4 kB / 469 MB, free: 5.613 MB / 394.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.104e-05/0.6067, allocations: 12 kB / 469 MB, free: 5.602 MB / 394.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.6069, allocations: 45.69 kB / 469.1 MB, free: 5.551 MB / 394.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/0.6069, allocations: 3.984 kB / 469.1 MB, free: 5.547 MB / 394.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.6069, allocations: 4 kB / 469.1 MB, free: 5.543 MB / 394.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.6069, allocations: 4 kB / 469.1 MB, free: 5.539 MB / 394.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.607, allocations: 31.89 kB / 469.1 MB, free: 5.508 MB / 394.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002222/0.6073, allocations: 173.5 kB / 469.3 MB, free: 5.289 MB / 394.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/0.6076, allocations: 62.55 kB / 469.3 MB, free: 5.219 MB / 394.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.186e-05/0.6077, allocations: 24.86 kB / 469.4 MB, free: 5.191 MB / 394.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003294/0.608, allocations: 109.1 kB / 469.5 MB, free: 5.066 MB / 394.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.6081, allocations: 34.5 kB / 469.5 MB, free: 5.023 MB / 394.8 MB Notification: Performance of pre-optimization done (n=9): time 2.084e-06/0.6081, allocations: 4 kB / 469.5 MB, free: 5.02 MB / 394.8 MB Notification: Performance of matching and sorting (n=19): time 0.07299/0.6811, allocations: 2.052 MB / 471.5 MB, free: 2.93 MB / 394.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.6812, allocations: 59.41 kB / 471.6 MB, free: 2.859 MB / 394.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.985e-05/0.6813, allocations: 93 kB / 471.7 MB, free: 2.762 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/0.6814, allocations: 25.7 kB / 471.7 MB, free: 2.73 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.543e-05/0.6814, allocations: 88.14 kB / 471.8 MB, free: 2.641 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.6816, allocations: 63.09 kB / 471.9 MB, free: 2.578 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.6816, allocations: 4.188 kB / 471.9 MB, free: 2.574 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.6818, allocations: 314.8 kB / 472.2 MB, free: 2.258 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004122/0.6822, allocations: 147.9 kB / 472.3 MB, free: 2.113 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/0.6826, allocations: 143.2 kB / 472.5 MB, free: 1.977 MB / 394.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006114/0.6833, allocations: 167.9 kB / 472.6 MB, free: 1.812 MB / 394.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.6833, allocations: 0 / 472.6 MB, free: 1.812 MB / 394.8 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001269/0.6846, allocations: 385.4 kB / 473 MB, free: 1.43 MB / 394.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.6846, allocations: 4 kB / 473 MB, free: 1.426 MB / 394.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.6846, allocations: 0 / 473 MB, free: 1.426 MB / 394.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.704e-05/0.6847, allocations: 11.92 kB / 473 MB, free: 1.414 MB / 394.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007214/0.6854, allocations: 75.95 kB / 473.1 MB, free: 1.34 MB / 394.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-05/0.6855, allocations: 15.92 kB / 473.1 MB, free: 1.324 MB / 394.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.6859, allocations: 19.98 kB / 473.1 MB, free: 1.305 MB / 394.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.686, allocations: 19.98 kB / 473.1 MB, free: 1.285 MB / 394.8 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.0001624/0.6861, allocations: 112.9 kB / 473.3 MB, free: 1.168 MB / 394.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.6862, allocations: 11.91 kB / 473.3 MB, free: 1.156 MB / 394.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001702/0.6879, allocations: 481.7 kB / 473.7 MB, free: 0.6797 MB / 394.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.688, allocations: 4 kB / 473.7 MB, free: 0.6758 MB / 394.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.688, allocations: 0 / 473.7 MB, free: 0.6758 MB / 394.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.688, allocations: 0 / 473.7 MB, free: 0.6758 MB / 394.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003203/0.6912, allocations: 0.8466 MB / 474.6 MB, free: 15.75 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.6913, allocations: 4 kB / 474.6 MB, free: 15.75 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005804/0.6918, allocations: 80.06 kB / 474.7 MB, free: 15.67 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/0.6919, allocations: 4 kB / 474.7 MB, free: 15.67 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/0.6919, allocations: 15.98 kB / 474.7 MB, free: 15.65 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.692, allocations: 4 kB / 474.7 MB, free: 15.65 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.692, allocations: 0 / 474.7 MB, free: 15.65 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.6931, allocations: 466.7 kB / 475.2 MB, free: 15.12 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.306e-05/0.6932, allocations: 85.02 kB / 475.2 MB, free: 15.02 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.453e-05/0.6933, allocations: 7.938 kB / 475.2 MB, free: 15.01 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003742/0.6936, allocations: 27.98 kB / 475.3 MB, free: 14.98 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.6937, allocations: 19.98 kB / 475.3 MB, free: 14.96 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.137e-05/0.6938, allocations: 15.98 kB / 475.3 MB, free: 14.95 MB / 410.8 MB Notification: Performance of sorting global known variables: time 5.939e-05/0.6938, allocations: 79.28 kB / 475.4 MB, free: 14.87 MB / 410.8 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6938, allocations: 0 / 475.4 MB, free: 14.87 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.001358/0.6952, allocations: 355.6 kB / 475.7 MB, free: 14.52 MB / 410.8 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.003657/0.6989, allocations: 1.566 MB / 477.3 MB, free: 12.89 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0009254/0.6999, allocations: 267.9 kB / 477.6 MB, free: 12.63 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.6999, allocations: 0 / 477.6 MB, free: 12.63 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000379/0.7003, allocations: 111.9 kB / 477.7 MB, free: 12.52 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.7005, allocations: 15.8 kB / 477.7 MB, free: 12.51 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002903/0.7035, allocations: 487.5 kB / 478.2 MB, free: 11.98 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.7039, allocations: 0.7007 MB / 478.9 MB, free: 11.25 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0006884/0.7046, allocations: 92.88 kB / 479 MB, free: 11.15 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003408/0.705, allocations: 55.41 kB / 479 MB, free: 11.09 MB / 410.8 MB Notification: Performance of SimCode: time 1.784e-06/0.705, allocations: 3.938 kB / 479 MB, free: 11.09 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0395/0.7445, allocations: 8.834 MB / 487.8 MB, free: 2.332 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000359/0.7449, allocations: 176.3 kB / 488 MB, free: 2.098 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/3.091, allocations: 0 / 488 MB, free: 2.098 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat does not exist to compare? outputFormat=mat