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.563/2.563, allocations: 234.9 MB / 250.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.922e-05/3.909e-05, allocations: 0 / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5112/0.5113, allocations: 54.86 MB / 362.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices): time 0.0006327/0.512, allocations: 208.6 kB / 363.1 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002763/0.5148, allocations: 1.454 MB / 364.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.468e-05/0.5148, allocations: 1.438 kB / 364.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.23e-05/0.5148, allocations: 0 / 364.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.45e-06/0.5149, allocations: 0 / 364.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008138/0.5157, allocations: 189.4 kB / 364.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 2.853e-05/0.5157, allocations: 1.125 kB / 364.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.5158, allocations: 0 / 364.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 1.547e-05/0.5158, allocations: 5.062 kB / 364.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006363/0.5164, allocations: 114.4 kB / 364.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000844/0.5173, allocations: 422.5 kB / 365.2 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.436e-05/0.5174, allocations: 10.34 kB / 365.2 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.861e-06/0.5174, allocations: 0 / 365.2 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 1.257e-05/0.5174, allocations: 1.219 kB / 365.2 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004626/0.5179, allocations: 214.5 kB / 365.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.5179, allocations: 1.312 kB / 365.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.5179, allocations: 0 / 365.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.247e-06/0.5179, allocations: 0 / 365.4 MB, free: 10.23 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.0004231/0.5184, allocations: 366.1 kB / 365.8 MB, free: 9.828 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.5184, allocations: 8.875 kB / 365.8 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.5185, allocations: 5.312 kB / 365.8 MB, free: 9.824 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.5186, allocations: 163.1 kB / 366 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.5186, allocations: 1.062 kB / 366 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/0.5186, allocations: 1.156 kB / 366 MB, free: 9.625 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.559e-05/0.5187, allocations: 34.78 kB / 366 MB, free: 9.586 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.5188, allocations: 4.828 kB / 366 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.5188, allocations: 0 / 366 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.5188, allocations: 5.078 kB / 366 MB, free: 9.578 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.084e-05/0.5188, allocations: 4.719 kB / 366 MB, free: 9.574 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001531/0.519, allocations: 150.9 kB / 366.2 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.103e-05/0.5191, allocations: 20.48 kB / 366.2 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.5191, allocations: 1.031 kB / 366.2 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.494e-05/0.5191, allocations: 57.14 kB / 366.2 MB, free: 9.281 MB / 298.7 MB Notification: Performance of pre-optimization done (n=1): time 1.543e-06/0.5192, allocations: 3.938 kB / 366.3 MB, free: 9.277 MB / 298.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001832/0.5193, allocations: 67.56 kB / 366.3 MB, free: 9.207 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.5194, allocations: 77.11 kB / 366.4 MB, free: 9.113 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.653e-05/0.5195, allocations: 90.53 kB / 366.5 MB, free: 9.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.5195, allocations: 25.7 kB / 366.5 MB, free: 8.988 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.5196, allocations: 154.6 kB / 366.7 MB, free: 8.836 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.99e-05/0.5196, allocations: 0.9688 kB / 366.7 MB, free: 8.836 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.455e-06/0.5196, allocations: 0 / 366.7 MB, free: 8.836 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5198, allocations: 311.7 kB / 367 MB, free: 8.523 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.387e-05/0.5198, allocations: 5.172 kB / 367 MB, free: 8.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.786e-06/0.5198, allocations: 1.438 kB / 367 MB, free: 8.52 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.621e-05/0.5198, allocations: 31.02 kB / 367 MB, free: 8.484 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.5199, allocations: 0 / 367 MB, free: 8.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.512e-05/0.52, allocations: 62.06 kB / 367.1 MB, free: 8.418 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.073e-05/0.52, allocations: 31.27 kB / 367.1 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.52, allocations: 5.375 kB / 367.1 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.5201, allocations: 0 / 367.1 MB, free: 8.383 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.878e-06/0.5201, allocations: 3.984 kB / 367.1 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5201, allocations: 1.375 kB / 367.1 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.5201, allocations: 3.953 kB / 367.1 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.5201, allocations: 5.5 kB / 367.1 MB, free: 8.371 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.0001065/0.5202, allocations: 136.7 kB / 367.2 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.698e-06/0.5203, allocations: 1.406 kB / 367.2 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.152e-05/0.5203, allocations: 7.062 kB / 367.3 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5203, allocations: 1.375 kB / 367.3 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.5203, allocations: 0 / 367.3 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5203, allocations: 0 / 367.3 MB, free: 8.219 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.5205, allocations: 155 kB / 367.4 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.5205, allocations: 0.9062 kB / 367.4 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.5205, allocations: 0 / 367.4 MB, free: 8.02 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.5205, allocations: 5.438 kB / 367.4 MB, free: 8.016 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.5205, allocations: 3.938 kB / 367.4 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.5205, allocations: 0 / 367.4 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5205, allocations: 1.406 kB / 367.4 MB, free: 8.012 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001301/0.5207, allocations: 96.97 kB / 367.5 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.832e-05/0.5207, allocations: 80.16 kB / 367.6 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.5208, allocations: 0 / 367.6 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.245e-05/0.5208, allocations: 0.9688 kB / 367.6 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.827e-05/0.5208, allocations: 5.062 kB / 367.6 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.5208, allocations: 1 kB / 367.6 MB, free: 7.805 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.896e-05/0.5209, allocations: 79.28 kB / 367.7 MB, free: 7.727 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5209, allocations: 0 / 367.7 MB, free: 7.727 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004569/0.5213, allocations: 64.05 kB / 367.7 MB, free: 7.711 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.0005895/0.5219, allocations: 187.7 kB / 367.9 MB, free: 7.582 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000117/0.5221, allocations: 60.59 kB / 368 MB, free: 7.516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5221, allocations: 0 / 368 MB, free: 7.516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.874e-05/0.5221, allocations: 58.78 kB / 368 MB, free: 7.449 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.662e-05/0.5223, allocations: 9.547 kB / 368 MB, free: 7.441 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002412/0.5225, allocations: 101.5 kB / 368.1 MB, free: 7.316 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003028/0.5228, allocations: 0.6765 MB / 368.8 MB, free: 6.617 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.626e-05/0.5229, allocations: 7.438 kB / 368.8 MB, free: 6.609 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.5229, allocations: 4.938 kB / 368.8 MB, free: 6.605 MB / 298.7 MB Notification: Performance of Templates: time 0.004378/0.5273, allocations: 1.338 MB / 370.2 MB, free: 5.922 MB / 298.7 MB