Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadModel(ModelicaTest): time 2.145/2.145, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.676e-05/5.706e-05, allocations: 4 kB / 273.1 MB, free: 3.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09306/0.09315, allocations: 48.69 MB / 321.8 MB, free: 2.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3427/0.4359, allocations: 75.75 MB / 397.5 MB, free: 7.441 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001997/0.4362, allocations: 65.73 kB / 397.6 MB, free: 7.441 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01507/0.4513, allocations: 3.922 MB / 401.5 MB, free: 6.402 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.113e-06/0.4513, allocations: 1.312 kB / 401.5 MB, free: 6.402 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.372e-05/0.4514, allocations: 1.312 kB / 401.5 MB, free: 6.402 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.0003896/0.4518, allocations: 414.3 kB / 401.9 MB, free: 5.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.4518, allocations: 7.562 kB / 401.9 MB, free: 5.98 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.257e-05/0.4519, allocations: 7.719 kB / 401.9 MB, free: 5.977 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.4521, allocations: 193.6 kB / 402.1 MB, free: 5.766 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.4521, allocations: 3.938 kB / 402.1 MB, free: 5.762 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.759e-05/0.4522, allocations: 7.672 kB / 402.1 MB, free: 5.758 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.545e-05/0.4523, allocations: 45.31 kB / 402.2 MB, free: 5.719 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4523, allocations: 7.859 kB / 402.2 MB, free: 5.715 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.069e-05/0.4523, allocations: 3.688 kB / 402.2 MB, free: 5.715 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.466e-06/0.4523, allocations: 0 / 402.2 MB, free: 5.715 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.244e-05/0.4524, allocations: 7.688 kB / 402.2 MB, free: 5.715 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.4527, allocations: 302.5 kB / 402.5 MB, free: 5.422 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.453, allocations: 45.75 kB / 402.6 MB, free: 5.387 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.927e-05/0.453, allocations: 16.61 kB / 402.6 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.171e-05/0.4531, allocations: 0 / 402.6 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.4532, allocations: 55.06 kB / 402.6 MB, free: 5.328 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.553e-06/0.4532, allocations: 0 / 402.6 MB, free: 5.328 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004038/0.4536, allocations: 111.5 kB / 402.7 MB, free: 5.266 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.4536, allocations: 55.09 kB / 402.8 MB, free: 5.203 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.4538, allocations: 158.6 kB / 402.9 MB, free: 5.098 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.4538, allocations: 29.64 kB / 403 MB, free: 5.066 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.4539, allocations: 103.4 kB / 403.1 MB, free: 4.977 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.112e-05/0.4539, allocations: 11.75 kB / 403.1 MB, free: 4.969 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-06/0.454, allocations: 3.812 kB / 403.1 MB, free: 4.969 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.365e-05/0.454, allocations: 322.7 kB / 403.4 MB, free: 4.648 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.064e-05/0.4541, allocations: 23.06 kB / 403.4 MB, free: 4.648 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.662e-05/0.4542, allocations: 19.12 kB / 403.4 MB, free: 4.648 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.28e-05/0.4543, allocations: 56.31 kB / 403.5 MB, free: 4.609 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.764e-06/0.4543, allocations: 4 kB / 403.5 MB, free: 4.605 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002331/0.4545, allocations: 136.4 kB / 403.6 MB, free: 4.523 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.338e-05/0.4546, allocations: 33.36 kB / 403.7 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.323e-06/0.4546, allocations: 0 / 403.7 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.4546, allocations: 0 / 403.7 MB, free: 4.492 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.29e-05/0.4547, allocations: 11.77 kB / 403.7 MB, free: 4.488 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.357e-06/0.4547, allocations: 3.953 kB / 403.7 MB, free: 4.484 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.218e-05/0.4548, allocations: 3.812 kB / 403.7 MB, free: 4.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/0.4548, allocations: 3.906 kB / 403.7 MB, free: 4.484 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.599e-05/0.4549, allocations: 108.9 kB / 403.8 MB, free: 4.375 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.4549, allocations: 15.56 kB / 403.8 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002122/0.4551, allocations: 83.95 kB / 403.9 MB, free: 4.328 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.166e-06/0.4551, allocations: 7.984 kB / 403.9 MB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.921e-06/0.4552, allocations: 3.906 kB / 403.9 MB, free: 4.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.968e-06/0.4552, allocations: 3.953 kB / 403.9 MB, free: 4.316 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003537/0.4555, allocations: 351.3 kB / 404.3 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.504e-06/0.4556, allocations: 3.938 kB / 404.3 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.654e-05/0.4556, allocations: 7.969 kB / 404.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.564e-06/0.4556, allocations: 3.938 kB / 404.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.4556, allocations: 0 / 404.3 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.62e-06/0.4557, allocations: 3.953 kB / 404.3 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.846e-06/0.4557, allocations: 96 / 404.3 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001792/0.4559, allocations: 173.8 kB / 404.4 MB, free: 3.84 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.4559, allocations: 92.88 kB / 404.5 MB, free: 3.742 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.829e-05/0.456, allocations: 3.984 kB / 404.5 MB, free: 3.738 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.778e-05/0.4561, allocations: 7.984 kB / 404.5 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.4561, allocations: 7.672 kB / 404.5 MB, free: 3.727 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.4561, allocations: 3.688 kB / 404.6 MB, free: 3.727 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001045/0.4563, allocations: 129.9 kB / 404.7 MB, free: 3.645 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.05e-06/0.4563, allocations: 0 / 404.7 MB, free: 3.645 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003983/0.4567, allocations: 34.53 kB / 404.7 MB, free: 3.637 MB / 314.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.001037/0.4577, allocations: 359.2 kB / 405.1 MB, free: 3.395 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.4579, allocations: 109.3 kB / 405.2 MB, free: 3.328 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.881e-06/0.458, allocations: 0 / 405.2 MB, free: 3.328 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.592e-05/0.458, allocations: 27.2 kB / 405.2 MB, free: 3.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.4583, allocations: 7.281 kB / 405.2 MB, free: 3.32 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003319/0.4587, allocations: 137.3 kB / 405.3 MB, free: 3.223 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000422/0.4591, allocations: 0.7058 MB / 406 MB, free: 18.51 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.034e-05/0.4592, allocations: 11.53 kB / 406.1 MB, free: 18.51 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.192e-05/0.4592, allocations: 11.06 kB / 406.1 MB, free: 18.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.641e-06/0.4592, allocations: 3.719 kB / 406.1 MB, free: 18.5 MB / 330.7 MB Notification: Performance of Templates: time 0.004799/0.464, allocations: 1.514 MB / 407.6 MB, free: 17.73 MB / 330.7 MB