Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices") Notification: Performance of loadModel(ModelicaTest): time 2.151/2.151, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.284e-05/3.31e-05, allocations: 4 kB / 304.9 MB, free: 5.672 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3231, allocations: 54.86 MB / 359.8 MB, free: 2.66 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.4512, allocations: 81.36 MB / 441.1 MB, free: 15.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.4515, allocations: 59.97 kB / 441.2 MB, free: 15.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01204/0.4635, allocations: 2.687 MB / 443.9 MB, free: 12.92 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.082e-06/0.4636, allocations: 4 kB / 443.9 MB, free: 12.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.996e-06/0.4636, allocations: 0 / 443.9 MB, free: 12.91 MB / 378.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.000434/0.464, allocations: 372.1 kB / 444.2 MB, free: 12.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4641, allocations: 12.03 kB / 444.2 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.4641, allocations: 0 / 444.2 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001183/0.4643, allocations: 159.1 kB / 444.4 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.4643, allocations: 0 / 444.4 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.888e-06/0.4643, allocations: 0 / 444.4 MB, free: 12.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.15e-05/0.4644, allocations: 45.58 kB / 444.4 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.773e-06/0.4644, allocations: 4 kB / 444.4 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.4644, allocations: 0 / 444.4 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.316e-06/0.4645, allocations: 0 / 444.4 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.702e-05/0.4645, allocations: 0 / 444.4 MB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001625/0.4647, allocations: 147 kB / 444.6 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.195e-05/0.4647, allocations: 14.58 kB / 444.6 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.777e-05/0.4647, allocations: 8.891 kB / 444.6 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.4648, allocations: 7.984 kB / 444.6 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.46e-05/0.4648, allocations: 64.27 kB / 444.7 MB, free: 11.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 2.142e-06/0.4649, allocations: 0 / 444.7 MB, free: 11.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001791/0.465, allocations: 67.3 kB / 444.7 MB, free: 11.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.4651, allocations: 79.73 kB / 444.8 MB, free: 11.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.821e-05/0.4652, allocations: 85 kB / 444.9 MB, free: 11.66 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.4652, allocations: 25.7 kB / 444.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/0.4653, allocations: 150.6 kB / 445.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.969e-05/0.4653, allocations: 0 / 445.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.887e-06/0.4653, allocations: 4.031 kB / 445.1 MB, free: 11.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.4655, allocations: 318.8 kB / 445.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.086e-05/0.4655, allocations: 0 / 445.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.645e-06/0.4656, allocations: 0 / 445.4 MB, free: 11.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.648e-05/0.4656, allocations: 29.7 kB / 445.4 MB, free: 11.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.277e-06/0.4656, allocations: 4 kB / 445.4 MB, free: 11.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.94e-05/0.4657, allocations: 55.41 kB / 445.5 MB, free: 11.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.1e-05/0.4658, allocations: 35.42 kB / 445.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.4658, allocations: 12.02 kB / 445.5 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.4658, allocations: 0 / 445.5 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.291e-06/0.4659, allocations: 3.953 kB / 445.5 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.315e-06/0.4659, allocations: 0 / 445.5 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.4659, allocations: 0 / 445.5 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-06/0.4659, allocations: 0 / 445.5 MB, free: 11 MB / 378.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.0001071/0.466, allocations: 130.7 kB / 445.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.011e-05/0.4661, allocations: 0 / 445.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.544e-05/0.4661, allocations: 4.688 kB / 445.7 MB, free: 10.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.618e-06/0.4661, allocations: 4 kB / 445.7 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.962e-06/0.4661, allocations: 3.953 kB / 445.7 MB, free: 10.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.954e-06/0.4661, allocations: 4 kB / 445.7 MB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.4663, allocations: 149.7 kB / 445.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.802e-06/0.4663, allocations: 0 / 445.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.382e-06/0.4663, allocations: 0 / 445.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.612e-06/0.4663, allocations: 1.031 kB / 445.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.4663, allocations: 3.984 kB / 445.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.399e-06/0.4663, allocations: 4 kB / 445.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4663, allocations: 3.938 kB / 445.8 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.4665, allocations: 90.78 kB / 445.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.4666, allocations: 90.28 kB / 446 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.4666, allocations: 3.938 kB / 446 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.367e-05/0.4666, allocations: 0 / 446 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.5e-05/0.4666, allocations: 0 / 446 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-06/0.4666, allocations: 0 / 446 MB, free: 10.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.54e-05/0.4667, allocations: 75.28 kB / 446.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.4667, allocations: 4.656 kB / 446.1 MB, free: 10.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004701/0.4672, allocations: 87.91 kB / 446.2 MB, free: 10.25 MB / 378.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.0006207/0.4678, allocations: 206.3 kB / 446.4 MB, free: 10.05 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001095/0.468, allocations: 63.39 kB / 446.4 MB, free: 9.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.861e-06/0.468, allocations: 0 / 446.4 MB, free: 9.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.559e-05/0.468, allocations: 56.44 kB / 446.5 MB, free: 9.906 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001029/0.4681, allocations: 5.828 kB / 446.5 MB, free: 9.902 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001668/0.4683, allocations: 70.7 kB / 446.6 MB, free: 9.805 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.4687, allocations: 0.6732 MB / 447.2 MB, free: 9.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.524e-05/0.4687, allocations: 15.44 kB / 447.3 MB, free: 9.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.692e-06/0.4687, allocations: 0 / 447.3 MB, free: 9.09 MB / 378.7 MB Notification: Performance of Templates: time 0.003969/0.4727, allocations: 1.428 MB / 448.7 MB, free: 7.668 MB / 378.7 MB