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_trunk_cpp_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadModel(ModelicaTest): time 2.325/2.325, allocations: 269 MB / 284.1 MB, free: 3.551 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.689e-05/2.689e-05, allocations: 0 / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1384, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0008368/0.1393, allocations: 248.6 kB / 411.2 MB, free: 12.61 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001122/0.1405, allocations: 357.1 kB / 411.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.116e-05/0.1405, allocations: 3.938 kB / 411.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.558e-05/0.1406, allocations: 7.938 kB / 411.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 4.13e-05/0.1406, allocations: 3.984 kB / 411.5 MB, free: 12.24 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004861/0.1411, allocations: 75.75 kB / 411.6 MB, free: 12.17 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 5.723e-05/0.1412, allocations: 15.92 kB / 411.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.282e-05/0.1413, allocations: 0 / 411.6 MB, free: 12.15 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.846e-05/0.1413, allocations: 8 kB / 411.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.424e-05/0.1414, allocations: 19.92 kB / 411.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004377/0.1418, allocations: 147.8 kB / 411.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.298e-05/0.1419, allocations: 8 kB / 411.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/0.142, allocations: 11.98 kB / 411.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.619e-05/0.142, allocations: 0 / 411.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.1423, allocations: 71.89 kB / 411.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1423, allocations: 0 / 411.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1423, allocations: 0 / 411.9 MB, free: 11.89 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1423, allocations: 0 / 411.9 MB, free: 11.89 MB / 346.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.0005628/0.1429, allocations: 367.5 kB / 412.2 MB, free: 11.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.143, allocations: 11.97 kB / 412.2 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/0.143, allocations: 7.984 kB / 412.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.1432, allocations: 163 kB / 412.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.331e-05/0.1433, allocations: 11.98 kB / 412.4 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.1433, allocations: 7.953 kB / 412.4 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.1435, allocations: 49.69 kB / 412.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2e-05/0.1435, allocations: 0 / 412.5 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.1436, allocations: 7.875 kB / 412.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1436, allocations: 0 / 412.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.1437, allocations: 31.97 kB / 412.5 MB, free: 11.15 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.144, allocations: 173.6 kB / 412.7 MB, free: 10.93 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003504/0.1444, allocations: 54.83 kB / 412.7 MB, free: 10.87 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005243/0.1449, allocations: 121 kB / 412.9 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.145, allocations: 42.69 kB / 412.9 MB, free: 10.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.124e-06/0.145, allocations: 0 / 412.9 MB, free: 10.68 MB / 346.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.2826/0.4276, allocations: 6.603 MB / 419.5 MB, free: 4.043 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.4277, allocations: 51.41 kB / 419.6 MB, free: 3.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.908e-05/0.4278, allocations: 93 kB / 419.6 MB, free: 3.883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.763e-05/0.4279, allocations: 33.7 kB / 419.7 MB, free: 3.844 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.428, allocations: 150.6 kB / 419.8 MB, free: 3.695 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.4281, allocations: 63.09 kB / 419.9 MB, free: 3.633 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.617e-05/0.4282, allocations: 4 kB / 419.9 MB, free: 3.629 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.4283, allocations: 314.8 kB / 420.2 MB, free: 3.312 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.4294, allocations: 248.3 kB / 420.4 MB, free: 3.07 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.4305, allocations: 243.8 kB / 420.7 MB, free: 2.832 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002079/0.4326, allocations: 302.3 kB / 421 MB, free: 2.539 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.688e-06/0.4326, allocations: 0 / 421 MB, free: 2.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.003472/0.4361, allocations: 0.6338 MB / 421.6 MB, free: 1.898 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.4362, allocations: 11.92 kB / 421.6 MB, free: 1.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.4362, allocations: 4 kB / 421.6 MB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.4363, allocations: 4 kB / 421.6 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.4376, allocations: 115.8 kB / 421.7 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.4376, allocations: 0 / 421.7 MB, free: 1.766 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009394/0.4385, allocations: 31.97 kB / 421.8 MB, free: 1.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.4387, allocations: 35.94 kB / 421.8 MB, free: 1.699 MB / 346.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.000212/0.4389, allocations: 117.8 kB / 421.9 MB, free: 1.574 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.798e-05/0.439, allocations: 11.86 kB / 421.9 MB, free: 1.562 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004079/0.4431, allocations: 0.7555 MB / 422.7 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.4431, allocations: 4 kB / 422.7 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4432, allocations: 0 / 422.7 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.4432, allocations: 3.984 kB / 422.7 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3299/0.7731, allocations: 1.225 MB / 423.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.7731, allocations: 0.9375 kB / 423.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.7743, allocations: 111 kB / 424 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.264e-05/0.7743, allocations: 3.094 kB / 424 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.316e-05/0.7744, allocations: 28.11 kB / 424.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.7744, allocations: 4.594 kB / 424.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/0.7744, allocations: 4.312 kB / 424.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003381/0.7778, allocations: 0.6779 MB / 424.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.344e-05/0.7779, allocations: 88.5 kB / 424.8 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.7781, allocations: 6.141 kB / 424.8 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008525/0.7789, allocations: 38.38 kB / 424.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.779, allocations: 15.36 kB / 424.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.7791, allocations: 30.14 kB / 424.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.03e-05/0.7792, allocations: 83.33 kB / 425 MB, free: 11.44 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.7792, allocations: 3.922 kB / 425 MB, free: 11.44 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002674/0.7818, allocations: 0.6462 MB / 425.7 MB, free: 11.44 MB / 346.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.005015/0.7869, allocations: 298.7 kB / 425.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.7895, allocations: 476.9 kB / 426.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/0.7895, allocations: 0 / 426.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.7907, allocations: 218.9 kB / 426.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002546/0.7909, allocations: 12.09 kB / 426.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0046/0.7955, allocations: 0.6083 MB / 427.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.7958, allocations: 0.6963 MB / 427.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005692/0.7964, allocations: 89.05 kB / 428 MB, free: 10.38 MB / 346.7 MB Notification: Performance of SimCode: time 1.693e-06/0.7964, allocations: 3.656 kB / 428 MB, free: 10.38 MB / 346.7 MB Notification: Performance of Templates: time 0.04358/0.84, allocations: 19.01 MB / 447.1 MB, free: 2.797 MB / 346.7 MB