Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestUtilities_TestRegRootDerivative",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.046/3.046, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.871e-05/2.902e-05, allocations: 0 / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4392/0.4393, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1925/0.6318, allocations: 78.42 MB / 432.8 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/0.6322, allocations: 63.97 kB / 432.9 MB, free: 0.582 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002615/0.6349, allocations: 0.5656 MB / 433.5 MB, free: 16 kB / 362.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.6349, allocations: 0 / 433.5 MB, free: 16 kB / 362.7 MB Notification: Performance of Transformations before backend: time 8.126e-06/0.6349, allocations: 0 / 433.5 MB, free: 16 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004687/0.6354, allocations: 330.4 kB / 433.8 MB, free: 15.65 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/0.6355, allocations: 12.03 kB / 433.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.228e-05/0.6356, allocations: 34.55 kB / 433.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.576e-05/0.6356, allocations: 7.953 kB / 433.8 MB, free: 15.59 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.6358, allocations: 163.1 kB / 434 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.6358, allocations: 4 kB / 434 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.6359, allocations: 0 / 434 MB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000102/0.636, allocations: 12 kB / 434 MB, free: 15.37 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.6361, allocations: 47.34 kB / 434.1 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.6362, allocations: 4 kB / 434.1 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.6362, allocations: 0 / 434.1 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.6362, allocations: 7.938 kB / 434.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004442/0.6367, allocations: 297.7 kB / 434.4 MB, free: 14.97 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.322e-05/0.6368, allocations: 22.58 kB / 434.4 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.6368, allocations: 12.86 kB / 434.4 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.6369, allocations: 0 / 434.4 MB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.122e-05/0.6369, allocations: 42.62 kB / 434.4 MB, free: 14.87 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 4.498e-06/0.637, allocations: 4 kB / 434.4 MB, free: 14.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003012/0.6373, allocations: 49.64 kB / 434.5 MB, free: 14.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.526e-05/0.6374, allocations: 51.41 kB / 434.5 MB, free: 14.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.908e-05/0.6375, allocations: 89 kB / 434.6 MB, free: 14.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.6375, allocations: 25.7 kB / 434.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.296e-05/0.6376, allocations: 88.05 kB / 434.7 MB, free: 14.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.6376, allocations: 7.812 kB / 434.7 MB, free: 14.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-06/0.6377, allocations: 0 / 434.7 MB, free: 14.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.6378, allocations: 323 kB / 435.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.235e-05/0.6379, allocations: 4 kB / 435.1 MB, free: 14.2 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.068e-05/0.6379, allocations: 21.72 kB / 435.1 MB, free: 14.17 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.891e-05/0.638, allocations: 7.938 kB / 435.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.6381, allocations: 0 / 435.1 MB, free: 14.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001999/0.6383, allocations: 53.62 kB / 435.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.6383, allocations: 7.984 kB / 435.2 MB, free: 14.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.6383, allocations: 4 kB / 435.2 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.6384, allocations: 4.031 kB / 435.2 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.6385, allocations: 8 kB / 435.2 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.6386, allocations: 3.938 kB / 435.2 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.6386, allocations: 7.891 kB / 435.2 MB, free: 14.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.188e-05/0.6386, allocations: 0 / 435.2 MB, free: 14.07 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001068/0.6388, allocations: 108.9 kB / 435.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.6388, allocations: 0 / 435.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.6391, allocations: 61.8 kB / 435.3 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.6391, allocations: 0 / 435.3 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.6391, allocations: 4 kB / 435.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.6391, allocations: 0 / 435.4 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.6394, allocations: 146.1 kB / 435.5 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6394, allocations: 192 / 435.5 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.6395, allocations: 12 kB / 435.5 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.197e-06/0.6395, allocations: 0 / 435.5 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.6396, allocations: 0 / 435.5 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.6396, allocations: 0 / 435.5 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.324e-06/0.6396, allocations: 4 kB / 435.5 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.6399, allocations: 155.4 kB / 435.7 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.886e-05/0.6399, allocations: 77.11 kB / 435.7 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.64, allocations: 3.984 kB / 435.7 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.764e-05/0.6401, allocations: 0 / 435.7 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.6401, allocations: 4 kB / 435.7 MB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.6402, allocations: 0 / 435.7 MB, free: 13.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.682e-05/0.6402, allocations: 79.28 kB / 435.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6402, allocations: 0 / 435.8 MB, free: 13.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003858/0.6406, allocations: 4 kB / 435.8 MB, free: 13.34 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0007456/0.6414, allocations: 0.693 MB / 436.5 MB, free: 12.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001394/0.6416, allocations: 20 kB / 436.5 MB, free: 12.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.6416, allocations: 0 / 436.5 MB, free: 12.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.36e-05/0.6416, allocations: 15.94 kB / 436.6 MB, free: 12.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.6419, allocations: 6.75 kB / 436.6 MB, free: 12.58 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.6424, allocations: 101 kB / 436.7 MB, free: 12.44 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.6428, allocations: 0.6807 MB / 437.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.458e-05/0.6429, allocations: 0 / 437.3 MB, free: 11.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.388e-05/0.643, allocations: 15.42 kB / 437.4 MB, free: 11.72 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.643, allocations: 4 kB / 437.4 MB, free: 11.71 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05188/0.6949, allocations: 0.7761 MB / 438.1 MB, free: 10.94 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004136/0.6954, allocations: 156.7 kB / 438.3 MB, free: 10.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.48/4.175, allocations: 0.7031 kB / 438.3 MB, free: 10.75 MB / 378.7 MB "" Variables in the reference:time,x,y,yd,k1,k2 Variables in the result:_D_cse1,k1,k2,time,x,x_small,y,yd