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.2_ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives") Notification: Performance of loadModel(ModelicaTest): time 2.336/2.336, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.182e-05, allocations: 4 kB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4515/0.4516, allocations: 54.86 MB / 362.9 MB, free: 12.13 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegSquare2Derivatives): time 0.0007927/0.4524, allocations: 260 kB / 363.1 MB, free: 11.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008585/0.4533, allocations: 325.7 kB / 363.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/0.4533, allocations: 0 / 363.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.4534, allocations: 0 / 363.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.748e-05/0.4534, allocations: 3.938 kB / 363.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003276/0.4538, allocations: 63.83 kB / 363.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 4.894e-05/0.4538, allocations: 11.48 kB / 363.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.333e-05/0.4539, allocations: 1.656 kB / 363.5 MB, free: 11.62 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.913e-05/0.4539, allocations: 12.59 kB / 363.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.566e-05/0.454, allocations: 12.64 kB / 363.5 MB, free: 11.6 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003375/0.4543, allocations: 105.8 kB / 363.6 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.4544, allocations: 9.844 kB / 363.7 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.4544, allocations: 9.531 kB / 363.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.58e-05/0.4544, allocations: 1.312 kB / 363.7 MB, free: 11.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001814/0.4546, allocations: 68.31 kB / 363.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4547, allocations: 0 / 363.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.4547, allocations: 4 kB / 363.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.4547, allocations: 3.938 kB / 363.7 MB, free: 11.49 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.0004822/0.4552, allocations: 352 kB / 364.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.4552, allocations: 17.45 kB / 364.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.4553, allocations: 5.203 kB / 364.1 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.4554, allocations: 165.3 kB / 364.3 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.4555, allocations: 5.297 kB / 364.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.386e-05/0.4555, allocations: 11.12 kB / 364.3 MB, free: 10.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.4557, allocations: 61.8 kB / 364.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.4557, allocations: 1.094 kB / 364.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.4557, allocations: 1.062 kB / 364.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.4558, allocations: 0.9688 kB / 364.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.896e-05/0.4559, allocations: 28.09 kB / 364.4 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.4561, allocations: 171.3 kB / 364.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003405/0.4564, allocations: 56.89 kB / 364.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004546/0.4569, allocations: 121.3 kB / 364.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.457, allocations: 32.47 kB / 364.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.364e-06/0.457, allocations: 0 / 364.7 MB, free: 10.43 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.08347/0.5405, allocations: 2.822 MB / 367.6 MB, free: 8.754 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.5406, allocations: 55.41 kB / 367.6 MB, free: 8.688 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/0.5407, allocations: 92.98 kB / 367.7 MB, free: 8.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.868e-05/0.5407, allocations: 33.7 kB / 367.7 MB, free: 8.551 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.5408, allocations: 80.14 kB / 367.8 MB, free: 8.469 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001195/0.5409, allocations: 59.11 kB / 367.9 MB, free: 8.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.541, allocations: 7.938 kB / 367.9 MB, free: 8.402 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5411, allocations: 326.8 kB / 368.2 MB, free: 8.074 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007314/0.5419, allocations: 187.9 kB / 368.4 MB, free: 7.891 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007359/0.5426, allocations: 189.6 kB / 368.6 MB, free: 7.707 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009355/0.5436, allocations: 219.9 kB / 368.8 MB, free: 7.492 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.5436, allocations: 0 / 368.8 MB, free: 7.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001861/0.5455, allocations: 486.5 kB / 369.3 MB, free: 7.012 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.5455, allocations: 8 kB / 369.3 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.5455, allocations: 4 kB / 369.3 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.5456, allocations: 0 / 369.3 MB, free: 7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007188/0.5463, allocations: 79.94 kB / 369.4 MB, free: 6.922 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.5463, allocations: 7.891 kB / 369.4 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003943/0.5467, allocations: 27.97 kB / 369.4 MB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.866e-05/0.5468, allocations: 19.98 kB / 369.4 MB, free: 6.867 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.0001714/0.547, allocations: 113.8 kB / 369.5 MB, free: 6.746 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.65e-05/0.5471, allocations: 7.906 kB / 369.5 MB, free: 6.738 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002326/0.5494, allocations: 0.573 MB / 370.1 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.217e-06/0.5494, allocations: 7.984 kB / 370.1 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5494, allocations: 256 / 370.1 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5495, allocations: 0 / 370.1 MB, free: 6.145 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003959/0.5534, allocations: 0.9516 MB / 371.1 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/0.5535, allocations: 0 / 371.1 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006324/0.5541, allocations: 76.34 kB / 371.1 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.5541, allocations: 4.188 kB / 371.1 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.5542, allocations: 20 kB / 371.2 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.5542, allocations: 4 kB / 371.2 MB, free: 5.016 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/0.5542, allocations: 3.984 kB / 371.2 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.5559, allocations: 0.5508 MB / 371.7 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.556, allocations: 89.02 kB / 371.8 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.794e-05/0.5561, allocations: 7.953 kB / 371.8 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003648/0.5565, allocations: 35.91 kB / 371.9 MB, free: 4.242 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.108e-05/0.5565, allocations: 11.98 kB / 371.9 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.227e-05/0.5566, allocations: 16 kB / 371.9 MB, free: 4.215 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.986e-05/0.5567, allocations: 83.27 kB / 372 MB, free: 4.133 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5567, allocations: 0 / 372 MB, free: 4.133 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001524/0.5582, allocations: 316 kB / 372.3 MB, free: 3.824 MB / 298.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.002184/0.5604, allocations: 235 kB / 372.5 MB, free: 3.586 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00156/0.562, allocations: 374.8 kB / 372.9 MB, free: 3.223 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.562, allocations: 0 / 372.9 MB, free: 3.223 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006982/0.5627, allocations: 168.1 kB / 373 MB, free: 3.059 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002186/0.563, allocations: 4 kB / 373 MB, free: 3.055 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.5652, allocations: 484.1 kB / 373.5 MB, free: 2.535 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/0.5656, allocations: 0.7007 MB / 374.2 MB, free: 1.805 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0008471/0.5665, allocations: 92.88 kB / 374.3 MB, free: 1.711 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.5668, allocations: 51.41 kB / 374.3 MB, free: 1.66 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5668, allocations: 0 / 374.3 MB, free: 1.66 MB / 298.7 MB Notification: Performance of Templates: time 0.02272/0.5895, allocations: 7.708 MB / 382.1 MB, free: 9.973 MB / 314.7 MB