Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadModel(ModelicaTest): time 2.569/2.569, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 7.141e-05/7.165e-05, allocations: 8 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1171, allocations: 61.88 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4123/0.5294, allocations: 89.84 MB / 0.4884 GB, free: 14.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.5297, allocations: 52.52 kB / 0.4884 GB, free: 14.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1075/0.6372, allocations: 25.78 MB / 0.5136 GB, free: 4.457 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.6372, allocations: 0 / 0.5136 GB, free: 4.457 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.6372, allocations: 0 / 0.5136 GB, free: 4.457 MB / 426.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.0006842/0.6379, allocations: 432 kB / 0.514 GB, free: 3.984 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.638, allocations: 12.03 kB / 0.514 GB, free: 3.973 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.638, allocations: 0 / 0.514 GB, free: 3.973 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.6382, allocations: 167 kB / 0.5142 GB, free: 3.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.6382, allocations: 7.938 kB / 0.5142 GB, free: 3.762 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.6382, allocations: 3.984 kB / 0.5142 GB, free: 3.758 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.774e-05/0.6383, allocations: 37.69 kB / 0.5142 GB, free: 3.715 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.733e-06/0.6383, allocations: 0 / 0.5142 GB, free: 3.715 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.039e-06/0.6383, allocations: 0 / 0.5142 GB, free: 3.715 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-06/0.6384, allocations: 0 / 0.5142 GB, free: 3.715 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.599e-05/0.6384, allocations: 0 / 0.5142 GB, free: 3.715 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.6385, allocations: 145.7 kB / 0.5144 GB, free: 3.523 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.676e-05/0.6386, allocations: 22.56 kB / 0.5144 GB, free: 3.492 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.85e-05/0.6386, allocations: 4.859 kB / 0.5144 GB, free: 3.484 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.6387, allocations: 0 / 0.5144 GB, free: 3.484 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.847e-05/0.6387, allocations: 72.25 kB / 0.5145 GB, free: 3.398 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 1.877e-06/0.6387, allocations: 0 / 0.5145 GB, free: 3.398 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001595/0.6389, allocations: 59.41 kB / 0.5145 GB, free: 3.328 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.639, allocations: 77.11 kB / 0.5146 GB, free: 3.234 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.516e-05/0.6391, allocations: 89 kB / 0.5147 GB, free: 3.141 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.6391, allocations: 33.58 kB / 0.5147 GB, free: 3.102 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.318e-05/0.6391, allocations: 80.14 kB / 0.5148 GB, free: 3.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.429e-05/0.6392, allocations: 0 / 0.5148 GB, free: 3.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-06/0.6392, allocations: 0 / 0.5148 GB, free: 3.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001625/0.6393, allocations: 314.8 kB / 0.5151 GB, free: 2.703 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.182e-05/0.6394, allocations: 4.031 kB / 0.5151 GB, free: 2.699 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.613e-05/0.6394, allocations: 7.984 kB / 0.5151 GB, free: 2.691 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.502e-05/0.6394, allocations: 25.7 kB / 0.5151 GB, free: 2.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.997e-06/0.6395, allocations: 0 / 0.5151 GB, free: 2.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.807e-05/0.6396, allocations: 67.3 kB / 0.5152 GB, free: 2.582 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.6396, allocations: 29.7 kB / 0.5152 GB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.74e-06/0.6396, allocations: 0 / 0.5152 GB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.6397, allocations: 0 / 0.5152 GB, free: 2.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.397e-06/0.6397, allocations: 7.984 kB / 0.5152 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.243e-06/0.6397, allocations: 96 / 0.5152 GB, free: 2.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.728e-05/0.6397, allocations: 4 kB / 0.5152 GB, free: 2.535 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.6397, allocations: 0 / 0.5152 GB, free: 2.535 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 0.0001042/0.6398, allocations: 130.7 kB / 0.5154 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.6399, allocations: 3.953 kB / 0.5154 GB, free: 2.391 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.386e-05/0.6399, allocations: 3.125 kB / 0.5154 GB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-06/0.6399, allocations: 0 / 0.5154 GB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.297e-06/0.6399, allocations: 0 / 0.5154 GB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.682e-06/0.6399, allocations: 0 / 0.5154 GB, free: 2.383 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001421/0.6401, allocations: 153.7 kB / 0.5155 GB, free: 2.184 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.016e-06/0.6401, allocations: 4 kB / 0.5155 GB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.349e-06/0.6401, allocations: 0 / 0.5155 GB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.663e-06/0.6401, allocations: 0 / 0.5155 GB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.907e-06/0.6401, allocations: 3.953 kB / 0.5155 GB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.006e-06/0.6401, allocations: 0 / 0.5155 GB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.56e-06/0.6401, allocations: 0 / 0.5155 GB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.6403, allocations: 94.77 kB / 0.5156 GB, free: 2.059 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.6404, allocations: 77.11 kB / 0.5157 GB, free: 1.965 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.6404, allocations: 4.031 kB / 0.5157 GB, free: 1.961 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.896e-05/0.6404, allocations: 7.953 kB / 0.5157 GB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.41e-05/0.6404, allocations: 0 / 0.5157 GB, free: 1.953 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.6405, allocations: 0 / 0.5157 GB, free: 1.953 MB / 426.7 MB Notification: Performance of sorting global known variables: time 3.973e-05/0.6405, allocations: 79.22 kB / 0.5158 GB, free: 1.875 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.16e-07/0.6405, allocations: 0 / 0.5158 GB, free: 1.875 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007128/0.6412, allocations: 163.8 kB / 0.5159 GB, free: 1.715 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.001124/0.6424, allocations: 369.5 kB / 0.5163 GB, free: 1.363 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001091/0.6425, allocations: 59.34 kB / 0.5163 GB, free: 1.293 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.116e-06/0.6425, allocations: 8 kB / 0.5163 GB, free: 1.285 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.609e-05/0.6426, allocations: 51.41 kB / 0.5164 GB, free: 1.223 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.695e-05/0.6427, allocations: 4 kB / 0.5164 GB, free: 1.219 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001514/0.6428, allocations: 49.11 kB / 0.5164 GB, free: 1.148 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.6432, allocations: 0.677 MB / 0.5171 GB, free: 456 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.043e-06/0.6432, allocations: 0 / 0.5171 GB, free: 456 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.563e-05/0.6433, allocations: 7.438 kB / 0.5171 GB, free: 448 kB / 426.7 MB Notification: Performance of SimCode: time 1.366e-06/0.6433, allocations: 3.938 kB / 0.5171 GB, free: 444 kB / 426.7 MB Notification: Performance of Templates: time 0.0111/0.6544, allocations: 4.542 MB / 0.5215 GB, free: 11.88 MB / 442.7 MB