Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRoot2ZeroDerivative,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_TestRegRoot2ZeroDerivative",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.055/3.055, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.322e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4412/0.4412, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1718/0.6131, allocations: 79.05 MB / 433.4 MB, free: 32 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/0.6135, allocations: 67.95 kB / 433.5 MB, free: 15.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01944/0.633, allocations: 3.077 MB / 436.6 MB, free: 12.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.633, allocations: 0 / 436.6 MB, free: 12.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.633, allocations: 4 kB / 436.6 MB, free: 12.88 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005086/0.6336, allocations: 363 kB / 437 MB, free: 12.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.6336, allocations: 11.97 kB / 437 MB, free: 12.47 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.544e-05/0.6337, allocations: 34.56 kB / 437 MB, free: 12.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.6338, allocations: 4 kB / 437 MB, free: 12.42 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.6339, allocations: 174.8 kB / 437.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.634, allocations: 4 kB / 437.2 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.634, allocations: 4 kB / 437.2 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001615/0.6342, allocations: 35.97 kB / 437.2 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.6344, allocations: 69.62 kB / 437.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.6344, allocations: 4 kB / 437.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.6344, allocations: 0 / 437.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.6344, allocations: 0 / 437.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.6347, allocations: 142.1 kB / 437.4 MB, free: 11.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.6349, allocations: 82.42 kB / 437.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.635e-05/0.635, allocations: 28.86 kB / 437.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004323/0.6355, allocations: 113.1 kB / 437.6 MB, free: 11.66 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/0.6356, allocations: 34.56 kB / 437.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 5.991e-06/0.6356, allocations: 0 / 437.7 MB, free: 11.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=23): time 0.3206/0.9562, allocations: 5.087 MB / 442.8 MB, free: 6.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.9563, allocations: 55.41 kB / 442.8 MB, free: 6.426 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.938e-05/0.9564, allocations: 85 kB / 442.9 MB, free: 6.336 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.367e-05/0.9565, allocations: 25.7 kB / 442.9 MB, free: 6.305 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.9565, allocations: 84.52 kB / 443 MB, free: 6.215 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/0.9567, allocations: 74.91 kB / 443.1 MB, free: 6.141 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.883e-05/0.9567, allocations: 0 / 443.1 MB, free: 6.141 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.9569, allocations: 319 kB / 443.4 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002547/0.9572, allocations: 67.98 kB / 443.5 MB, free: 5.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.9574, allocations: 63.98 kB / 443.5 MB, free: 5.691 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/0.9597, allocations: 179.7 kB / 443.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.9598, allocations: 0 / 443.7 MB, free: 5.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002787/0.9626, allocations: 329.3 kB / 444 MB, free: 5.188 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.9626, allocations: 7.75 kB / 444 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/0.9626, allocations: 0 / 444 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/0.9627, allocations: 0 / 444 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.9637, allocations: 103.8 kB / 444.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.9638, allocations: 0 / 444.1 MB, free: 5.082 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00053/0.9643, allocations: 35.97 kB / 444.2 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.457e-05/0.9644, allocations: 15.97 kB / 444.2 MB, free: 5.031 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 (23): * Single equations (assignments): 23 * 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.0001638/0.9646, allocations: 104.9 kB / 444.3 MB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.651e-05/0.9647, allocations: 15.86 kB / 444.3 MB, free: 4.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003279/0.9679, allocations: 394.6 kB / 444.7 MB, free: 4.508 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.968, allocations: 11.98 kB / 444.7 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.968, allocations: 0 / 444.7 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.968, allocations: 0 / 444.7 MB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005195/0.9733, allocations: 0.7823 MB / 445.5 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/0.9733, allocations: 0 / 445.5 MB, free: 3.668 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007815/0.9741, allocations: 83.88 kB / 445.6 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.9741, allocations: 0 / 445.6 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/0.9742, allocations: 16.05 kB / 445.6 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.9742, allocations: 4 kB / 445.6 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.9742, allocations: 3.938 kB / 445.6 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002705/0.977, allocations: 428 kB / 446 MB, free: 3.109 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.086e-05/0.9771, allocations: 89.02 kB / 446.1 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.567e-05/0.9771, allocations: 0 / 446.1 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004904/0.9777, allocations: 35.92 kB / 446.1 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.561e-05/0.9777, allocations: 15.98 kB / 446.1 MB, free: 2.953 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.66e-05/0.9778, allocations: 15.98 kB / 446.2 MB, free: 2.938 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.204e-05/0.9778, allocations: 79.28 kB / 446.2 MB, free: 2.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.9779, allocations: 0 / 446.2 MB, free: 2.859 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002855/0.9807, allocations: 0.6012 MB / 446.8 MB, free: 2.258 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.00902/0.9898, allocations: 1.316 MB / 448.1 MB, free: 0.8984 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000649/0.9905, allocations: 155.8 kB / 448.3 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.9905, allocations: 0 / 448.3 MB, free: 0.7461 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000267/0.9908, allocations: 83.91 kB / 448.4 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.9911, allocations: 4.562 kB / 448.4 MB, free: 0.6602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003016/0.9941, allocations: 387.1 kB / 448.8 MB, free: 244 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003803/0.9945, allocations: 0.6975 MB / 449.5 MB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006891/0.9952, allocations: 77.2 kB / 449.5 MB, free: 15.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003377/0.9956, allocations: 60.14 kB / 449.6 MB, free: 15.38 MB / 394.7 MB Notification: Performance of SimCode: time 1.243e-06/0.9956, allocations: 0 / 449.6 MB, free: 15.38 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8827/1.878, allocations: 18.17 MB / 467.8 MB, free: 91.97 MB / 394.8 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002346/1.879, allocations: 161.8 kB / 467.9 MB, free: 91.79 MB / 394.8 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.589/5.468, allocations: 0 / 467.9 MB, free: 91.79 MB / 394.8 MB "" Variables in the reference:time,x,y1,y1d,y1dd,y2,y2d,y2dd,y3,y3d,y3dd,y4,y4d,y4dd Variables in the result:der(der(x)),der(x),der(y1),der(y1d),der(y2),der(y2d),der(y3),der(y3d),der(y4),der(y4d),time,x,x_small,y1,y1d,y1dd,y2,y2d,y2dd,y3,y3d,y3dd,y4,y4d,y4dd