Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices") Notification: Performance of loadModel(ModelicaTest): time 2.391/2.391, allocations: 270 MB / 283.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.939e-05/2.946e-05, allocations: 4 kB / 348.4 MB, free: 2.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3213, allocations: 61.88 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1359/0.4573, allocations: 87.46 MB / 497.7 MB, free: 3.137 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.4575, allocations: 63.97 kB / 497.8 MB, free: 3.074 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01177/0.4693, allocations: 2.742 MB / 0.4888 GB, free: 336 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.065e-06/0.4693, allocations: 0 / 0.4888 GB, free: 336 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.993e-06/0.4694, allocations: 0 / 0.4888 GB, free: 336 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004287/0.4698, allocations: 376.1 kB / 0.4892 GB, free: 15.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.4699, allocations: 12.03 kB / 0.4892 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.4699, allocations: 0 / 0.4892 GB, free: 15.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.47, allocations: 163 kB / 0.4893 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.4701, allocations: 3.984 kB / 0.4893 GB, free: 15.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.359e-05/0.4701, allocations: 7.938 kB / 0.4893 GB, free: 15.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.45e-05/0.4702, allocations: 33.7 kB / 0.4894 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.32e-06/0.4702, allocations: 0 / 0.4894 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.665e-06/0.4702, allocations: 0 / 0.4894 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.694e-06/0.4702, allocations: 0 / 0.4894 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.009e-05/0.4703, allocations: 4 kB / 0.4894 GB, free: 15.64 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001545/0.4704, allocations: 145.6 kB / 0.4895 GB, free: 15.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.217e-05/0.4705, allocations: 14.58 kB / 0.4895 GB, free: 15.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.4705, allocations: 16.94 kB / 0.4895 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.826e-06/0.4705, allocations: 3.938 kB / 0.4895 GB, free: 15.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.4706, allocations: 64.2 kB / 0.4896 GB, free: 15.33 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.089e-06/0.4706, allocations: 0 / 0.4896 GB, free: 15.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001562/0.4708, allocations: 59.41 kB / 0.4897 GB, free: 15.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.4708, allocations: 77.11 kB / 0.4897 GB, free: 15.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.874e-05/0.4709, allocations: 85 kB / 0.4898 GB, free: 15.07 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.4709, allocations: 25.7 kB / 0.4898 GB, free: 15.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.471, allocations: 84.17 kB / 0.4899 GB, free: 14.96 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.471, allocations: 0 / 0.4899 GB, free: 14.96 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.502e-06/0.471, allocations: 7.938 kB / 0.4899 GB, free: 14.95 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.4712, allocations: 314.8 kB / 0.4902 GB, free: 14.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.494e-06/0.4712, allocations: 0 / 0.4902 GB, free: 14.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.016e-05/0.4712, allocations: 4 kB / 0.4902 GB, free: 14.63 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.937e-05/0.4713, allocations: 29.7 kB / 0.4903 GB, free: 14.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.107e-06/0.4713, allocations: 0 / 0.4903 GB, free: 14.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.704e-05/0.4714, allocations: 67.36 kB / 0.4903 GB, free: 14.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.495e-05/0.4715, allocations: 37.69 kB / 0.4904 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.965e-06/0.4715, allocations: 0 / 0.4904 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.4715, allocations: 0 / 0.4904 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.493e-06/0.4715, allocations: 0 / 0.4904 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.794e-06/0.4715, allocations: 0 / 0.4904 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.67e-05/0.4716, allocations: 0 / 0.4904 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.4716, allocations: 4 kB / 0.4904 GB, free: 14.47 MB / 426.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: 1 (result) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 9.64e-05/0.4717, allocations: 126.7 kB / 0.4905 GB, free: 14.33 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.4717, allocations: 7.984 kB / 0.4905 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.416e-05/0.4717, allocations: 3.125 kB / 0.4905 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.322e-06/0.4717, allocations: 4 kB / 0.4905 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.468e-06/0.4718, allocations: 0 / 0.4905 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.802e-06/0.4718, allocations: 0 / 0.4905 GB, free: 14.31 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001405/0.4719, allocations: 149.7 kB / 0.4906 GB, free: 14.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.911e-06/0.4719, allocations: 4 kB / 0.4906 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.218e-06/0.4719, allocations: 0 / 0.4906 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.77e-06/0.472, allocations: 3.953 kB / 0.4907 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.472, allocations: 4 kB / 0.4907 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.472, allocations: 0 / 0.4907 GB, free: 14.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.625e-06/0.472, allocations: 4 kB / 0.4907 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001326/0.4721, allocations: 94.77 kB / 0.4908 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.969e-05/0.4722, allocations: 77.11 kB / 0.4908 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.4722, allocations: 3.953 kB / 0.4908 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.248e-05/0.4722, allocations: 0 / 0.4908 GB, free: 13.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.795e-05/0.4723, allocations: 3.984 kB / 0.4908 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.908e-06/0.4723, allocations: 4 kB / 0.4908 GB, free: 13.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 4.027e-05/0.4723, allocations: 87.23 kB / 0.4909 GB, free: 13.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.4724, allocations: 0 / 0.4909 GB, free: 13.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004424/0.4728, allocations: 83.86 kB / 0.491 GB, free: 13.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0005739/0.4734, allocations: 208.1 kB / 0.4912 GB, free: 13.51 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.4735, allocations: 67.34 kB / 0.4913 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.416e-06/0.4735, allocations: 0 / 0.4913 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.925e-05/0.4736, allocations: 59.34 kB / 0.4913 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.197e-05/0.4737, allocations: 0 / 0.4913 GB, free: 13.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001433/0.4739, allocations: 49.23 kB / 0.4914 GB, free: 13.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.4742, allocations: 0.677 MB / 0.492 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.95e-06/0.4742, allocations: 0 / 0.492 GB, free: 12.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.4743, allocations: 7.438 kB / 0.492 GB, free: 12.58 MB / 426.7 MB Notification: Performance of SimCode: time 1.395e-06/0.4743, allocations: 0 / 0.492 GB, free: 12.58 MB / 426.7 MB Notification: Performance of Templates: time 0.004871/0.4791, allocations: 1.438 MB / 0.4934 GB, free: 11.14 MB / 426.7 MB