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.798/1.798, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.723e-05/3.741e-05, allocations: 4 kB / 273.1 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08886/0.08892, allocations: 48.69 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4118/0.5008, allocations: 77.47 MB / 399.2 MB, free: 6.996 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000202/0.501, allocations: 73.34 kB / 399.3 MB, free: 6.996 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01485/0.5159, allocations: 3.959 MB / 403.3 MB, free: 5.621 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.959e-06/0.516, allocations: 0 / 403.3 MB, free: 5.621 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.516, allocations: 0 / 403.3 MB, free: 5.621 MB / 314.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.0006894/0.5167, allocations: 0.5389 MB / 403.8 MB, free: 5.098 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.5167, allocations: 15.53 kB / 403.8 MB, free: 5.094 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.915e-05/0.5168, allocations: 15.69 kB / 403.8 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.5171, allocations: 222.2 kB / 404 MB, free: 4.855 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.885e-05/0.5171, allocations: 7.812 kB / 404.1 MB, free: 4.855 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.481e-05/0.5172, allocations: 7.688 kB / 404.1 MB, free: 4.855 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.5174, allocations: 83.66 kB / 404.1 MB, free: 4.812 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.726e-06/0.5174, allocations: 3.938 kB / 404.1 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.82e-05/0.5174, allocations: 0 / 404.1 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.5174, allocations: 0 / 404.1 MB, free: 4.809 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.5176, allocations: 53.86 kB / 404.2 MB, free: 4.801 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007046/0.5183, allocations: 422.5 kB / 404.6 MB, free: 4.461 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.5186, allocations: 88.41 kB / 404.7 MB, free: 4.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.581e-05/0.5187, allocations: 43.5 kB / 404.7 MB, free: 4.414 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.5188, allocations: 3.906 kB / 404.7 MB, free: 4.414 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001967/0.519, allocations: 97.92 kB / 404.8 MB, free: 4.348 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 2.715e-06/0.519, allocations: 0 / 404.8 MB, free: 4.348 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.000305/0.5193, allocations: 115 kB / 404.9 MB, free: 4.297 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.825e-05/0.5194, allocations: 63.23 kB / 405 MB, free: 4.227 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001887/0.5196, allocations: 178.8 kB / 405.2 MB, free: 4.121 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/0.5196, allocations: 29.55 kB / 405.2 MB, free: 4.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.5197, allocations: 177.9 kB / 405.4 MB, free: 3.934 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.5197, allocations: 23.17 kB / 405.4 MB, free: 3.918 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/0.5197, allocations: 7.781 kB / 405.4 MB, free: 3.918 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.976e-05/0.5198, allocations: 318.8 kB / 405.7 MB, free: 3.598 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.5199, allocations: 38.62 kB / 405.8 MB, free: 3.598 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.5201, allocations: 65.64 kB / 405.8 MB, free: 3.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.5202, allocations: 101.1 kB / 405.9 MB, free: 3.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.924e-06/0.5202, allocations: 0 / 405.9 MB, free: 3.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004038/0.5206, allocations: 204 kB / 406.1 MB, free: 3.391 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.636e-05/0.5207, allocations: 58.97 kB / 406.2 MB, free: 3.328 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.514e-06/0.5207, allocations: 8.016 kB / 406.2 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.5207, allocations: 3.875 kB / 406.2 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.5209, allocations: 38.12 kB / 406.2 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.798e-06/0.521, allocations: 0 / 406.2 MB, free: 3.309 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.5212, allocations: 38.53 kB / 406.3 MB, free: 3.293 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.511e-05/0.5212, allocations: 15.39 kB / 406.3 MB, free: 3.285 MB / 314.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 7.206e-05/0.5213, allocations: 111.5 kB / 406.4 MB, free: 3.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.5214, allocations: 15.22 kB / 406.4 MB, free: 3.172 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003009/0.5217, allocations: 142.5 kB / 406.6 MB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.5217, allocations: 3.984 kB / 406.6 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.387e-06/0.5217, allocations: 0 / 406.6 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.206e-06/0.5217, allocations: 0 / 406.6 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001728/0.5219, allocations: 227.3 kB / 406.8 MB, free: 2.887 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.429e-06/0.5219, allocations: 3.844 kB / 406.8 MB, free: 2.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.5221, allocations: 35.41 kB / 406.8 MB, free: 2.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.96e-06/0.5221, allocations: 3.938 kB / 406.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.5222, allocations: 3.875 kB / 406.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.599e-06/0.5222, allocations: 0 / 406.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.621e-06/0.5222, allocations: 0 / 406.8 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.5226, allocations: 203.2 kB / 407 MB, free: 2.773 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.5227, allocations: 96.69 kB / 407.1 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.094e-05/0.5228, allocations: 7.594 kB / 407.1 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.523, allocations: 23.44 kB / 407.1 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.5231, allocations: 19.62 kB / 407.2 MB, free: 18.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.5231, allocations: 3.5 kB / 407.2 MB, free: 18.65 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001527/0.5233, allocations: 145.8 kB / 407.3 MB, free: 18.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.13e-07/0.5233, allocations: 4 kB / 407.3 MB, free: 18.56 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003334/0.5236, allocations: 50.75 kB / 407.4 MB, free: 18.55 MB / 330.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 (11): * Single equations (assignments): 8 * 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.0009325/0.5246, allocations: 307.2 kB / 407.7 MB, free: 18.35 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003576/0.525, allocations: 214.5 kB / 407.9 MB, free: 18.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.789e-06/0.525, allocations: 0 / 407.9 MB, free: 18.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.5251, allocations: 46.78 kB / 407.9 MB, free: 18.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002807/0.5254, allocations: 37.83 kB / 408 MB, free: 18.19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005413/0.526, allocations: 234.2 kB / 408.2 MB, free: 18.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.5264, allocations: 0.7182 MB / 408.9 MB, free: 17.31 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.792e-05/0.5265, allocations: 23.11 kB / 408.9 MB, free: 17.3 MB / 330.7 MB Notification: Performance of SimCode: time 1.331e-06/0.5265, allocations: 0 / 408.9 MB, free: 17.3 MB / 330.7 MB Notification: Performance of Templates: time 0.004582/0.5311, allocations: 2.503 MB / 411.4 MB, free: 16.03 MB / 330.7 MB