Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadModel(ModelicaTest): time 2.422/2.422, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.12e-05/7.117e-05, allocations: 4.047 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.379/0.3791, allocations: 54.86 MB / 362.8 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0007016/0.3799, allocations: 260.2 kB / 363.1 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000854/0.3807, allocations: 359 kB / 363.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.3808, allocations: 0 / 363.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.3808, allocations: 3.938 kB / 363.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.561e-05/0.3809, allocations: 0 / 363.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003912/0.3813, allocations: 76.19 kB / 363.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.319e-05/0.3813, allocations: 11.36 kB / 363.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.3814, allocations: 1.281 kB / 363.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.037e-05/0.3814, allocations: 12.53 kB / 363.6 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.367e-05/0.3815, allocations: 12.95 kB / 363.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003541/0.3818, allocations: 139.7 kB / 363.7 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.3819, allocations: 18.14 kB / 363.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.417e-05/0.3819, allocations: 5.297 kB / 363.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.382, allocations: 2.5 kB / 363.7 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.3822, allocations: 72.34 kB / 363.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3822, allocations: 0 / 363.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.3822, allocations: 4 kB / 363.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.3822, allocations: 0 / 363.8 MB, free: 11.39 MB / 298.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.0004974/0.3827, allocations: 360.5 kB / 364.2 MB, free: 11.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/0.3828, allocations: 12.88 kB / 364.2 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.3828, allocations: 6.984 kB / 364.2 MB, free: 11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.383, allocations: 164.2 kB / 364.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.383, allocations: 5.844 kB / 364.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.3831, allocations: 6.672 kB / 364.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.3833, allocations: 53.59 kB / 364.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.3833, allocations: 5.062 kB / 364.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.3833, allocations: 4.75 kB / 364.4 MB, free: 10.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3833, allocations: 5.047 kB / 364.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.3834, allocations: 28 kB / 364.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002298/0.3837, allocations: 171.7 kB / 364.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.384, allocations: 55.77 kB / 364.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003815/0.3844, allocations: 110.5 kB / 364.8 MB, free: 10.37 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.3845, allocations: 35.62 kB / 364.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.345e-06/0.3845, allocations: 0 / 364.8 MB, free: 10.33 MB / 298.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: k2 2: k1 3: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.3048/0.6893, allocations: 6.374 MB / 371.2 MB, free: 5.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.6894, allocations: 55.41 kB / 371.2 MB, free: 5.254 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.92e-05/0.6895, allocations: 96.98 kB / 371.3 MB, free: 5.152 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.207e-05/0.6895, allocations: 29.7 kB / 371.4 MB, free: 5.117 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.169e-05/0.6896, allocations: 150.6 kB / 371.5 MB, free: 4.969 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.6898, allocations: 63.09 kB / 371.6 MB, free: 4.906 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.6898, allocations: 4 kB / 371.6 MB, free: 4.902 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.69, allocations: 330.7 kB / 371.9 MB, free: 4.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008122/0.6908, allocations: 215.9 kB / 372.1 MB, free: 4.359 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008052/0.6916, allocations: 221.1 kB / 372.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.6934, allocations: 281.4 kB / 372.6 MB, free: 3.871 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.6935, allocations: 0 / 372.6 MB, free: 3.871 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.00293/0.6964, allocations: 0.5793 MB / 373.2 MB, free: 3.285 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.6965, allocations: 8 kB / 373.2 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.6965, allocations: 480 / 373.2 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.6965, allocations: 0 / 373.2 MB, free: 3.277 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009073/0.6974, allocations: 99.78 kB / 373.3 MB, free: 3.18 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.6975, allocations: 4 kB / 373.3 MB, free: 3.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000596/0.6981, allocations: 23.98 kB / 373.3 MB, free: 3.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.071e-05/0.6982, allocations: 27.91 kB / 373.3 MB, free: 3.125 MB / 298.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.000187/0.6984, allocations: 118.9 kB / 373.5 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.802e-05/0.6984, allocations: 11.89 kB / 373.5 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003367/0.7018, allocations: 0.6873 MB / 374.1 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.754e-06/0.7019, allocations: 0 / 374.1 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.7019, allocations: 0 / 374.1 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.7019, allocations: 3.938 kB / 374.2 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00541/0.7073, allocations: 1.081 MB / 375.2 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.7074, allocations: 0 / 375.2 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007567/0.7081, allocations: 87.84 kB / 375.3 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.316e-05/0.7082, allocations: 4 kB / 375.3 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/0.7082, allocations: 23.97 kB / 375.3 MB, free: 1.023 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.7083, allocations: 4 kB / 375.4 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7083, allocations: 96 / 375.4 MB, free: 1.02 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002749/0.711, allocations: 0.6469 MB / 376 MB, free: 308 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-05/0.7111, allocations: 89.22 kB / 376.1 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.991e-05/0.7112, allocations: 4 kB / 376.1 MB, free: 196 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005373/0.7118, allocations: 31.97 kB / 376.1 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.7118, allocations: 11.98 kB / 376.1 MB, free: 152 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-05/0.7119, allocations: 31.97 kB / 376.2 MB, free: 120 kB / 298.7 MB Notification: Performance of sorting global known variables: time 5.676e-05/0.712, allocations: 79.28 kB / 376.2 MB, free: 40 kB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.712, allocations: 0 / 376.2 MB, free: 40 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.00258/0.7146, allocations: 0.6367 MB / 376.9 MB, free: 15.4 MB / 314.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.005114/0.7197, allocations: 294.9 kB / 377.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001789/0.7216, allocations: 431.6 kB / 377.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.7216, allocations: 0 / 377.6 MB, free: 14.68 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007599/0.7224, allocations: 188.1 kB / 377.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.7227, allocations: 11.25 kB / 377.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003154/0.7258, allocations: 0.5562 MB / 378.3 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.7262, allocations: 0.6929 MB / 379 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004101/0.7266, allocations: 71.34 kB / 379.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of SimCode: time 1.423e-06/0.7266, allocations: 4 kB / 379.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of Templates: time 0.04125/0.7679, allocations: 18 MB / 397.1 MB, free: 11.09 MB / 330.7 MB