Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2b") Notification: Performance of loadModel(ModelicaTest): time 2.794/2.794, allocations: 234.9 MB / 249.4 MB, free: 10 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.976e-05, allocations: 4 kB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3851, allocations: 54.86 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.0006988/0.3859, allocations: 220.1 kB / 363.1 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004365/0.3902, allocations: 1.947 MB / 365 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.3903, allocations: 0 / 365 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.3904, allocations: 1.531 kB / 365 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.422e-06/0.3904, allocations: 0 / 365 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.393, allocations: 0.5355 MB / 365.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 3.505e-05/0.393, allocations: 0 / 365.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.3931, allocations: 1.031 kB / 365.6 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.317e-05/0.3931, allocations: 8 kB / 365.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01184/0.405, allocations: 4.684 MB / 370.3 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.304e-05/0.405, allocations: 0 / 370.3 MB, free: 6.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.4051, allocations: 4 kB / 370.3 MB, free: 6.379 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.046e-05/0.4051, allocations: 3.938 kB / 370.3 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.4051, allocations: 4 kB / 370.3 MB, free: 6.371 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 4.094e-05/0.4052, allocations: 3.984 kB / 370.3 MB, free: 6.367 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.4052, allocations: 0 / 370.3 MB, free: 6.367 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.4052, allocations: 0 / 370.3 MB, free: 6.367 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.216e-05/0.4052, allocations: 0 / 370.3 MB, free: 6.367 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.0003479/0.4056, allocations: 342.5 kB / 370.6 MB, free: 5.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.4056, allocations: 12.09 kB / 370.6 MB, free: 5.969 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.4057, allocations: 3.938 kB / 370.6 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.4058, allocations: 163.1 kB / 370.8 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.4058, allocations: 0 / 370.8 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.4059, allocations: 0 / 370.8 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.406, allocations: 37.64 kB / 370.8 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.406, allocations: 0 / 370.8 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.406, allocations: 0 / 370.8 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.406, allocations: 0 / 370.8 MB, free: 5.723 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.443e-05/0.4061, allocations: 7.938 kB / 370.8 MB, free: 5.715 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.4062, allocations: 145.7 kB / 371 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.829e-05/0.4063, allocations: 18.58 kB / 371 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.4063, allocations: 0 / 371 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/0.4064, allocations: 64.3 kB / 371.1 MB, free: 5.418 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.343e-06/0.4064, allocations: 0 / 371.1 MB, free: 5.418 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001839/0.4066, allocations: 71.28 kB / 371.1 MB, free: 5.336 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.371e-05/0.4067, allocations: 77.11 kB / 371.2 MB, free: 5.242 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.54e-05/0.4067, allocations: 89.12 kB / 371.3 MB, free: 5.148 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.646e-05/0.4068, allocations: 29.7 kB / 371.3 MB, free: 5.113 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/0.4068, allocations: 80.14 kB / 371.4 MB, free: 5.031 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.4068, allocations: 2.391 kB / 371.4 MB, free: 5.031 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.4069, allocations: 0 / 371.4 MB, free: 5.031 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001477/0.407, allocations: 314.8 kB / 371.7 MB, free: 4.715 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.055e-05/0.407, allocations: 0 / 371.7 MB, free: 4.715 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-06/0.407, allocations: 0 / 371.7 MB, free: 4.715 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.4071, allocations: 29.69 kB / 371.7 MB, free: 4.68 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.4071, allocations: 8.062 kB / 371.7 MB, free: 4.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.099e-05/0.4072, allocations: 55.41 kB / 371.8 MB, free: 4.605 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.615e-05/0.4073, allocations: 37.7 kB / 371.8 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.4073, allocations: 0 / 371.8 MB, free: 4.562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.4073, allocations: 3.938 kB / 371.8 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.4073, allocations: 0 / 371.8 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4073, allocations: 3.953 kB / 371.8 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.7e-05/0.4074, allocations: 0 / 371.8 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.4074, allocations: 0 / 371.8 MB, free: 4.555 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.000112/0.4075, allocations: 143.6 kB / 372 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.298e-06/0.4075, allocations: 0 / 372 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.034e-05/0.4075, allocations: 3.125 kB / 372 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4075, allocations: 0 / 372 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4076, allocations: 0 / 372 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.4076, allocations: 7.953 kB / 372 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.4077, allocations: 145.7 kB / 372.1 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4077, allocations: 0 / 372.1 MB, free: 4.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.423e-06/0.4077, allocations: 3.938 kB / 372.1 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.4077, allocations: 4 kB / 372.1 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.4078, allocations: 0 / 372.1 MB, free: 4.191 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.4078, allocations: 8 kB / 372.1 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4078, allocations: 0 / 372.1 MB, free: 4.184 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001309/0.4079, allocations: 94.72 kB / 372.2 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.249e-05/0.408, allocations: 81.05 kB / 372.3 MB, free: 3.969 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.408, allocations: 4 kB / 372.3 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.157e-05/0.408, allocations: 0 / 372.3 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.4081, allocations: 0 / 372.3 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.4081, allocations: 4.031 kB / 372.3 MB, free: 3.961 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.641e-05/0.4081, allocations: 75.28 kB / 372.4 MB, free: 3.887 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4081, allocations: 0 / 372.4 MB, free: 3.887 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002238/0.4084, allocations: 8 kB / 372.4 MB, free: 3.879 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.0001292/0.4085, allocations: 95.25 kB / 372.5 MB, free: 3.773 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001012/0.4086, allocations: 59.39 kB / 372.6 MB, free: 3.703 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4086, allocations: 0 / 372.6 MB, free: 3.703 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.098e-05/0.4087, allocations: 59.47 kB / 372.6 MB, free: 3.633 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.4088, allocations: 5.516 kB / 372.6 MB, free: 3.629 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000193/0.409, allocations: 78.7 kB / 372.7 MB, free: 3.527 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.4093, allocations: 0.6809 MB / 373.4 MB, free: 2.82 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.672e-06/0.4094, allocations: 0 / 373.4 MB, free: 2.82 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.375e-05/0.4094, allocations: 7.438 kB / 373.4 MB, free: 2.812 MB / 298.7 MB Notification: Performance of SimCode: time 5.82e-07/0.4094, allocations: 0 / 373.4 MB, free: 2.812 MB / 298.7 MB Notification: Performance of Templates: time 0.00237/0.4118, allocations: 184.4 kB / 373.6 MB, free: 2.633 MB / 298.7 MB