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.1_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadModel(ModelicaTest): time 1.931/1.931, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.448e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.3539, allocations: 48.7 MB / 324.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0007706/0.3547, allocations: 261.5 kB / 325.1 MB, free: 2.848 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008128/0.3556, allocations: 346.7 kB / 325.4 MB, free: 2.672 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.3557, allocations: 0 / 325.4 MB, free: 2.672 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.247e-05/0.3557, allocations: 9.469 kB / 325.4 MB, free: 2.664 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.138e-05/0.3557, allocations: 2.625 kB / 325.5 MB, free: 2.664 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.3562, allocations: 72.83 kB / 325.5 MB, free: 2.641 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 5.213e-05/0.3563, allocations: 14.11 kB / 325.5 MB, free: 2.633 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.3563, allocations: 1.688 kB / 325.5 MB, free: 2.633 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.722e-05/0.3563, allocations: 11.19 kB / 325.5 MB, free: 2.629 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.549e-05/0.3564, allocations: 17.41 kB / 325.6 MB, free: 2.621 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.3568, allocations: 134.9 kB / 325.7 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.228e-05/0.3569, allocations: 9.156 kB / 325.7 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.3569, allocations: 9.672 kB / 325.7 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.544e-05/0.3569, allocations: 1.469 kB / 325.7 MB, free: 2.582 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002178/0.3571, allocations: 69.41 kB / 325.8 MB, free: 2.578 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3571, allocations: 0 / 325.8 MB, free: 2.578 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3572, allocations: 1 kB / 325.8 MB, free: 2.578 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/0.3572, allocations: 0 / 325.8 MB, free: 2.578 MB / 266.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.0004006/0.3576, allocations: 357.7 kB / 326.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.3576, allocations: 9.281 kB / 326.1 MB, free: 2.207 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.3577, allocations: 9.938 kB / 326.2 MB, free: 2.199 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.641e-05/0.3578, allocations: 170.3 kB / 326.3 MB, free: 1.996 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3578, allocations: 6.531 kB / 326.3 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.3579, allocations: 3 kB / 326.3 MB, free: 1.992 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.358, allocations: 52.72 kB / 326.4 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.3581, allocations: 1.562 kB / 326.4 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.3581, allocations: 0.6562 kB / 326.4 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.3581, allocations: 1.125 kB / 326.4 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3582, allocations: 32.67 kB / 326.4 MB, free: 1.941 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001781/0.3584, allocations: 178.6 kB / 326.6 MB, free: 1.734 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003301/0.3587, allocations: 59.17 kB / 326.6 MB, free: 1.699 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003604/0.3591, allocations: 106.6 kB / 326.8 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.3592, allocations: 40.67 kB / 326.8 MB, free: 1.559 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.895e-06/0.3592, allocations: 0.5156 kB / 326.8 MB, free: 1.559 MB / 266.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.2916/0.6508, allocations: 6.383 MB / 333.2 MB, free: 112 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.768e-05/0.6509, allocations: 57.53 kB / 333.2 MB, free: 44 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.651, allocations: 94.11 kB / 333.3 MB, free: 15.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.592e-05/0.6511, allocations: 31.11 kB / 333.4 MB, free: 15.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.007e-05/0.6512, allocations: 150.6 kB / 333.5 MB, free: 15.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.6513, allocations: 64.48 kB / 333.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.082e-05/0.6514, allocations: 4 kB / 333.6 MB, free: 15.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6515, allocations: 317.1 kB / 333.9 MB, free: 15.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008473/0.6524, allocations: 218.5 kB / 334.1 MB, free: 15.28 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008045/0.6532, allocations: 227 kB / 334.3 MB, free: 15.16 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.6551, allocations: 274.9 kB / 334.6 MB, free: 15.04 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6551, allocations: 0 / 334.6 MB, free: 15.04 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002901/0.658, allocations: 0.5814 MB / 335.2 MB, free: 14.74 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.6581, allocations: 9.531 kB / 335.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.6581, allocations: 0 / 335.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.6581, allocations: 5.469 kB / 335.2 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009315/0.6591, allocations: 92.27 kB / 335.3 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.6591, allocations: 1.25 kB / 335.3 MB, free: 14.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005836/0.6597, allocations: 29.91 kB / 335.3 MB, free: 14.69 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/0.6598, allocations: 21.56 kB / 335.3 MB, free: 14.68 MB / 282.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.0002055/0.66, allocations: 134.3 kB / 335.5 MB, free: 14.55 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.938e-05/0.6601, allocations: 6.75 kB / 335.5 MB, free: 14.54 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00339/0.6635, allocations: 0.6794 MB / 336.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.6636, allocations: 2.281 kB / 336.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/0.6636, allocations: 4 kB / 336.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.6636, allocations: 1.688 kB / 336.1 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005391/0.669, allocations: 1.073 MB / 337.2 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-06/0.6691, allocations: 2.125 kB / 337.2 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007758/0.6698, allocations: 90.81 kB / 337.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.6699, allocations: 3.375 kB / 337.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.591e-05/0.67, allocations: 27.78 kB / 337.3 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.059e-05/0.67, allocations: 7.078 kB / 337.3 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.286e-06/0.67, allocations: 5.156 kB / 337.3 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002794/0.6728, allocations: 0.6306 MB / 338 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.197e-05/0.6729, allocations: 85.23 kB / 338.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-05/0.673, allocations: 6.25 kB / 338.1 MB, free: 12.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005443/0.6736, allocations: 34.91 kB / 338.1 MB, free: 12.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/0.6736, allocations: 18.47 kB / 338.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.848e-05/0.6737, allocations: 23.03 kB / 338.1 MB, free: 12.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.477e-05/0.6738, allocations: 82.5 kB / 338.2 MB, free: 12.69 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6738, allocations: 0 / 338.2 MB, free: 12.69 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00281/0.6766, allocations: 0.639 MB / 338.9 MB, free: 12.65 MB / 282.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.006086/0.6828, allocations: 300.1 kB / 339.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.6846, allocations: 430.3 kB / 339.6 MB, free: 12.28 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.6847, allocations: 4 kB / 339.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007678/0.6855, allocations: 178.7 kB / 339.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.6857, allocations: 19.5 kB / 339.8 MB, free: 12.19 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.689, allocations: 0.5407 MB / 340.3 MB, free: 11.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.6893, allocations: 0.696 MB / 341 MB, free: 11.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004224/0.6898, allocations: 68.47 kB / 341.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6898, allocations: 0 / 341.1 MB, free: 11.08 MB / 282.7 MB Notification: Performance of Templates: time 0.04265/0.7325, allocations: 18 MB / 359.1 MB, free: 12.46 MB / 298.7 MB