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_ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives") Notification: Performance of loadModel(ModelicaTest): time 2.38/2.38, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.981e-05/3.978e-05, allocations: 7.984 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.448/0.4481, allocations: 54.85 MB / 362.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRoot2Derivatives): time 0.0006949/0.4488, allocations: 255.3 kB / 363.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008662/0.4497, allocations: 356.6 kB / 363.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.586e-05/0.4498, allocations: 0 / 363.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.414e-05/0.4498, allocations: 0 / 363.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 2.766e-05/0.4498, allocations: 0.8125 kB / 363.5 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003654/0.4502, allocations: 75.81 kB / 363.5 MB, free: 11.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 5.114e-05/0.4503, allocations: 11.56 kB / 363.6 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.14e-05/0.4503, allocations: 8.906 kB / 363.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.477e-05/0.4504, allocations: 9.031 kB / 363.6 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.342e-05/0.4504, allocations: 17.17 kB / 363.6 MB, free: 11.83 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.4508, allocations: 131.7 kB / 363.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.491e-05/0.4508, allocations: 9.75 kB / 363.7 MB, free: 11.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.317e-05/0.4508, allocations: 9.031 kB / 363.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.465e-05/0.4509, allocations: 6.031 kB / 363.7 MB, free: 11.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.4511, allocations: 82.23 kB / 363.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.4511, allocations: 1.188 kB / 363.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.4511, allocations: 0 / 363.8 MB, free: 11.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.977e-06/0.4511, allocations: 0 / 363.8 MB, free: 11.7 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.0004564/0.4516, allocations: 357.4 kB / 364.2 MB, free: 11.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4516, allocations: 17.47 kB / 364.2 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.502e-05/0.4517, allocations: 6.797 kB / 364.2 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.4518, allocations: 164.2 kB / 364.4 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.4519, allocations: 10.02 kB / 364.4 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.4519, allocations: 7.062 kB / 364.4 MB, free: 11.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.4521, allocations: 53.7 kB / 364.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.4521, allocations: 1.031 kB / 364.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.4521, allocations: 1.031 kB / 364.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4521, allocations: 4.891 kB / 364.4 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.524e-05/0.4522, allocations: 31.8 kB / 364.5 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002115/0.4525, allocations: 168.2 kB / 364.6 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.4528, allocations: 55.28 kB / 364.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003606/0.4531, allocations: 110.8 kB / 364.8 MB, free: 10.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/0.4532, allocations: 36.12 kB / 364.8 MB, free: 10.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.4532, allocations: 0 / 364.8 MB, free: 10.64 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.2578/0.711, allocations: 6.385 MB / 371.2 MB, free: 5.223 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.7111, allocations: 55.41 kB / 371.3 MB, free: 5.156 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.458e-05/0.7112, allocations: 89.47 kB / 371.4 MB, free: 5.062 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.019e-05/0.7113, allocations: 33.7 kB / 371.4 MB, free: 5.023 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.7113, allocations: 84.12 kB / 371.5 MB, free: 4.938 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.7115, allocations: 63.09 kB / 371.5 MB, free: 4.875 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.097e-05/0.7115, allocations: 4 kB / 371.5 MB, free: 4.871 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.7117, allocations: 322.7 kB / 371.9 MB, free: 4.547 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008301/0.7126, allocations: 223.9 kB / 372.1 MB, free: 4.328 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008197/0.7134, allocations: 221.2 kB / 372.3 MB, free: 4.113 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001833/0.7152, allocations: 281.2 kB / 372.6 MB, free: 3.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7153, allocations: 0 / 372.6 MB, free: 3.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.002901/0.7182, allocations: 0.5793 MB / 373.1 MB, free: 3.254 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.7182, allocations: 11.94 kB / 373.2 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.7182, allocations: 0 / 373.2 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.7183, allocations: 0 / 373.2 MB, free: 3.242 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008961/0.7192, allocations: 95.84 kB / 373.2 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.7192, allocations: 8 kB / 373.3 MB, free: 3.141 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005652/0.7198, allocations: 19.98 kB / 373.3 MB, free: 3.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.05e-05/0.7199, allocations: 23.97 kB / 373.3 MB, free: 3.098 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.0001835/0.7201, allocations: 118.8 kB / 373.4 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/0.7201, allocations: 11.89 kB / 373.4 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003357/0.7235, allocations: 0.6794 MB / 374.1 MB, free: 2.277 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.7235, allocations: 3.984 kB / 374.1 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7236, allocations: 0 / 374.1 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.7236, allocations: 256 / 374.1 MB, free: 2.273 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005282/0.7289, allocations: 1.093 MB / 375.2 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.7289, allocations: 11.94 kB / 375.2 MB, free: 1.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007595/0.7297, allocations: 83.91 kB / 375.3 MB, free: 1.012 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.131e-05/0.7297, allocations: 4.188 kB / 375.3 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.189e-05/0.7298, allocations: 23.97 kB / 375.3 MB, free: 0.9844 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.528e-06/0.7298, allocations: 4 kB / 375.3 MB, free: 0.9805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.7298, allocations: 3.938 kB / 375.3 MB, free: 0.9766 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002657/0.7325, allocations: 0.6353 MB / 376 MB, free: 276 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.7326, allocations: 88.97 kB / 376 MB, free: 168 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.812e-05/0.7327, allocations: 4 kB / 376.1 MB, free: 164 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005238/0.7332, allocations: 27.97 kB / 376.1 MB, free: 136 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.462e-05/0.7333, allocations: 19.92 kB / 376.1 MB, free: 116 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-05/0.7333, allocations: 23.98 kB / 376.1 MB, free: 92 kB / 298.7 MB Notification: Performance of sorting global known variables: time 5.919e-05/0.7334, allocations: 83.27 kB / 376.2 MB, free: 8 kB / 298.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.7334, allocations: 0 / 376.2 MB, free: 8 kB / 298.7 MB Notification: Performance of remove unused functions: time 0.002461/0.7359, allocations: 0.6367 MB / 376.8 MB, free: 15.37 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.004705/0.7406, allocations: 291 kB / 377.1 MB, free: 15.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001748/0.7424, allocations: 434.7 kB / 377.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7424, allocations: 0 / 377.6 MB, free: 14.66 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007559/0.7432, allocations: 188.2 kB / 377.7 MB, free: 14.47 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.7434, allocations: 11.94 kB / 377.7 MB, free: 14.46 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003206/0.7466, allocations: 0.5234 MB / 378.3 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.747, allocations: 0.7007 MB / 379 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000689/0.7477, allocations: 100.9 kB / 379.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/0.7481, allocations: 67.34 kB / 379.1 MB, free: 12.99 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7481, allocations: 0 / 379.1 MB, free: 12.99 MB / 314.7 MB Notification: Performance of Templates: time 0.05174/0.7999, allocations: 20.35 MB / 399.5 MB, free: 8.621 MB / 330.7 MB