Running command: translateModel(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|ydd|k1|k2|y2|y2d|y2dd",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadModel(ModelicaTest): time 2.076/2.076, allocations: 209.3 MB / 223.8 MB, free: 448 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.628e-05, allocations: 0 / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.382, allocations: 48.7 MB / 324.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0008102/0.3829, allocations: 259 kB / 325.1 MB, free: 3.254 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007955/0.3837, allocations: 325 kB / 325.4 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.955e-05/0.3838, allocations: 1.062 kB / 325.4 MB, free: 3.094 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.3838, allocations: 3.938 kB / 325.5 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 3.506e-05/0.3838, allocations: 1.562 kB / 325.5 MB, free: 3.09 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.3841, allocations: 61.08 kB / 325.5 MB, free: 3.066 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 4.648e-05/0.3842, allocations: 18.81 kB / 325.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.414e-05/0.3843, allocations: 0.5156 kB / 325.5 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.016e-05/0.3843, allocations: 12.86 kB / 325.5 MB, free: 3.051 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.522e-05/0.3844, allocations: 17.73 kB / 325.6 MB, free: 3.043 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002948/0.3847, allocations: 102.8 kB / 325.7 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.87e-05/0.3847, allocations: 8 kB / 325.7 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.606e-05/0.3848, allocations: 4.344 kB / 325.7 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.902e-05/0.3848, allocations: 2.312 kB / 325.7 MB, free: 3.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.385, allocations: 66.14 kB / 325.7 MB, free: 3.008 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.385, allocations: 0 / 325.7 MB, free: 3.008 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.828e-06/0.385, allocations: 4.656 kB / 325.7 MB, free: 3.004 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.385, allocations: 0 / 325.7 MB, free: 3.004 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.0004255/0.3855, allocations: 353.2 kB / 326.1 MB, free: 2.633 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.3855, allocations: 9.25 kB / 326.1 MB, free: 2.633 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.3856, allocations: 5.969 kB / 326.1 MB, free: 2.629 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.3857, allocations: 169 kB / 326.3 MB, free: 2.43 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.3857, allocations: 6.016 kB / 326.3 MB, free: 2.426 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.335e-05/0.3858, allocations: 8.094 kB / 326.3 MB, free: 2.422 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.3859, allocations: 47.22 kB / 326.3 MB, free: 2.387 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/0.386, allocations: 5.094 kB / 326.3 MB, free: 2.383 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.386, allocations: 5.812 kB / 326.3 MB, free: 2.379 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/0.386, allocations: 1.219 kB / 326.3 MB, free: 2.379 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.3861, allocations: 28.55 kB / 326.4 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002233/0.3864, allocations: 168.4 kB / 326.5 MB, free: 2.172 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002955/0.3867, allocations: 59.67 kB / 326.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000404/0.3871, allocations: 120.6 kB / 326.7 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.3871, allocations: 36.39 kB / 326.7 MB, free: 1.992 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.973e-06/0.3871, allocations: 288 / 326.7 MB, free: 1.992 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.08193/0.4691, allocations: 2.807 MB / 329.6 MB, free: 1.301 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.537e-05/0.4692, allocations: 58.8 kB / 329.6 MB, free: 1.234 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.349e-05/0.4693, allocations: 102.2 kB / 329.7 MB, free: 1.137 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/0.4693, allocations: 34.41 kB / 329.7 MB, free: 1.098 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.4694, allocations: 84.33 kB / 329.8 MB, free: 1.016 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.4695, allocations: 59.39 kB / 329.9 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.328e-05/0.4696, allocations: 5.375 kB / 329.9 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.132e-05/0.4696, allocations: 321 kB / 330.2 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007594/0.4704, allocations: 187.1 kB / 330.4 MB, free: 0.5859 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007286/0.4712, allocations: 195.6 kB / 330.6 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009381/0.4721, allocations: 218.8 kB / 330.8 MB, free: 448 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.4721, allocations: 0 / 330.8 MB, free: 448 kB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001856/0.474, allocations: 490.6 kB / 331.3 MB, free: 260 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.4741, allocations: 6.5 kB / 331.3 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.4741, allocations: 0 / 331.3 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.4741, allocations: 6.312 kB / 331.3 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007378/0.4748, allocations: 78.58 kB / 331.4 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.4749, allocations: 1.188 kB / 331.4 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004115/0.4753, allocations: 30.08 kB / 331.4 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-05/0.4754, allocations: 17.19 kB / 331.4 MB, free: 244 kB / 266.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.000145/0.4755, allocations: 121.2 kB / 331.5 MB, free: 116 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.758e-05/0.4756, allocations: 7.875 kB / 331.5 MB, free: 112 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.478, allocations: 0.5746 MB / 332.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.4781, allocations: 3.375 kB / 332.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.4781, allocations: 0.5 kB / 332.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.4781, allocations: 2.484 kB / 332.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00384/0.4819, allocations: 0.9404 MB / 333.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/0.482, allocations: 1.094 kB / 333.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005974/0.4826, allocations: 77.23 kB / 333.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-05/0.4826, allocations: 2.312 kB / 333.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.455e-05/0.4827, allocations: 26.52 kB / 333.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/0.4827, allocations: 2.875 kB / 333.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.4827, allocations: 6.844 kB / 333.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.4845, allocations: 0.5453 MB / 333.7 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.076e-05/0.4846, allocations: 85.2 kB / 333.8 MB, free: 14.92 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.952e-05/0.4847, allocations: 9.578 kB / 333.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/0.485, allocations: 28.14 kB / 333.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.4851, allocations: 27.28 kB / 333.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.215e-05/0.4852, allocations: 16.36 kB / 333.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.448e-05/0.4853, allocations: 84.12 kB / 334 MB, free: 14.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4853, allocations: 0 / 334 MB, free: 14.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001411/0.4867, allocations: 312.3 kB / 334.3 MB, free: 14.79 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.002116/0.4888, allocations: 233.4 kB / 334.5 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001648/0.4905, allocations: 367.3 kB / 334.9 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.4905, allocations: 0 / 334.9 MB, free: 14.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006757/0.4912, allocations: 166.9 kB / 335 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.4915, allocations: 9 kB / 335 MB, free: 14.53 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.4938, allocations: 481.9 kB / 335.5 MB, free: 14.28 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.4942, allocations: 0.7023 MB / 336.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006532/0.4949, allocations: 92.91 kB / 336.3 MB, free: 13.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/0.4952, allocations: 48.11 kB / 336.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.4952, allocations: 9.406 kB / 336.3 MB, free: 13.52 MB / 282.7 MB Notification: Performance of Templates: time 0.02229/0.5175, allocations: 7.7 MB / 344 MB, free: 9.914 MB / 282.7 MB