Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.101/2.101, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.349e-05/3.365e-05, allocations: 0 / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1162, allocations: 48.7 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4149/0.5311, allocations: 73.07 MB / 394.9 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.5314, allocations: 59.97 kB / 395 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008119/0.5395, allocations: 1.77 MB / 396.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.654e-06/0.5396, allocations: 4 kB / 396.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.5396, allocations: 4 kB / 396.7 MB, free: 15.05 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.00044/0.5401, allocations: 358.4 kB / 397.1 MB, free: 14.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.5401, allocations: 8.031 kB / 397.1 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.269e-05/0.5402, allocations: 41.25 kB / 397.1 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.211e-05/0.5402, allocations: 7.859 kB / 397.1 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001673/0.5404, allocations: 171 kB / 397.3 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.5405, allocations: 0 / 397.3 MB, free: 14.39 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.869e-05/0.5405, allocations: 8 kB / 397.3 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.5407, allocations: 49.69 kB / 397.4 MB, free: 14.33 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.5407, allocations: 4 kB / 397.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.5407, allocations: 4 kB / 397.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.5407, allocations: 0 / 397.4 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.5408, allocations: 35.86 kB / 397.4 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.5411, allocations: 173.5 kB / 397.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.5414, allocations: 54.56 kB / 397.6 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.245e-05/0.5415, allocations: 28.86 kB / 397.7 MB, free: 13.97 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003434/0.5418, allocations: 109.1 kB / 397.8 MB, free: 13.85 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.5418, allocations: 34.83 kB / 397.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 3.777e-06/0.5419, allocations: 0 / 397.8 MB, free: 13.8 MB / 330.7 MB Notification: Performance of matching and sorting (n=19): time 0.06766/0.6095, allocations: 2.054 MB / 399.8 MB, free: 11.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.426e-05/0.6096, allocations: 55.41 kB / 399.9 MB, free: 11.65 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.887e-05/0.6097, allocations: 105 kB / 400 MB, free: 11.54 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.889e-05/0.6098, allocations: 29.7 kB / 400 MB, free: 11.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.112e-05/0.6099, allocations: 154.6 kB / 400.2 MB, free: 11.35 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.61, allocations: 59.05 kB / 400.2 MB, free: 11.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.04e-05/0.61, allocations: 4 kB / 400.2 MB, free: 11.29 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.6102, allocations: 322.8 kB / 400.6 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000394/0.6106, allocations: 140 kB / 400.7 MB, free: 10.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004058/0.611, allocations: 140 kB / 400.8 MB, free: 10.69 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006054/0.6116, allocations: 163.9 kB / 401 MB, free: 10.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.6116, allocations: 4 kB / 401 MB, free: 10.53 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001248/0.6129, allocations: 395.9 kB / 401.4 MB, free: 10.14 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/0.6129, allocations: 4 kB / 401.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.6129, allocations: 0 / 401.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.613, allocations: 0 / 401.4 MB, free: 10.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/0.6137, allocations: 79.94 kB / 401.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.6137, allocations: 0 / 401.5 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003885/0.6141, allocations: 31.94 kB / 401.5 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.484e-05/0.6142, allocations: 19.97 kB / 401.5 MB, free: 10 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.0001438/0.6144, allocations: 112.9 kB / 401.6 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.6144, allocations: 7.906 kB / 401.6 MB, free: 9.879 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001604/0.616, allocations: 477.8 kB / 402.1 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.6161, allocations: 4 kB / 402.1 MB, free: 9.402 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.6161, allocations: 4 kB / 402.1 MB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.6161, allocations: 3.938 kB / 402.1 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/0.6191, allocations: 0.855 MB / 403 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.6192, allocations: 4 kB / 403 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/0.6197, allocations: 76.12 kB / 403 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-05/0.6198, allocations: 4 kB / 403.1 MB, free: 8.383 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/0.6198, allocations: 15.98 kB / 403.1 MB, free: 8.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-06/0.6198, allocations: 7.938 kB / 403.1 MB, free: 8.359 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/0.6199, allocations: 4 kB / 403.1 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.6209, allocations: 463.4 kB / 403.5 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.679e-05/0.6209, allocations: 89 kB / 403.6 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-05/0.621, allocations: 15.89 kB / 403.6 MB, free: 7.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003897/0.6214, allocations: 19.98 kB / 403.7 MB, free: 7.691 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.6215, allocations: 19.98 kB / 403.7 MB, free: 7.672 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.083e-05/0.6215, allocations: 16.23 kB / 403.7 MB, free: 7.656 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.49e-05/0.6216, allocations: 87.28 kB / 403.8 MB, free: 7.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6216, allocations: 0 / 403.8 MB, free: 7.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001418/0.623, allocations: 347.8 kB / 404.1 MB, free: 7.23 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.003485/0.6265, allocations: 1.573 MB / 405.7 MB, free: 5.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008445/0.6274, allocations: 275.8 kB / 406 MB, free: 5.32 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6274, allocations: 0 / 406 MB, free: 5.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003478/0.6278, allocations: 120 kB / 406.1 MB, free: 5.203 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.628, allocations: 8 kB / 406.1 MB, free: 5.195 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.6307, allocations: 0.5132 MB / 406.6 MB, free: 4.617 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.631, allocations: 0.6929 MB / 407.3 MB, free: 3.895 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/0.6314, allocations: 63.39 kB / 407.3 MB, free: 3.832 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6314, allocations: 0 / 407.3 MB, free: 3.832 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.548/3.179, allocations: 7.542 MB / 414.9 MB, free: 12.32 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives_res.mat does not exist to compare? outputFormat=mat