Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadModel(ModelicaTest): time 2.465/2.465, allocations: 234.9 MB / 250.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.278e-05, allocations: 4 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3996/0.3997, allocations: 54.86 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.00316/0.4029, allocations: 1.585 MB / 364.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001822/0.4048, allocations: 0.724 MB / 365.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.405, allocations: 7.219 kB / 365.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.4052, allocations: 24.52 kB / 365.2 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002453/0.4055, allocations: 42.67 kB / 365.2 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.4058, allocations: 65.73 kB / 365.3 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.406, allocations: 97.48 kB / 365.4 MB, free: 9.977 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.4061, allocations: 15.39 kB / 365.4 MB, free: 9.969 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.4063, allocations: 61.52 kB / 365.5 MB, free: 9.934 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.4065, allocations: 64.36 kB / 365.5 MB, free: 9.891 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.4066, allocations: 29.75 kB / 365.6 MB, free: 9.883 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.847e-05/0.4067, allocations: 8.562 kB / 365.6 MB, free: 9.883 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.4068, allocations: 26.88 kB / 365.6 MB, free: 9.863 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.629e-05/0.4068, allocations: 9.375 kB / 365.6 MB, free: 9.863 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003004/0.4071, allocations: 135.4 kB / 365.7 MB, free: 9.773 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.4071, allocations: 0 / 365.7 MB, free: 9.773 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.4072, allocations: 1.625 kB / 365.7 MB, free: 9.773 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.4072, allocations: 0 / 365.7 MB, free: 9.773 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001201/0.4084, allocations: 0.5648 MB / 366.3 MB, free: 9.199 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/0.4084, allocations: 21.73 kB / 366.3 MB, free: 9.188 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.791e-05/0.4085, allocations: 20.62 kB / 366.3 MB, free: 9.176 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.409, allocations: 224.9 kB / 366.6 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.671e-05/0.409, allocations: 7.875 kB / 366.6 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.91e-05/0.4091, allocations: 11.03 kB / 366.6 MB, free: 8.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006585/0.4097, allocations: 131.2 kB / 366.7 MB, free: 8.852 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4098, allocations: 0 / 366.7 MB, free: 8.852 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.4098, allocations: 5 kB / 366.7 MB, free: 8.848 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.4098, allocations: 6.453 kB / 366.7 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000828/0.4107, allocations: 138.9 kB / 366.9 MB, free: 8.785 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008085/0.4115, allocations: 383.9 kB / 367.2 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.4126, allocations: 198.3 kB / 367.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.569e-05/0.4127, allocations: 1.375 kB / 367.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006272/0.4133, allocations: 144.6 kB / 367.6 MB, free: 8.215 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 3.125e-06/0.4133, allocations: 0 / 367.6 MB, free: 8.215 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.001579/0.4149, allocations: 298.1 kB / 367.9 MB, free: 8.074 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.415, allocations: 57.73 kB / 367.9 MB, free: 8.008 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002978/0.4153, allocations: 192.9 kB / 368.1 MB, free: 7.863 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.4154, allocations: 33.27 kB / 368.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.4155, allocations: 174.2 kB / 368.3 MB, free: 7.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.896e-05/0.4156, allocations: 35.95 kB / 368.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.608e-05/0.4156, allocations: 2.031 kB / 368.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.4157, allocations: 321.2 kB / 368.7 MB, free: 7.309 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004853/0.4162, allocations: 90.75 kB / 368.8 MB, free: 7.27 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005162/0.4168, allocations: 114.8 kB / 368.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/0.4173, allocations: 142.5 kB / 369 MB, free: 7.105 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.4173, allocations: 3.953 kB / 369 MB, free: 7.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001259/0.4186, allocations: 306.7 kB / 369.3 MB, free: 6.918 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.995e-05/0.4187, allocations: 67.7 kB / 369.4 MB, free: 6.848 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.4187, allocations: 5.062 kB / 369.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.4188, allocations: 1.094 kB / 369.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003393/0.4191, allocations: 44.77 kB / 369.4 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.4191, allocations: 1.094 kB / 369.4 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000364/0.4195, allocations: 41.06 kB / 369.5 MB, free: 6.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.141e-05/0.4196, allocations: 6.062 kB / 369.5 MB, free: 6.809 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 2 * 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.0001944/0.4198, allocations: 138.2 kB / 369.6 MB, free: 6.676 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.134e-05/0.4198, allocations: 18.12 kB / 369.6 MB, free: 6.664 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.902e-05/0.4199, allocations: 22.55 kB / 369.6 MB, free: 6.641 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.4199, allocations: 5.094 kB / 369.6 MB, free: 6.637 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4199, allocations: 5.172 kB / 369.7 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.42, allocations: 0 / 369.7 MB, free: 6.633 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002949/0.4203, allocations: 227 kB / 369.9 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4203, allocations: 3.938 kB / 369.9 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000279/0.4206, allocations: 29.25 kB / 369.9 MB, free: 6.379 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.94e-06/0.4206, allocations: 4.906 kB / 369.9 MB, free: 6.375 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.643e-05/0.4206, allocations: 9.938 kB / 369.9 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4206, allocations: 1.094 kB / 369.9 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4206, allocations: 0 / 369.9 MB, free: 6.367 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001627/0.4223, allocations: 346.1 kB / 370.3 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/0.4224, allocations: 104.9 kB / 370.4 MB, free: 5.941 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.638e-05/0.4225, allocations: 15.92 kB / 370.4 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000318/0.4228, allocations: 23.97 kB / 370.4 MB, free: 5.902 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.423, allocations: 20.03 kB / 370.4 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.423, allocations: 8 kB / 370.4 MB, free: 5.875 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002139/0.4232, allocations: 152.2 kB / 370.6 MB, free: 5.727 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4232, allocations: 0 / 370.6 MB, free: 5.727 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003632/0.4236, allocations: 51.84 kB / 370.6 MB, free: 5.676 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001094/0.4247, allocations: 358.9 kB / 371 MB, free: 5.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00119/0.4259, allocations: 330.5 kB / 371.3 MB, free: 5.062 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.4259, allocations: 0 / 371.3 MB, free: 5.062 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00049/0.4264, allocations: 92 kB / 371.4 MB, free: 4.973 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004137/0.4269, allocations: 35.75 kB / 371.4 MB, free: 4.938 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.4279, allocations: 355.8 kB / 371.8 MB, free: 4.559 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.4283, allocations: 0.7282 MB / 372.5 MB, free: 3.805 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.4284, allocations: 19.38 kB / 372.5 MB, free: 3.789 MB / 298.7 MB Notification: Performance of SimCode: time 1.062e-06/0.4284, allocations: 0 / 372.5 MB, free: 3.789 MB / 298.7 MB Notification: Performance of Templates: time 0.007239/0.4356, allocations: 2.635 MB / 375.2 MB, free: 1.152 MB / 298.7 MB