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.063/2.063, allocations: 209.3 MB / 223.8 MB, free: 0.8594 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.45e-05/3.446e-05, allocations: 7.281 kB / 276.2 MB, free: 15.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.388, allocations: 48.7 MB / 324.9 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002761/0.3908, allocations: 1.534 MB / 326.4 MB, free: 2.648 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001743/0.3926, allocations: 0.7463 MB / 327.2 MB, free: 2.266 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.3928, allocations: 6.219 kB / 327.2 MB, free: 2.262 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002628/0.3931, allocations: 17.59 kB / 327.2 MB, free: 2.258 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000215/0.3933, allocations: 42.55 kB / 327.2 MB, free: 2.242 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.3936, allocations: 72.67 kB / 327.3 MB, free: 2.215 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.3939, allocations: 85.86 kB / 327.4 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.394, allocations: 17.83 kB / 327.4 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.3941, allocations: 51.5 kB / 327.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.3943, allocations: 53.19 kB / 327.5 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001618/0.3944, allocations: 33.48 kB / 327.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.655e-05/0.3945, allocations: 6.844 kB / 327.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.3946, allocations: 34.39 kB / 327.6 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.946e-05/0.3946, allocations: 7.812 kB / 327.6 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003152/0.3949, allocations: 130 kB / 327.7 MB, free: 2.082 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.395, allocations: 1.062 kB / 327.7 MB, free: 2.082 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.395, allocations: 0 / 327.7 MB, free: 2.082 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.395, allocations: 4 kB / 327.7 MB, free: 2.078 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.001053/0.3961, allocations: 0.5195 MB / 328.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/0.3961, allocations: 9.062 kB / 328.2 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.992e-05/0.3962, allocations: 16.8 kB / 328.3 MB, free: 1.574 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003184/0.3965, allocations: 229.9 kB / 328.5 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.3966, allocations: 3.562 kB / 328.5 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.673e-05/0.3966, allocations: 10.06 kB / 328.5 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005813/0.3972, allocations: 128.8 kB / 328.6 MB, free: 1.281 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.3972, allocations: 0 / 328.6 MB, free: 1.281 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.3973, allocations: 5.188 kB / 328.6 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3973, allocations: 2.141 kB / 328.6 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007871/0.3981, allocations: 123.9 kB / 328.8 MB, free: 1.258 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007197/0.3988, allocations: 373.8 kB / 329.1 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.3999, allocations: 164.9 kB / 329.3 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.3999, allocations: 1.562 kB / 329.3 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005953/0.4005, allocations: 142.5 kB / 329.4 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 2.585e-06/0.4005, allocations: 0 / 329.4 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of matching and sorting (n=10): time 0.001473/0.402, allocations: 265.9 kB / 329.7 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.4021, allocations: 58.53 kB / 329.7 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.4024, allocations: 184.5 kB / 329.9 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/0.4024, allocations: 31.52 kB / 329.9 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.4025, allocations: 115.3 kB / 330.1 MB, free: 420 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.4025, allocations: 28.98 kB / 330.1 MB, free: 400 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.59e-05/0.4026, allocations: 5.312 kB / 330.1 MB, free: 396 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.576e-05/0.4027, allocations: 328.7 kB / 330.4 MB, free: 68 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004406/0.4031, allocations: 77.25 kB / 330.5 MB, free: 52 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/0.4036, allocations: 95.48 kB / 330.6 MB, free: 16 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005166/0.4041, allocations: 132.2 kB / 330.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.4042, allocations: 1.031 kB / 330.7 MB, free: 15.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001157/0.4053, allocations: 284.4 kB / 331 MB, free: 15.79 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.818e-05/0.4054, allocations: 66.42 kB / 331.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.866e-06/0.4055, allocations: 0 / 331.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.4055, allocations: 1.375 kB / 331.1 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003061/0.4058, allocations: 39.89 kB / 331.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.4058, allocations: 6.031 kB / 331.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.4062, allocations: 41.95 kB / 331.1 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.079e-05/0.4062, allocations: 6.531 kB / 331.2 MB, free: 15.7 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.0002033/0.4065, allocations: 125.7 kB / 331.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.445e-05/0.4065, allocations: 14.69 kB / 331.3 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.4e-05/0.4066, allocations: 17.11 kB / 331.3 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4066, allocations: 5.375 kB / 331.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.4066, allocations: 0 / 331.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.4066, allocations: 1.125 kB / 331.3 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.407, allocations: 224.3 kB / 331.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.407, allocations: 1.375 kB / 331.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/0.4073, allocations: 29.7 kB / 331.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.4073, allocations: 2.453 kB / 331.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.4074, allocations: 2.828 kB / 331.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.4074, allocations: 6.625 kB / 331.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.4074, allocations: 0 / 331.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001491/0.4089, allocations: 315.7 kB / 331.9 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001028/0.409, allocations: 98.3 kB / 332 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.953e-05/0.4091, allocations: 2.266 kB / 332 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.4094, allocations: 25.33 kB / 332 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.4095, allocations: 17.77 kB / 332 MB, free: 15.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.017e-05/0.4096, allocations: 3.969 kB / 332 MB, free: 15.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002284/0.4098, allocations: 145.1 kB / 332.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4098, allocations: 5.438 kB / 332.2 MB, free: 14.99 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003922/0.4102, allocations: 39.64 kB / 332.2 MB, free: 14.98 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.0009709/0.4112, allocations: 307.1 kB / 332.5 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001222/0.4125, allocations: 291 kB / 332.8 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4125, allocations: 3.938 kB / 332.8 MB, free: 14.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000479/0.413, allocations: 80.8 kB / 332.9 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004572/0.4134, allocations: 33.73 kB / 332.9 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.4145, allocations: 312.9 kB / 333.2 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.4149, allocations: 0.7209 MB / 333.9 MB, free: 13.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001476/0.4151, allocations: 17.97 kB / 334 MB, free: 13.69 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.474e-05/0.4152, allocations: 15.56 kB / 334 MB, free: 13.68 MB / 282.7 MB Notification: Performance of SimCode: time 1.423e-06/0.4152, allocations: 0 / 334 MB, free: 13.68 MB / 282.7 MB Notification: Performance of Templates: time 0.009507/0.4247, allocations: 2.285 MB / 336.3 MB, free: 13.45 MB / 282.7 MB