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.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadModel(ModelicaTest): time 1.976/1.976, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.632e-05/4.644e-05, allocations: 11.98 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3746, allocations: 48.7 MB / 324.8 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002679/0.3774, allocations: 1.535 MB / 326.4 MB, free: 2.223 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001662/0.3791, allocations: 0.7553 MB / 327.1 MB, free: 1.832 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.3792, allocations: 2.25 kB / 327.1 MB, free: 1.832 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002389/0.3795, allocations: 20.77 kB / 327.2 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.3797, allocations: 43.08 kB / 327.2 MB, free: 1.809 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.3799, allocations: 72.72 kB / 327.3 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.3802, allocations: 85.44 kB / 327.4 MB, free: 1.742 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.572e-05/0.3803, allocations: 14.62 kB / 327.4 MB, free: 1.738 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.3804, allocations: 53.05 kB / 327.4 MB, free: 1.719 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.3805, allocations: 55.11 kB / 327.5 MB, free: 1.699 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.3807, allocations: 36.2 kB / 327.5 MB, free: 1.691 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.3807, allocations: 8.422 kB / 327.5 MB, free: 1.691 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.3808, allocations: 23.28 kB / 327.5 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.684e-05/0.3809, allocations: 7.844 kB / 327.6 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.3812, allocations: 131.5 kB / 327.7 MB, free: 1.656 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.3812, allocations: 1.281 kB / 327.7 MB, free: 1.656 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3812, allocations: 0 / 327.7 MB, free: 1.656 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.3812, allocations: 0 / 327.7 MB, free: 1.656 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0009955/0.3822, allocations: 0.5244 MB / 328.2 MB, free: 1.156 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.3823, allocations: 13.25 kB / 328.2 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.3823, allocations: 12.12 kB / 328.2 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.3827, allocations: 224.9 kB / 328.5 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.3827, allocations: 8.094 kB / 328.5 MB, free: 0.918 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.3828, allocations: 5.906 kB / 328.5 MB, free: 0.918 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005705/0.3833, allocations: 129.6 kB / 328.6 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.3834, allocations: 1.594 kB / 328.6 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/0.3834, allocations: 4.656 kB / 328.6 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.3834, allocations: 5.844 kB / 328.6 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007773/0.3842, allocations: 124 kB / 328.7 MB, free: 0.832 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006714/0.3849, allocations: 372.3 kB / 329.1 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009847/0.3859, allocations: 167.9 kB / 329.3 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.413e-05/0.3859, allocations: 0.9062 kB / 329.3 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005659/0.3865, allocations: 145.9 kB / 329.4 MB, free: 404 kB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.625e-06/0.3865, allocations: 0 / 329.4 MB, free: 404 kB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.001368/0.3879, allocations: 259.2 kB / 329.6 MB, free: 324 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.388, allocations: 65.97 kB / 329.7 MB, free: 248 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002387/0.3882, allocations: 180.1 kB / 329.9 MB, free: 128 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.3883, allocations: 32.77 kB / 329.9 MB, free: 92 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.3884, allocations: 171.4 kB / 330.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/0.3885, allocations: 36.14 kB / 330.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.3885, allocations: 1.25 kB / 330.1 MB, free: 15.9 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3886, allocations: 319.5 kB / 330.4 MB, free: 15.58 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004384/0.3891, allocations: 72.58 kB / 330.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004802/0.3896, allocations: 99.77 kB / 330.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.3901, allocations: 136 kB / 330.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.3901, allocations: 1.188 kB / 330.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001102/0.3912, allocations: 272.5 kB / 331 MB, free: 15.31 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.581e-05/0.3913, allocations: 65.61 kB / 331.1 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.3913, allocations: 0 / 331.1 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3913, allocations: 1.75 kB / 331.1 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.3917, allocations: 37.11 kB / 331.1 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.3917, allocations: 0 / 331.1 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003444/0.392, allocations: 42.66 kB / 331.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.3921, allocations: 8.953 kB / 331.2 MB, free: 15.22 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 12 * 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.0001938/0.3923, allocations: 138.1 kB / 331.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.127e-05/0.3923, allocations: 14.05 kB / 331.3 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.132e-05/0.3924, allocations: 21.56 kB / 331.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.3924, allocations: 1.312 kB / 331.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3924, allocations: 0 / 331.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.3925, allocations: 1.812 kB / 331.3 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.3928, allocations: 221.2 kB / 331.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3928, allocations: 384 / 331.5 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.3931, allocations: 31.39 kB / 331.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.3931, allocations: 1.156 kB / 331.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.3931, allocations: 2.594 kB / 331.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3931, allocations: 5.609 kB / 331.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3931, allocations: 0 / 331.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001463/0.3946, allocations: 315.1 kB / 331.9 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.962e-05/0.3947, allocations: 94.59 kB / 332 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.3948, allocations: 9.75 kB / 332 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002958/0.3951, allocations: 28.72 kB / 332 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.744e-05/0.3952, allocations: 17.7 kB / 332 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.914e-05/0.3952, allocations: 8.969 kB / 332 MB, free: 14.6 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001926/0.3954, allocations: 142 kB / 332.2 MB, free: 14.51 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.615e-06/0.3954, allocations: 0 / 332.2 MB, free: 14.51 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003507/0.3958, allocations: 43.39 kB / 332.2 MB, free: 14.5 MB / 282.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: 5 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent) * Number of discrete states: 2 (trapezoid1.count,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0008726/0.3967, allocations: 300.3 kB / 332.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001086/0.3978, allocations: 287 kB / 332.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3978, allocations: 4.062 kB / 332.8 MB, free: 14.16 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004393/0.3983, allocations: 72.59 kB / 332.9 MB, free: 14.15 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.3987, allocations: 37.73 kB / 332.9 MB, free: 14.13 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009493/0.3996, allocations: 352.2 kB / 333.3 MB, free: 13.87 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003623/0.4, allocations: 0.7206 MB / 334 MB, free: 13.17 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.4001, allocations: 20.91 kB / 334 MB, free: 13.16 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4001, allocations: 0 / 334 MB, free: 13.16 MB / 282.7 MB Notification: Performance of Templates: time 0.007381/0.4075, allocations: 2.46 MB / 336.5 MB, free: 12.92 MB / 282.7 MB