Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadModel(ModelicaTest): time 2.351/2.351, allocations: 270 MB / 283.6 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.793e-05/3.813e-05, allocations: 4 kB / 348.4 MB, free: 2.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3286, allocations: 61.88 MB / 410.3 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1379/0.4665, allocations: 89.24 MB / 499.5 MB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.4668, allocations: 79.95 kB / 499.6 MB, free: 1.316 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02171/0.4885, allocations: 5.41 MB / 0.4932 GB, free: 11.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.877e-06/0.4886, allocations: 3.938 kB / 0.4932 GB, free: 11.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.4886, allocations: 4 kB / 0.4932 GB, free: 11.89 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.0005338/0.4891, allocations: 386.3 kB / 0.4935 GB, free: 11.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.4892, allocations: 12.03 kB / 0.4936 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.4893, allocations: 11.84 kB / 0.4936 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.4896, allocations: 215.7 kB / 0.4938 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.4897, allocations: 7.953 kB / 0.4938 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.4897, allocations: 7.906 kB / 0.4938 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.4898, allocations: 49.69 kB / 0.4938 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4899, allocations: 0 / 0.4938 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.4899, allocations: 0 / 0.4938 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4899, allocations: 0 / 0.4938 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.001e-05/0.49, allocations: 23.92 kB / 0.4939 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004594/0.4905, allocations: 292.9 kB / 0.4941 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.4906, allocations: 58.64 kB / 0.4942 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.096e-05/0.4907, allocations: 24.97 kB / 0.4942 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.4907, allocations: 0 / 0.4942 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001538/0.4909, allocations: 63.39 kB / 0.4943 GB, free: 10.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.569e-06/0.4909, allocations: 0 / 0.4943 GB, free: 10.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005439/0.4915, allocations: 157.1 kB / 0.4944 GB, free: 10.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.736e-05/0.4915, allocations: 59.41 kB / 0.4945 GB, free: 10.36 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.4918, allocations: 168.9 kB / 0.4947 GB, free: 10.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.4918, allocations: 25.7 kB / 0.4947 GB, free: 10.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.4919, allocations: 100.1 kB / 0.4948 GB, free: 10.06 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.492, allocations: 23.7 kB / 0.4948 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.492, allocations: 8 kB / 0.4948 GB, free: 10.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.4922, allocations: 322.8 kB / 0.4951 GB, free: 9.707 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.017e-05/0.4922, allocations: 20 kB / 0.4951 GB, free: 9.688 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.26e-05/0.4923, allocations: 37.72 kB / 0.4952 GB, free: 9.645 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.937e-05/0.4924, allocations: 27.98 kB / 0.4952 GB, free: 9.617 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-06/0.4924, allocations: 0 / 0.4952 GB, free: 9.617 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002248/0.4927, allocations: 89.59 kB / 0.4953 GB, free: 9.523 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.4927, allocations: 8 kB / 0.4953 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4927, allocations: 0 / 0.4953 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.4927, allocations: 0 / 0.4953 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4928, allocations: 19.92 kB / 0.4953 GB, free: 9.496 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.4929, allocations: 8.031 kB / 0.4953 GB, free: 9.488 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.11e-05/0.4929, allocations: 7.938 kB / 0.4953 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.493, allocations: 4 kB / 0.4953 GB, free: 9.477 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.753e-05/0.4931, allocations: 116.9 kB / 0.4954 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.4931, allocations: 11.81 kB / 0.4954 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.4934, allocations: 118.5 kB / 0.4956 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.869e-06/0.4935, allocations: 0 / 0.4956 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.4935, allocations: 4 kB / 0.4956 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.463e-06/0.4935, allocations: 4 kB / 0.4956 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005993/0.4941, allocations: 407.3 kB / 0.496 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.4941, allocations: 0 / 0.496 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.943e-05/0.4942, allocations: 8 kB / 0.496 GB, free: 8.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4942, allocations: 7.938 kB / 0.496 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.4942, allocations: 4 kB / 0.496 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.616e-06/0.4942, allocations: 0 / 0.496 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.379e-06/0.4943, allocations: 4 kB / 0.496 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.4946, allocations: 225.8 kB / 0.4962 GB, free: 8.492 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.166e-05/0.4947, allocations: 93.02 kB / 0.4963 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.4947, allocations: 0 / 0.4963 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.4948, allocations: 11.98 kB / 0.4963 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.732e-05/0.4949, allocations: 7.953 kB / 0.4963 GB, free: 8.363 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.4949, allocations: 8 kB / 0.4963 GB, free: 8.355 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001711/0.4951, allocations: 140.6 kB / 0.4964 GB, free: 8.219 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-07/0.4951, allocations: 0 / 0.4964 GB, free: 8.219 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003622/0.4955, allocations: 28 kB / 0.4965 GB, free: 8.191 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.4971, allocations: 459.4 kB / 0.4969 GB, free: 7.879 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001865/0.4973, allocations: 59.94 kB / 0.497 GB, free: 7.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.548e-06/0.4973, allocations: 0 / 0.497 GB, free: 7.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.2e-05/0.4974, allocations: 28 kB / 0.497 GB, free: 7.793 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.4977, allocations: 27.91 kB / 0.497 GB, free: 7.766 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.4982, allocations: 159.2 kB / 0.4972 GB, free: 7.578 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.4986, allocations: 0.7239 MB / 0.4979 GB, free: 6.828 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.138e-05/0.4987, allocations: 24.7 kB / 0.4979 GB, free: 6.805 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.4988, allocations: 15.44 kB / 0.4979 GB, free: 6.789 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/0.4988, allocations: 0 / 0.4979 GB, free: 6.789 MB / 426.7 MB Notification: Performance of Templates: time 0.005713/0.5045, allocations: 1.68 MB / 0.4996 GB, free: 5.121 MB / 426.7 MB