Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,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.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.963/1.963, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.049e-05/4.063e-05, allocations: 11.98 kB / 273.1 MB, free: 3.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08745/0.08751, allocations: 48.69 MB / 321.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.346/0.4335, allocations: 75.73 MB / 397.5 MB, free: 7.082 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002053/0.4338, allocations: 71.75 kB / 397.6 MB, free: 7.078 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02312/0.4569, allocations: 3.82 MB / 401.4 MB, free: 6.105 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.334e-06/0.457, allocations: 0 / 401.4 MB, free: 6.105 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.457, allocations: 1.312 kB / 401.4 MB, free: 6.105 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005426/0.4576, allocations: 410.6 kB / 401.8 MB, free: 5.68 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.4577, allocations: 11.5 kB / 401.8 MB, free: 5.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.58e-05/0.4578, allocations: 15.34 kB / 401.8 MB, free: 5.672 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.4581, allocations: 198 kB / 402 MB, free: 5.457 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.4581, allocations: 0 / 402 MB, free: 5.457 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.4582, allocations: 3.812 kB / 402 MB, free: 5.457 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/0.4583, allocations: 44.67 kB / 402.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.4584, allocations: 0 / 402.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.4584, allocations: 3.938 kB / 402.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.377e-06/0.4584, allocations: 3.75 kB / 402.1 MB, free: 5.418 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.396e-05/0.4585, allocations: 11.62 kB / 402.1 MB, free: 5.414 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003329/0.4588, allocations: 291 kB / 402.4 MB, free: 5.121 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.459, allocations: 41.72 kB / 402.4 MB, free: 5.094 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.473e-05/0.4591, allocations: 12.98 kB / 402.4 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.4591, allocations: 0 / 402.4 MB, free: 5.086 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.4592, allocations: 62.97 kB / 402.5 MB, free: 5.031 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.462e-06/0.4593, allocations: 4 kB / 402.5 MB, free: 5.027 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003891/0.4597, allocations: 103.3 kB / 402.6 MB, free: 4.973 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.36e-05/0.4597, allocations: 51.41 kB / 402.7 MB, free: 4.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.4598, allocations: 144.8 kB / 402.8 MB, free: 4.801 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.4599, allocations: 29.52 kB / 402.8 MB, free: 4.77 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.4599, allocations: 95.56 kB / 402.9 MB, free: 4.684 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.4599, allocations: 11.75 kB / 402.9 MB, free: 4.672 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-06/0.46, allocations: 3.938 kB / 402.9 MB, free: 4.672 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.38e-05/0.46, allocations: 322.7 kB / 403.2 MB, free: 4.352 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.11e-05/0.4601, allocations: 27.06 kB / 403.3 MB, free: 4.348 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.052e-05/0.4602, allocations: 19.31 kB / 403.3 MB, free: 4.348 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.509e-05/0.4603, allocations: 56.56 kB / 403.3 MB, free: 4.309 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.618e-06/0.4603, allocations: 0 / 403.3 MB, free: 4.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002189/0.4605, allocations: 132.3 kB / 403.5 MB, free: 4.234 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.4605, allocations: 34.39 kB / 403.5 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.556e-06/0.4606, allocations: 3.781 kB / 403.5 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4606, allocations: 0 / 403.5 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.216e-05/0.4607, allocations: 15.73 kB / 403.5 MB, free: 4.191 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.896e-06/0.4607, allocations: 8 kB / 403.5 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/0.4607, allocations: 7.781 kB / 403.5 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.4608, allocations: 3.953 kB / 403.5 MB, free: 4.18 MB / 314.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 5.327e-05/0.4608, allocations: 104.9 kB / 403.6 MB, free: 4.074 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.4609, allocations: 11.8 kB / 403.7 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.4611, allocations: 84.2 kB / 403.7 MB, free: 4.027 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.4611, allocations: 7.953 kB / 403.8 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.211e-06/0.4611, allocations: 0 / 403.8 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.4612, allocations: 4 kB / 403.8 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.4615, allocations: 343.8 kB / 404.1 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.4615, allocations: 96 / 404.1 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.799e-05/0.4616, allocations: 11.83 kB / 404.1 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.691e-06/0.4616, allocations: 3.844 kB / 404.1 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.4616, allocations: 0 / 404.1 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.827e-06/0.4616, allocations: 0 / 404.1 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4616, allocations: 0 / 404.1 MB, free: 3.691 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.4618, allocations: 177.7 kB / 404.3 MB, free: 3.543 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.392e-05/0.4619, allocations: 88.91 kB / 404.4 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.4619, allocations: 7.562 kB / 404.4 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.462, allocations: 0 / 404.4 MB, free: 3.441 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.4621, allocations: 7.891 kB / 404.4 MB, free: 3.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.4621, allocations: 0 / 404.4 MB, free: 3.438 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002219/0.4623, allocations: 119.3 kB / 404.5 MB, free: 19.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.4624, allocations: 0 / 404.5 MB, free: 19.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003657/0.4627, allocations: 30.84 kB / 404.5 MB, free: 19.35 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.001041/0.4638, allocations: 359.8 kB / 404.9 MB, free: 19.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.464, allocations: 112.8 kB / 405 MB, free: 19.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.303e-06/0.4641, allocations: 7.938 kB / 405 MB, free: 19.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.54e-05/0.4641, allocations: 19.27 kB / 405 MB, free: 19.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002586/0.4644, allocations: 11.44 kB / 405 MB, free: 19.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.4647, allocations: 116.1 kB / 405.1 MB, free: 18.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003626/0.4651, allocations: 0.6918 MB / 405.8 MB, free: 18.22 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.747e-05/0.4652, allocations: 15.66 kB / 405.8 MB, free: 18.21 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.4652, allocations: 19.25 kB / 405.9 MB, free: 18.2 MB / 330.7 MB Notification: Performance of SimCode: time 2.301e-06/0.4652, allocations: 0 / 405.9 MB, free: 18.2 MB / 330.7 MB Notification: Performance of Templates: time 0.004542/0.4698, allocations: 1.454 MB / 407.3 MB, free: 17.47 MB / 330.7 MB