Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_TestRegRoot2Derivatives",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.009/3.009, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.905e-05/4.921e-05, allocations: 0 / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4298, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.6345, allocations: 78.94 MB / 433.3 MB, free: 136 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/0.6349, allocations: 67.95 kB / 433.4 MB, free: 68 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0231/0.658, allocations: 2.941 MB / 436.4 MB, free: 13.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6581, allocations: 0 / 436.4 MB, free: 13.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.969e-06/0.6581, allocations: 3.938 kB / 436.4 MB, free: 13.12 MB / 378.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.0006135/0.6588, allocations: 374.9 kB / 436.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.623e-05/0.6588, allocations: 8.031 kB / 436.7 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.124e-05/0.6589, allocations: 34.55 kB / 436.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.118e-05/0.659, allocations: 4 kB / 436.8 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/0.6592, allocations: 167 kB / 436.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.6592, allocations: 0 / 436.9 MB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.6592, allocations: 8 kB / 436.9 MB, free: 12.44 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001714/0.6594, allocations: 23.98 kB / 437 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.6596, allocations: 53.58 kB / 437 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.6597, allocations: 4 kB / 437 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.6597, allocations: 0 / 437 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.6597, allocations: 0 / 437 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.66, allocations: 142.2 kB / 437.2 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.6605, allocations: 54.56 kB / 437.2 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.389e-05/0.6606, allocations: 21.14 kB / 437.2 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005405/0.6611, allocations: 121 kB / 437.4 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.6612, allocations: 38.56 kB / 437.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 3.887e-06/0.6612, allocations: 0 / 437.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.3525/1.014, allocations: 5.319 MB / 442.7 MB, free: 6.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.399e-05/1.014, allocations: 55.36 kB / 442.8 MB, free: 6.488 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/1.014, allocations: 97 kB / 442.9 MB, free: 6.387 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.498e-05/1.014, allocations: 29.7 kB / 442.9 MB, free: 6.352 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/1.014, allocations: 80.14 kB / 443 MB, free: 6.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/1.014, allocations: 67 kB / 443 MB, free: 6.203 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.26e-05/1.014, allocations: 0 / 443 MB, free: 6.203 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/1.014, allocations: 318.8 kB / 443.3 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005464/1.015, allocations: 168 kB / 443.5 MB, free: 5.719 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005469/1.016, allocations: 164 kB / 443.7 MB, free: 5.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00257/1.018, allocations: 263.8 kB / 443.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/1.018, allocations: 0 / 443.9 MB, free: 5.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.003529/1.022, allocations: 0.5225 MB / 444.4 MB, free: 4.773 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/1.022, allocations: 7.438 kB / 444.5 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.022, allocations: 0 / 444.5 MB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.781e-05/1.022, allocations: 8.141 kB / 444.5 MB, free: 4.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/1.023, allocations: 91.89 kB / 444.5 MB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/1.023, allocations: 3.938 kB / 444.6 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008136/1.024, allocations: 28.22 kB / 444.6 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/1.024, allocations: 23.97 kB / 444.6 MB, free: 4.617 MB / 378.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.000222/1.024, allocations: 104.9 kB / 444.7 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.807e-05/1.025, allocations: 7.906 kB / 444.7 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004135/1.029, allocations: 0.6093 MB / 445.3 MB, free: 3.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/1.029, allocations: 4 kB / 445.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.029, allocations: 0 / 445.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/1.029, allocations: 0 / 445.3 MB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00674/1.036, allocations: 1.004 MB / 446.3 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/1.036, allocations: 0 / 446.3 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/1.037, allocations: 83.86 kB / 446.4 MB, free: 2.727 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.486e-05/1.037, allocations: 4 kB / 446.4 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-05/1.037, allocations: 19.97 kB / 446.4 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/1.037, allocations: 0 / 446.4 MB, free: 2.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.296e-06/1.037, allocations: 8.125 kB / 446.4 MB, free: 2.695 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0032/1.04, allocations: 0.5694 MB / 447 MB, free: 2.055 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.707e-05/1.04, allocations: 88.97 kB / 447.1 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.194e-05/1.04, allocations: 4 kB / 447.1 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000744/1.041, allocations: 27.97 kB / 447.1 MB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.996e-05/1.041, allocations: 11.98 kB / 447.1 MB, free: 1.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.243e-05/1.041, allocations: 19.98 kB / 447.2 MB, free: 1.887 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.739e-05/1.041, allocations: 87.27 kB / 447.2 MB, free: 1.801 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.51e-07/1.041, allocations: 0 / 447.2 MB, free: 1.801 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003033/1.044, allocations: 0.6169 MB / 447.9 MB, free: 1.184 MB / 378.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.01006/1.054, allocations: 1.759 MB / 449.6 MB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001221/1.056, allocations: 315.8 kB / 449.9 MB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/1.056, allocations: 0 / 449.9 MB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005193/1.056, allocations: 143.8 kB / 450.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003105/1.057, allocations: 4.562 kB / 450.1 MB, free: 14.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005527/1.062, allocations: 0.5139 MB / 450.6 MB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/1.063, allocations: 0.7004 MB / 451.3 MB, free: 13.61 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009663/1.064, allocations: 105.1 kB / 451.4 MB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006162/1.064, allocations: 79.34 kB / 451.5 MB, free: 13.43 MB / 394.7 MB Notification: Performance of SimCode: time 4.498e-06/1.064, allocations: 0 / 451.5 MB, free: 13.43 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.087/2.152, allocations: 19.54 MB / 471 MB, free: 91.66 MB / 394.8 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0005713/2.152, allocations: 159.8 kB / 471.2 MB, free: 91.46 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.877/6.03, allocations: 0.6875 kB / 471.2 MB, free: 91.46 MB / 394.8 MB "" Variables in the reference:time,x,y,yd,ydd,k1,k2,y2,y2d,y2dd Variables in the result:der(der(k1)),der(der(k2)),der(der(x)),der(k1),der(k2),der(x),der(y),der(y2),der(y2d),der(yd),k1,k1a,k1b,k2,k2a,k2b,time,x,x_small,y,y2,y2d,y2dd,yd,ydd