Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_TestRegSquare2Derivatives",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.5/3.5, allocations: 235.2 MB / 242.3 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.626e-05/2.643e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4028/0.4029, allocations: 54.87 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1783/0.5812, allocations: 78.78 MB / 433.2 MB, free: 292 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/0.5815, allocations: 63.97 kB / 433.3 MB, free: 228 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01036/0.5919, allocations: 1.775 MB / 435 MB, free: 14.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.594e-06/0.592, allocations: 0 / 435 MB, free: 14.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.592, allocations: 0 / 435 MB, free: 14.45 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.0005107/0.5925, allocations: 358.3 kB / 435.4 MB, free: 14.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.5926, allocations: 12.03 kB / 435.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.213e-05/0.5926, allocations: 34.56 kB / 435.4 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.5927, allocations: 4 kB / 435.4 MB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.5929, allocations: 174.8 kB / 435.6 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.5929, allocations: 4 kB / 435.6 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.801e-05/0.5929, allocations: 4 kB / 435.6 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001358/0.5931, allocations: 24 kB / 435.6 MB, free: 13.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.5932, allocations: 45.64 kB / 435.7 MB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.034e-05/0.5933, allocations: 7.984 kB / 435.7 MB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.5933, allocations: 0 / 435.7 MB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.952e-06/0.5933, allocations: 0 / 435.7 MB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000234/0.5936, allocations: 146.2 kB / 435.8 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.5939, allocations: 58.59 kB / 435.9 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.526e-05/0.594, allocations: 20.86 kB / 435.9 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004526/0.5945, allocations: 105.1 kB / 436 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.5945, allocations: 34.56 kB / 436 MB, free: 13.26 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.505e-06/0.5946, allocations: 0 / 436 MB, free: 13.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.09324/0.6878, allocations: 2.1 MB / 438.1 MB, free: 11.12 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.6879, allocations: 63.3 kB / 438.2 MB, free: 11.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.6881, allocations: 93 kB / 438.3 MB, free: 10.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.409e-05/0.6882, allocations: 25.7 kB / 438.3 MB, free: 10.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.859e-05/0.6883, allocations: 84.14 kB / 438.4 MB, free: 10.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001758/0.6885, allocations: 63 kB / 438.5 MB, free: 10.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.025e-05/0.6886, allocations: 0 / 438.5 MB, free: 10.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001912/0.6888, allocations: 322.8 kB / 438.8 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006357/0.6894, allocations: 136 kB / 438.9 MB, free: 10.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006571/0.6901, allocations: 136 kB / 439 MB, free: 10.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.6918, allocations: 197.9 kB / 439.2 MB, free: 9.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/0.6918, allocations: 0 / 439.2 MB, free: 9.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002702/0.6945, allocations: 417.3 kB / 439.6 MB, free: 9.578 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.6946, allocations: 4 kB / 439.7 MB, free: 9.574 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.6946, allocations: 4 kB / 439.7 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.6947, allocations: 3.953 kB / 439.7 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.6959, allocations: 79.88 kB / 439.7 MB, free: 9.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.696, allocations: 4 kB / 439.7 MB, free: 9.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006928/0.6967, allocations: 19.98 kB / 439.8 MB, free: 9.465 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.6968, allocations: 16.17 kB / 439.8 MB, free: 9.449 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.0002575/0.6971, allocations: 105 kB / 439.9 MB, free: 9.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.6972, allocations: 11.84 kB / 439.9 MB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003567/0.7008, allocations: 0.4919 MB / 440.4 MB, free: 8.828 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.761e-05/0.7009, allocations: 8 kB / 440.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.7009, allocations: 0 / 440.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.7009, allocations: 0 / 440.4 MB, free: 8.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005997/0.707, allocations: 0.8414 MB / 441.2 MB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/0.707, allocations: 4 kB / 441.2 MB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.7081, allocations: 80.12 kB / 441.3 MB, free: 7.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-05/0.7081, allocations: 4 kB / 441.3 MB, free: 7.832 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.885e-05/0.7082, allocations: 11.98 kB / 441.3 MB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.355e-05/0.7083, allocations: 7.938 kB / 441.3 MB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/0.7083, allocations: 4 kB / 441.3 MB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.7108, allocations: 485.8 kB / 441.8 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.051e-05/0.7109, allocations: 88.97 kB / 441.9 MB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.597e-05/0.711, allocations: 4.25 kB / 441.9 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007073/0.7117, allocations: 27.97 kB / 441.9 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.597e-05/0.7118, allocations: 19.92 kB / 442 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.779e-05/0.712, allocations: 16 kB / 442 MB, free: 7.094 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.846e-05/0.7121, allocations: 79.28 kB / 442 MB, free: 7.016 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.7121, allocations: 0 / 442 MB, free: 7.016 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002491/0.7146, allocations: 339.7 kB / 442.4 MB, free: 6.684 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.00756/0.7222, allocations: 1.601 MB / 444 MB, free: 5.012 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00147/0.7237, allocations: 259.9 kB / 444.2 MB, free: 4.758 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.7237, allocations: 0 / 444.2 MB, free: 4.758 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005993/0.7244, allocations: 111.9 kB / 444.3 MB, free: 4.648 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.7249, allocations: 12.34 kB / 444.4 MB, free: 4.637 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004868/0.7298, allocations: 474 kB / 444.8 MB, free: 4.117 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/0.7303, allocations: 0.6965 MB / 445.5 MB, free: 3.395 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00122/0.7316, allocations: 92.88 kB / 445.6 MB, free: 3.301 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006755/0.7323, allocations: 59.41 kB / 445.7 MB, free: 3.242 MB / 378.7 MB Notification: Performance of SimCode: time 1.814e-06/0.7323, allocations: 0 / 445.7 MB, free: 3.242 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.107/0.8393, allocations: 8.468 MB / 454.1 MB, free: 10.82 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0005714/0.84, allocations: 161.6 kB / 454.3 MB, free: 10.62 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.078/3.918, allocations: 0 / 454.3 MB, free: 10.62 MB / 394.7 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