Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test20") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 1.866/1.866, allocations: 209.4 MB / 216.3 MB, free: 6.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.236e-05/1.248e-05, allocations: 4 kB / 267.3 MB, free: 5.191 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1087, allocations: 48.7 MB / 316 MB, free: 4.395 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2626/0.3713, allocations: 75.23 MB / 391.2 MB, free: 1.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.3716, allocations: 71.02 kB / 391.3 MB, free: 1.391 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01609/0.3877, allocations: 3.549 MB / 394.8 MB, free: 14.47 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3877, allocations: 0 / 394.8 MB, free: 14.47 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005197/0.3883, allocations: 418.2 kB / 395.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.3883, allocations: 8.031 kB / 395.2 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.857e-05/0.3884, allocations: 7.906 kB / 395.2 MB, free: 14 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.3887, allocations: 196.3 kB / 395.4 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.3887, allocations: 0 / 395.4 MB, free: 13.78 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.3888, allocations: 4 kB / 395.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.526e-05/0.3889, allocations: 22.92 kB / 395.5 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.284e-05/0.389, allocations: 44.67 kB / 395.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.389, allocations: 0 / 395.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.389, allocations: 3.906 kB / 395.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.272e-06/0.389, allocations: 0 / 395.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.3895, allocations: 269.2 kB / 395.8 MB, free: 13.42 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.3897, allocations: 41.11 kB / 395.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.671e-05/0.3897, allocations: 12.42 kB / 395.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.296e-05/0.3898, allocations: 0 / 395.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.76e-05/0.3899, allocations: 56.81 kB / 395.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.981e-06/0.3899, allocations: 0 / 395.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003934/0.3903, allocations: 97.2 kB / 396 MB, free: 13.21 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.3903, allocations: 51.41 kB / 396 MB, free: 13.15 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.3905, allocations: 146.2 kB / 396.2 MB, free: 13.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.3906, allocations: 33.7 kB / 396.2 MB, free: 12.98 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.028e-05/0.3907, allocations: 93.5 kB / 396.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.3907, allocations: 11.75 kB / 396.3 MB, free: 12.88 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.452e-06/0.3907, allocations: 4 kB / 396.3 MB, free: 12.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.3909, allocations: 324 kB / 396.6 MB, free: 12.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.929e-05/0.391, allocations: 21.75 kB / 396.6 MB, free: 12.54 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.227e-05/0.391, allocations: 30.55 kB / 396.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.939e-05/0.3911, allocations: 19 kB / 396.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.658e-06/0.3911, allocations: 4 kB / 396.7 MB, free: 12.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002369/0.3914, allocations: 92.95 kB / 396.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3914, allocations: 7.938 kB / 396.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.3914, allocations: 4 kB / 396.8 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.3915, allocations: 3.938 kB / 396.8 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.355e-05/0.3915, allocations: 8 kB / 396.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.46e-06/0.3916, allocations: 0 / 396.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.68e-05/0.3916, allocations: 3.984 kB / 396.8 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.3917, allocations: 4 kB / 396.8 MB, free: 12.39 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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 9.973e-05/0.3918, allocations: 112.9 kB / 396.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.445e-05/0.3918, allocations: 7.906 kB / 396.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002642/0.3921, allocations: 81.78 kB / 397 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.87e-06/0.3921, allocations: 7.938 kB / 397 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.355e-06/0.3921, allocations: 0 / 397 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.225e-06/0.3921, allocations: 0 / 397 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.3926, allocations: 320.9 kB / 397.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.708e-06/0.3926, allocations: 192 / 397.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.3927, allocations: 16 kB / 397.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.669e-06/0.3927, allocations: 0 / 397.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.3927, allocations: 0 / 397.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.609e-05/0.3928, allocations: 3.984 kB / 397.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.021e-06/0.3928, allocations: 0 / 397.4 MB, free: 11.83 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002193/0.393, allocations: 169.9 kB / 397.5 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/0.3931, allocations: 89.02 kB / 397.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.091e-05/0.3931, allocations: 3.438 kB / 397.6 MB, free: 11.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.3933, allocations: 7.984 kB / 397.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.402e-05/0.3933, allocations: 4 kB / 397.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.007e-05/0.3933, allocations: 96 / 397.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.0001415/0.3935, allocations: 135.2 kB / 397.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003966/0.3939, allocations: 31.94 kB / 397.8 MB, free: 11.39 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0007904/0.3947, allocations: 285.4 kB / 398.1 MB, free: 11.15 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001921/0.3949, allocations: 76.52 kB / 398.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.66e-06/0.3949, allocations: 0 / 398.1 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.467e-05/0.395, allocations: 19.44 kB / 398.2 MB, free: 11.07 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.3953, allocations: 26.55 kB / 398.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.3957, allocations: 134 kB / 398.3 MB, free: 10.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004436/0.3962, allocations: 0.7153 MB / 399 MB, free: 10.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.448e-06/0.3962, allocations: 4 kB / 399 MB, free: 10.16 MB / 330.7 MB Notification: Performance of Templates: time 0.005199/0.4014, allocations: 1.436 MB / 400.5 MB, free: 8.738 MB / 330.7 MB