Running command: translateModel(ModelicaTest.Math.TestMatrices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices") Notification: Performance of loadModel(ModelicaTest): time 2.293/2.293, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.478e-05/2.478e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3737/0.3737, allocations: 54.86 MB / 362.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0006095/0.3744, allocations: 215.8 kB / 363.1 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.3771, allocations: 1.461 MB / 364.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.285e-05/0.3771, allocations: 0 / 364.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.019e-05/0.3772, allocations: 0 / 364.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.13e-06/0.3772, allocations: 0 / 364.5 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008396/0.378, allocations: 187 kB / 364.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.947e-05/0.3781, allocations: 0 / 364.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.3781, allocations: 1.219 kB / 364.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.529e-05/0.3781, allocations: 0 / 364.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006446/0.3788, allocations: 114.7 kB / 364.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000869/0.3797, allocations: 425.7 kB / 365.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.749e-05/0.3798, allocations: 6.094 kB / 365.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.3798, allocations: 5.297 kB / 365.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.289e-05/0.3798, allocations: 0 / 365.3 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005226/0.3803, allocations: 207.7 kB / 365.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3803, allocations: 0 / 365.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3804, allocations: 0 / 365.5 MB, free: 10.42 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.3804, allocations: 1.406 kB / 365.5 MB, free: 10.42 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004083/0.3808, allocations: 373.1 kB / 365.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3809, allocations: 10.06 kB / 365.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.3809, allocations: 0 / 365.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.381, allocations: 165.6 kB / 366 MB, free: 9.809 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.381, allocations: 0 / 366 MB, free: 9.809 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.3811, allocations: 1.375 kB / 366 MB, free: 9.809 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.512e-05/0.3812, allocations: 31.19 kB / 366 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.3812, allocations: 3.953 kB / 366 MB, free: 9.77 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.3812, allocations: 5.375 kB / 366 MB, free: 9.766 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3812, allocations: 4 kB / 366 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.385e-05/0.3813, allocations: 9.219 kB / 366.1 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.3814, allocations: 151 kB / 366.2 MB, free: 9.559 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.217e-05/0.3815, allocations: 16.05 kB / 366.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.3815, allocations: 1.344 kB / 366.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.3816, allocations: 56.27 kB / 366.3 MB, free: 9.465 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.854e-06/0.3816, allocations: 1.281 kB / 366.3 MB, free: 9.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002099/0.3818, allocations: 78.97 kB / 366.4 MB, free: 9.383 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.3819, allocations: 77.11 kB / 366.4 MB, free: 9.289 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.211e-05/0.3819, allocations: 85 kB / 366.5 MB, free: 9.199 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.382, allocations: 27.17 kB / 366.5 MB, free: 9.168 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.163e-05/0.382, allocations: 80.14 kB / 366.6 MB, free: 9.086 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.316e-05/0.382, allocations: 2.391 kB / 366.6 MB, free: 9.086 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.382, allocations: 1.375 kB / 366.6 MB, free: 9.086 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.3822, allocations: 310.8 kB / 366.9 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.3822, allocations: 9.578 kB / 366.9 MB, free: 8.766 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.826e-06/0.3822, allocations: 1.219 kB / 366.9 MB, free: 8.766 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.455e-05/0.3823, allocations: 27.23 kB / 367 MB, free: 8.734 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3823, allocations: 0 / 367 MB, free: 8.734 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.734e-05/0.3824, allocations: 66.28 kB / 367 MB, free: 8.664 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.3824, allocations: 30.98 kB / 367.1 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.161e-06/0.3824, allocations: 0 / 367.1 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-05/0.3825, allocations: 5.234 kB / 367.1 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.723e-06/0.3825, allocations: 0 / 367.1 MB, free: 8.629 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.3825, allocations: 4.094 kB / 367.1 MB, free: 8.625 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.421e-05/0.3825, allocations: 5.578 kB / 367.1 MB, free: 8.621 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.3826, allocations: 0 / 367.1 MB, free: 8.621 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: 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.703e-05/0.3827, allocations: 134.3 kB / 367.2 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.3827, allocations: 1.188 kB / 367.2 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.113e-05/0.3827, allocations: 3.125 kB / 367.2 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.3827, allocations: 0 / 367.2 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3827, allocations: 1.031 kB / 367.2 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3827, allocations: 0 / 367.2 MB, free: 8.477 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.3829, allocations: 156 kB / 367.4 MB, free: 8.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3829, allocations: 4 kB / 367.4 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.212e-06/0.3829, allocations: 0 / 367.4 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.96e-06/0.3829, allocations: 1.125 kB / 367.4 MB, free: 8.273 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.584e-06/0.3829, allocations: 3.938 kB / 367.4 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3829, allocations: 1.219 kB / 367.4 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3829, allocations: 0 / 367.4 MB, free: 8.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001315/0.3831, allocations: 97.22 kB / 367.5 MB, free: 8.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.3831, allocations: 86.11 kB / 367.6 MB, free: 8.059 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.3832, allocations: 5.125 kB / 367.6 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.302e-05/0.3832, allocations: 1.219 kB / 367.6 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.3832, allocations: 0 / 367.6 MB, free: 8.055 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.3832, allocations: 1.125 kB / 367.6 MB, free: 8.055 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.179e-05/0.3833, allocations: 75.28 kB / 367.6 MB, free: 7.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.3833, allocations: 0 / 367.6 MB, free: 7.98 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000456/0.3837, allocations: 64.67 kB / 367.7 MB, free: 7.965 MB / 298.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.0006776/0.3844, allocations: 199.3 kB / 367.9 MB, free: 7.824 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.3846, allocations: 60.41 kB / 367.9 MB, free: 7.758 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3846, allocations: 0 / 367.9 MB, free: 7.758 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.636e-05/0.3847, allocations: 54.62 kB / 368 MB, free: 7.695 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.3849, allocations: 9.984 kB / 368 MB, free: 7.688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002066/0.3851, allocations: 79.84 kB / 368.1 MB, free: 7.59 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.3854, allocations: 0.6753 MB / 368.8 MB, free: 6.891 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.719e-06/0.3854, allocations: 1 kB / 368.8 MB, free: 6.891 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.425e-05/0.3854, allocations: 12.53 kB / 368.8 MB, free: 6.879 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3855, allocations: 0 / 368.8 MB, free: 6.879 MB / 298.7 MB Notification: Performance of Templates: time 0.0052/0.3907, allocations: 1.259 MB / 370 MB, free: 6.164 MB / 298.7 MB