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_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadModel(ModelicaTest): time 2.08/2.08, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.665e-05/3.718e-05, allocations: 4 kB / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08832/0.08838, allocations: 48.7 MB / 321.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3671/0.4556, allocations: 77.47 MB / 399.3 MB, free: 7.465 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001979/0.4558, allocations: 67.06 kB / 399.3 MB, free: 7.465 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01838/0.4742, allocations: 3.954 MB / 403.3 MB, free: 6.012 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.84e-06/0.4743, allocations: 0 / 403.3 MB, free: 6.012 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.124e-05/0.4743, allocations: 3.844 kB / 403.3 MB, free: 6.012 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.001032/0.4754, allocations: 0.542 MB / 403.8 MB, free: 5.484 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.4754, allocations: 7.594 kB / 403.8 MB, free: 5.484 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.797e-05/0.4755, allocations: 15.5 kB / 403.8 MB, free: 5.477 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003994/0.476, allocations: 229.1 kB / 404.1 MB, free: 5.246 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.476, allocations: 3.844 kB / 404.1 MB, free: 5.246 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.566e-05/0.4761, allocations: 11.66 kB / 404.1 MB, free: 5.246 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.4764, allocations: 84.06 kB / 404.2 MB, free: 5.199 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.4764, allocations: 3.938 kB / 404.2 MB, free: 5.195 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.4765, allocations: 3.984 kB / 404.2 MB, free: 5.191 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.765e-06/0.4765, allocations: 0 / 404.2 MB, free: 5.191 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002427/0.4768, allocations: 47.17 kB / 404.2 MB, free: 5.188 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001198/0.478, allocations: 428.5 kB / 404.6 MB, free: 4.844 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004883/0.4785, allocations: 84.03 kB / 404.7 MB, free: 4.812 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.4787, allocations: 41.33 kB / 404.8 MB, free: 4.801 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.4787, allocations: 0 / 404.8 MB, free: 4.801 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003143/0.4791, allocations: 95.61 kB / 404.9 MB, free: 4.738 MB / 314.7 MB Notification: Performance of pre-optimization done (n=10): time 4.513e-06/0.4791, allocations: 0 / 404.9 MB, free: 4.738 MB / 314.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005386/0.4797, allocations: 123.4 kB / 405 MB, free: 4.684 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.4797, allocations: 63.14 kB / 405 MB, free: 4.613 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003004/0.48, allocations: 176.9 kB / 405.2 MB, free: 4.508 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.046e-05/0.4801, allocations: 37.02 kB / 405.2 MB, free: 4.473 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.962e-05/0.4802, allocations: 118.3 kB / 405.4 MB, free: 4.379 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/0.4803, allocations: 22.58 kB / 405.4 MB, free: 4.363 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.4803, allocations: 3.062 kB / 405.4 MB, free: 4.363 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.152e-05/0.4804, allocations: 328.7 kB / 405.7 MB, free: 4.047 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/0.4806, allocations: 42.61 kB / 405.8 MB, free: 4.043 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.4809, allocations: 58.16 kB / 405.8 MB, free: 4.023 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002552/0.4812, allocations: 106.5 kB / 405.9 MB, free: 3.945 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.784e-06/0.4812, allocations: 0 / 405.9 MB, free: 3.945 MB / 314.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006918/0.4819, allocations: 213 kB / 406.1 MB, free: 3.832 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.618e-05/0.482, allocations: 58.12 kB / 406.2 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.401e-06/0.482, allocations: 3.844 kB / 406.2 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.868e-05/0.482, allocations: 0 / 406.2 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.4824, allocations: 34.88 kB / 406.2 MB, free: 3.758 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.4825, allocations: 7.812 kB / 406.2 MB, free: 3.754 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000365/0.4828, allocations: 42.17 kB / 406.3 MB, free: 3.734 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/0.4829, allocations: 3.938 kB / 406.3 MB, free: 3.734 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 0.0001145/0.4831, allocations: 108.2 kB / 406.4 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.433e-05/0.4831, allocations: 22.58 kB / 406.4 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005324/0.4837, allocations: 140.1 kB / 406.5 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.486e-06/0.4837, allocations: 0 / 406.5 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.962e-06/0.4837, allocations: 7.812 kB / 406.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.315e-06/0.4838, allocations: 0 / 406.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.4841, allocations: 227.1 kB / 406.8 MB, free: 3.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.131e-06/0.4841, allocations: 0 / 406.8 MB, free: 3.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003499/0.4845, allocations: 30.66 kB / 406.8 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.219e-06/0.4845, allocations: 0 / 406.8 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.4846, allocations: 0 / 406.8 MB, free: 3.324 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.885e-06/0.4846, allocations: 7.844 kB / 406.8 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.008e-06/0.4846, allocations: 0 / 406.8 MB, free: 3.32 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007142/0.4854, allocations: 200.4 kB / 407 MB, free: 3.227 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.132e-05/0.4855, allocations: 92.67 kB / 407.1 MB, free: 3.125 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.175e-05/0.4856, allocations: 11.3 kB / 407.1 MB, free: 3.117 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003613/0.4859, allocations: 31.41 kB / 407.1 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.4861, allocations: 15.11 kB / 407.1 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.479e-05/0.4861, allocations: 7.234 kB / 407.1 MB, free: 3.098 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002301/0.4864, allocations: 143.2 kB / 407.3 MB, free: 3.02 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.252e-06/0.4864, allocations: 0 / 407.3 MB, free: 3.02 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006521/0.4871, allocations: 50.3 kB / 407.3 MB, free: 3.008 MB / 314.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.00148/0.4886, allocations: 317.8 kB / 407.6 MB, free: 2.793 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005776/0.4892, allocations: 217.3 kB / 407.9 MB, free: 2.656 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.201e-06/0.4892, allocations: 0 / 407.9 MB, free: 2.656 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.4895, allocations: 46.05 kB / 407.9 MB, free: 2.648 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/0.49, allocations: 37.27 kB / 407.9 MB, free: 2.633 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008664/0.4909, allocations: 211.2 kB / 408.1 MB, free: 2.496 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.4915, allocations: 0.7226 MB / 408.9 MB, free: 17.78 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.4917, allocations: 16.59 kB / 408.9 MB, free: 17.77 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.4918, allocations: 15.12 kB / 408.9 MB, free: 17.76 MB / 330.7 MB Notification: Performance of SimCode: time 2.683e-06/0.4919, allocations: 3.969 kB / 408.9 MB, free: 17.76 MB / 330.7 MB Notification: Performance of Templates: time 0.01088/0.5027, allocations: 2.387 MB / 411.3 MB, free: 16.56 MB / 330.7 MB