Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") Notification: Performance of loadModel(ModelicaTest): time 2.477/2.477, allocations: 270 MB / 283.6 MB, free: 1.812 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.473e-05, allocations: 8 kB / 348.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3195, allocations: 61.87 MB / 410.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1365/0.4561, allocations: 89.23 MB / 499.5 MB, free: 1.387 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.4564, allocations: 75.97 kB / 499.6 MB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02184/0.4783, allocations: 5.301 MB / 0.4931 GB, free: 12 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.4783, allocations: 0 / 0.4931 GB, free: 12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.4783, allocations: 4 kB / 0.4931 GB, free: 12 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005409/0.4789, allocations: 390.2 kB / 0.4934 GB, free: 11.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.4789, allocations: 8.031 kB / 0.4934 GB, free: 11.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/0.479, allocations: 15.89 kB / 0.4934 GB, free: 11.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.4794, allocations: 207.4 kB / 0.4936 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.4794, allocations: 7.953 kB / 0.4937 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.639e-05/0.4794, allocations: 7.938 kB / 0.4937 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.4796, allocations: 53.67 kB / 0.4937 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.4796, allocations: 0 / 0.4937 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.4796, allocations: 3.984 kB / 0.4937 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.752e-06/0.4797, allocations: 4 kB / 0.4937 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.269e-05/0.4798, allocations: 23.92 kB / 0.4937 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004539/0.4802, allocations: 284.9 kB / 0.494 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001583/0.4804, allocations: 54.69 kB / 0.4941 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.203e-05/0.4805, allocations: 20.98 kB / 0.4941 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.4805, allocations: 7.938 kB / 0.4941 GB, free: 10.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.4807, allocations: 67.33 kB / 0.4942 GB, free: 10.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.764e-06/0.4807, allocations: 0 / 0.4942 GB, free: 10.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005485/0.4813, allocations: 153.2 kB / 0.4943 GB, free: 10.54 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.4813, allocations: 51.41 kB / 0.4944 GB, free: 10.48 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.4815, allocations: 144.6 kB / 0.4945 GB, free: 10.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.855e-05/0.4816, allocations: 37.64 kB / 0.4945 GB, free: 10.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.384e-05/0.4817, allocations: 100.1 kB / 0.4946 GB, free: 10.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.4817, allocations: 27.69 kB / 0.4947 GB, free: 10.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.777e-06/0.4817, allocations: 0 / 0.4947 GB, free: 10.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4819, allocations: 318.8 kB / 0.495 GB, free: 9.832 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-05/0.482, allocations: 23.98 kB / 0.495 GB, free: 9.809 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.205e-05/0.4821, allocations: 33.72 kB / 0.495 GB, free: 9.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.99e-05/0.4822, allocations: 28.05 kB / 0.495 GB, free: 9.742 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-06/0.4822, allocations: 0 / 0.495 GB, free: 9.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002309/0.4824, allocations: 97.53 kB / 0.4951 GB, free: 9.641 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.4825, allocations: 4 kB / 0.4951 GB, free: 9.637 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.589e-06/0.4825, allocations: 4 kB / 0.4951 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.4825, allocations: 0 / 0.4951 GB, free: 9.633 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.4826, allocations: 15.98 kB / 0.4952 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.067e-06/0.4826, allocations: 0 / 0.4952 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.303e-05/0.4827, allocations: 4 kB / 0.4952 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.4828, allocations: 8 kB / 0.4952 GB, free: 9.605 MB / 426.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.787e-05/0.4829, allocations: 113 kB / 0.4953 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.4829, allocations: 11.81 kB / 0.4953 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.4832, allocations: 122.3 kB / 0.4954 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.4832, allocations: 4 kB / 0.4954 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.3e-06/0.4832, allocations: 0 / 0.4954 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.636e-06/0.4833, allocations: 3.984 kB / 0.4954 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005943/0.4839, allocations: 391.3 kB / 0.4958 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.533e-06/0.4839, allocations: 4.031 kB / 0.4958 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.033e-05/0.484, allocations: 12.19 kB / 0.4958 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.081e-06/0.484, allocations: 0 / 0.4958 GB, free: 8.891 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.484, allocations: 15.98 kB / 0.4958 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.814e-06/0.484, allocations: 3.938 kB / 0.4958 GB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.548e-06/0.484, allocations: 0 / 0.4958 GB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003004/0.4843, allocations: 213.9 kB / 0.496 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.642e-05/0.4844, allocations: 100.9 kB / 0.4961 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.948e-05/0.4845, allocations: 0 / 0.4961 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.4846, allocations: 11.98 kB / 0.4961 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.19e-05/0.4847, allocations: 7.953 kB / 0.4961 GB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.4847, allocations: 7.984 kB / 0.4961 GB, free: 8.492 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001454/0.4849, allocations: 119.8 kB / 0.4963 GB, free: 8.375 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.7e-07/0.4849, allocations: 0 / 0.4963 GB, free: 8.375 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003682/0.4853, allocations: 28 kB / 0.4963 GB, free: 8.348 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001598/0.4869, allocations: 459.7 kB / 0.4967 GB, free: 8.039 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.4871, allocations: 63.86 kB / 0.4968 GB, free: 7.977 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.873e-06/0.4871, allocations: 0 / 0.4968 GB, free: 7.977 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.673e-05/0.4872, allocations: 31.94 kB / 0.4968 GB, free: 7.945 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.4875, allocations: 23.97 kB / 0.4968 GB, free: 7.922 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004158/0.488, allocations: 147.1 kB / 0.497 GB, free: 7.75 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.4884, allocations: 0.7043 MB / 0.4977 GB, free: 7.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.171e-05/0.4885, allocations: 16.86 kB / 0.4977 GB, free: 7.004 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.4885, allocations: 19.42 kB / 0.4977 GB, free: 6.984 MB / 426.7 MB Notification: Performance of SimCode: time 1.445e-06/0.4885, allocations: 0 / 0.4977 GB, free: 6.984 MB / 426.7 MB Notification: Performance of Templates: time 0.005792/0.4944, allocations: 1.635 MB / 0.4993 GB, free: 5.359 MB / 426.7 MB