Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,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.Test46") [: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.768/1.768, allocations: 209.3 MB / 216.3 MB, free: 6.84 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 1.803e-05/1.815e-05, allocations: 4 kB / 267.3 MB, free: 5.281 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09577/0.09583, allocations: 48.69 MB / 316 MB, free: 4.496 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3149/0.4108, allocations: 75.25 MB / 391.2 MB, free: 1.465 MB / 314.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.4111, allocations: 79.12 kB / 391.3 MB, free: 1.422 MB / 314.8 MB Notification: Performance of FrontEnd: time 0.01773/0.4288, allocations: 3.943 MB / 395.2 MB, free: 14.12 MB / 330.8 MB Notification: Performance of Transformations before backend: time 1.545e-05/0.4289, allocations: 4 kB / 395.2 MB, free: 14.12 MB / 330.8 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.0005528/0.4294, allocations: 433.9 kB / 395.7 MB, free: 13.66 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.4295, allocations: 8.031 kB / 395.7 MB, free: 13.65 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.591e-05/0.4296, allocations: 15.81 kB / 395.7 MB, free: 13.63 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003281/0.4299, allocations: 202 kB / 395.9 MB, free: 13.4 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.4299, allocations: 4 kB / 395.9 MB, free: 13.39 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.43, allocations: 15.45 kB / 395.9 MB, free: 13.38 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.844e-05/0.4301, allocations: 11.94 kB / 395.9 MB, free: 13.37 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.934e-05/0.4302, allocations: 41.12 kB / 396 MB, free: 13.33 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.4302, allocations: 7.5 kB / 396 MB, free: 13.32 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.4302, allocations: 0 / 396 MB, free: 13.32 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.4302, allocations: 3.984 kB / 396 MB, free: 13.32 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.4307, allocations: 281 kB / 396.2 MB, free: 13.03 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.4309, allocations: 41.52 kB / 396.3 MB, free: 12.99 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/0.431, allocations: 12.86 kB / 396.3 MB, free: 12.97 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.431, allocations: 0 / 396.3 MB, free: 12.97 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.562e-05/0.4311, allocations: 59.25 kB / 396.4 MB, free: 12.91 MB / 330.8 MB Notification: Performance of pre-optimization done (n=4): time 2.197e-06/0.4311, allocations: 0 / 396.4 MB, free: 12.91 MB / 330.8 MB Notification: Performance of matching and sorting (n=5): time 0.0004164/0.4315, allocations: 104.9 kB / 396.5 MB, free: 12.81 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/0.4316, allocations: 55.22 kB / 396.5 MB, free: 12.75 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003201/0.4319, allocations: 222.5 kB / 396.7 MB, free: 12.55 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 2.747e-05/0.432, allocations: 29.7 kB / 396.8 MB, free: 12.51 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.467e-05/0.4321, allocations: 92.06 kB / 396.9 MB, free: 12.42 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.4321, allocations: 15.69 kB / 396.9 MB, free: 12.41 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.062e-06/0.4321, allocations: 3.938 kB / 396.9 MB, free: 12.41 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.4323, allocations: 322.7 kB / 397.2 MB, free: 12.09 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.862e-05/0.4324, allocations: 23.73 kB / 397.2 MB, free: 12.07 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.292e-05/0.4325, allocations: 22.5 kB / 397.2 MB, free: 12.06 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.183e-05/0.4325, allocations: 25.61 kB / 397.3 MB, free: 12.04 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-06/0.4326, allocations: 0 / 397.3 MB, free: 12.04 MB / 330.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002407/0.4328, allocations: 98 kB / 397.4 MB, free: 11.95 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.4328, allocations: 4 kB / 397.4 MB, free: 11.95 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.731e-06/0.4329, allocations: 4 kB / 397.4 MB, free: 11.95 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4329, allocations: 0 / 397.4 MB, free: 11.95 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.119e-05/0.433, allocations: 11.98 kB / 397.4 MB, free: 11.93 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.525e-06/0.433, allocations: 0 / 397.4 MB, free: 11.93 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.562e-05/0.433, allocations: 0 / 397.4 MB, free: 11.93 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.4331, allocations: 7.906 kB / 397.4 MB, free: 11.93 MB / 330.8 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.539e-05/0.4332, allocations: 112.9 kB / 397.5 MB, free: 11.81 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.4332, allocations: 11.81 kB / 397.5 MB, free: 11.8 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.4335, allocations: 87.2 kB / 397.6 MB, free: 11.72 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.236e-06/0.4335, allocations: 4 kB / 397.6 MB, free: 11.72 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.736e-06/0.4335, allocations: 144 / 397.6 MB, free: 11.72 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.266e-06/0.4335, allocations: 7.969 kB / 397.6 MB, free: 11.71 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/0.4341, allocations: 344.5 kB / 397.9 MB, free: 11.36 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.479e-06/0.4341, allocations: 8 kB / 397.9 MB, free: 11.35 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.089e-05/0.4341, allocations: 7.812 kB / 397.9 MB, free: 11.35 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.612e-06/0.4342, allocations: 96 / 397.9 MB, free: 11.35 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.4342, allocations: 7.938 kB / 398 MB, free: 11.34 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.132e-06/0.4342, allocations: 0 / 398 MB, free: 11.34 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.4342, allocations: 3.984 kB / 398 MB, free: 11.34 MB / 330.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002253/0.4344, allocations: 169.4 kB / 398.1 MB, free: 11.16 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.258e-05/0.4346, allocations: 92.92 kB / 398.2 MB, free: 11.05 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.4346, allocations: 11.98 kB / 398.2 MB, free: 11.04 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.4347, allocations: 0 / 398.2 MB, free: 11.04 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.4348, allocations: 7.812 kB / 398.2 MB, free: 11.04 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.787e-06/0.4348, allocations: 0 / 398.2 MB, free: 11.04 MB / 330.8 MB Notification: Performance of sort global known variables: time 0.0002113/0.435, allocations: 175.9 kB / 398.4 MB, free: 10.9 MB / 330.8 MB Notification: Performance of remove unused functions: time 0.0004071/0.4354, allocations: 39.92 kB / 398.4 MB, free: 10.86 MB / 330.8 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.0008257/0.4363, allocations: 286.3 kB / 398.7 MB, free: 10.62 MB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.4365, allocations: 82.12 kB / 398.8 MB, free: 10.55 MB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 3.049e-06/0.4365, allocations: 4 kB / 398.8 MB, free: 10.54 MB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 6.277e-05/0.4366, allocations: 15.88 kB / 398.8 MB, free: 10.53 MB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.4369, allocations: 19.33 kB / 398.8 MB, free: 10.51 MB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005267/0.4375, allocations: 192.7 kB / 399 MB, free: 10.32 MB / 330.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000473/0.4379, allocations: 0.7268 MB / 399.8 MB, free: 9.566 MB / 330.8 MB Notification: Performance of SimCode: time 1.494e-06/0.438, allocations: 3.938 kB / 399.8 MB, free: 9.562 MB / 330.8 MB Notification: Performance of Templates: time 0.005526/0.4435, allocations: 1.548 MB / 401.3 MB, free: 8.027 MB / 330.8 MB