Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadModel(ModelicaTest): time 2.406/2.406, allocations: 234.9 MB / 250.1 MB, free: 9.801 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.178e-05/4.183e-05, allocations: 8 kB / 308 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3553, allocations: 54.85 MB / 362.8 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0007999/0.3562, allocations: 220.3 kB / 363.1 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005331/0.3616, allocations: 1.958 MB / 365 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.955e-05/0.3617, allocations: 0 / 365 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.216e-05/0.3617, allocations: 0 / 365 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.582e-06/0.3617, allocations: 0 / 365 MB, free: 9.598 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003054/0.3648, allocations: 0.5495 MB / 365.6 MB, free: 9.047 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.819e-05/0.3648, allocations: 4 kB / 365.6 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.224e-05/0.3649, allocations: 0 / 365.6 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.718e-05/0.3649, allocations: 0 / 365.6 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01524/0.3802, allocations: 4.708 MB / 370.3 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.3802, allocations: 0 / 370.3 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.3802, allocations: 0 / 370.3 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.118e-05/0.3803, allocations: 0 / 370.3 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.538e-05/0.3803, allocations: 0 / 370.3 MB, free: 4.336 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 3.388e-05/0.3803, allocations: 0 / 370.3 MB, free: 4.336 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3804, allocations: 0 / 370.3 MB, free: 4.336 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.3804, allocations: 0 / 370.3 MB, free: 4.336 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.3e-05/0.3804, allocations: 0 / 370.3 MB, free: 4.336 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.0003759/0.3808, allocations: 342 kB / 370.6 MB, free: 3.949 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.3809, allocations: 12.09 kB / 370.6 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.3809, allocations: 0 / 370.6 MB, free: 3.938 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.3811, allocations: 163.1 kB / 370.8 MB, free: 3.738 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.3811, allocations: 4 kB / 370.8 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.3811, allocations: 0 / 370.8 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.3812, allocations: 29.66 kB / 370.8 MB, free: 3.699 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.3813, allocations: 4 kB / 370.8 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3813, allocations: 0 / 370.8 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.3813, allocations: 0 / 370.8 MB, free: 3.695 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.804e-05/0.3813, allocations: 7.938 kB / 370.8 MB, free: 3.688 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001951/0.3815, allocations: 145.7 kB / 371 MB, free: 3.496 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.937e-05/0.3816, allocations: 26.59 kB / 371 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071e-05/0.3817, allocations: 0 / 371 MB, free: 3.461 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.279e-05/0.3817, allocations: 56.27 kB / 371 MB, free: 3.391 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.854e-06/0.3818, allocations: 0 / 371 MB, free: 3.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002216/0.382, allocations: 67.36 kB / 371.1 MB, free: 3.312 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/0.3821, allocations: 81.23 kB / 371.2 MB, free: 3.215 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.296e-05/0.3822, allocations: 88.94 kB / 371.3 MB, free: 3.121 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.3822, allocations: 29.7 kB / 371.3 MB, free: 3.086 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.812e-05/0.3823, allocations: 154.6 kB / 371.5 MB, free: 2.934 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.3823, allocations: 0 / 371.5 MB, free: 2.934 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.3823, allocations: 0 / 371.5 MB, free: 2.934 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.3825, allocations: 314.8 kB / 371.8 MB, free: 2.617 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.191e-05/0.3825, allocations: 0 / 371.8 MB, free: 2.617 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.438e-05/0.3826, allocations: 8 kB / 371.8 MB, free: 2.609 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.655e-05/0.3826, allocations: 25.7 kB / 371.8 MB, free: 2.578 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3826, allocations: 0 / 371.8 MB, free: 2.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001187/0.3828, allocations: 67.28 kB / 371.9 MB, free: 2.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.825e-05/0.3828, allocations: 29.7 kB / 371.9 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.3828, allocations: 0 / 371.9 MB, free: 2.465 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.3829, allocations: 3.984 kB / 371.9 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.899e-06/0.3829, allocations: 4 kB / 371.9 MB, free: 2.457 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.3829, allocations: 3.953 kB / 371.9 MB, free: 2.453 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.391e-05/0.383, allocations: 4.094 kB / 371.9 MB, free: 2.449 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.383, allocations: 4 kB / 371.9 MB, free: 2.445 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 0.000128/0.3831, allocations: 135.5 kB / 372 MB, free: 2.297 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.642e-05/0.3832, allocations: 4 kB / 372 MB, free: 2.293 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.553e-05/0.3832, allocations: 7.109 kB / 372.1 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.3832, allocations: 0 / 372.1 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3832, allocations: 0 / 372.1 MB, free: 2.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.3832, allocations: 3.953 kB / 372.1 MB, free: 2.285 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.3834, allocations: 147.5 kB / 372.2 MB, free: 2.094 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3834, allocations: 4 kB / 372.2 MB, free: 2.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.452e-06/0.3834, allocations: 4 kB / 372.2 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.3834, allocations: 0 / 372.2 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-06/0.3835, allocations: 0 / 372.2 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3835, allocations: 0 / 372.2 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3835, allocations: 0 / 372.2 MB, free: 2.086 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001548/0.3837, allocations: 98.72 kB / 372.3 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.3837, allocations: 77.11 kB / 372.4 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.878e-05/0.3838, allocations: 0 / 372.4 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.701e-05/0.3838, allocations: 4.031 kB / 372.4 MB, free: 1.867 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.305e-05/0.3838, allocations: 4 kB / 372.4 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.372e-06/0.3839, allocations: 3.938 kB / 372.4 MB, free: 1.859 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.772e-05/0.3839, allocations: 75.28 kB / 372.5 MB, free: 1.785 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.3839, allocations: 0 / 372.5 MB, free: 1.785 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003691/0.3843, allocations: 0 / 372.5 MB, free: 1.785 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.0001465/0.3845, allocations: 99.23 kB / 372.6 MB, free: 1.676 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.3846, allocations: 63.41 kB / 372.6 MB, free: 1.602 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3846, allocations: 0 / 372.6 MB, free: 1.602 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.064e-05/0.3847, allocations: 55.41 kB / 372.7 MB, free: 1.535 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.3848, allocations: 7.953 kB / 372.7 MB, free: 1.527 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002418/0.3851, allocations: 108.4 kB / 372.8 MB, free: 1.391 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.3855, allocations: 0.6731 MB / 373.5 MB, free: 0.6914 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.439e-05/0.3855, allocations: 7.438 kB / 373.5 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.3855, allocations: 0 / 373.5 MB, free: 0.6836 MB / 298.7 MB Notification: Performance of Templates: time 0.002137/0.3876, allocations: 331.9 kB / 373.8 MB, free: 368 kB / 298.7 MB