Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test48,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.Test48") Notification: Performance of loadModel(ModelicaTest): time 2.384/2.384, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.687e-05/3.697e-05, allocations: 9.688 kB / 348.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 61.89 MB / 410.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.468/0.5792, allocations: 89.28 MB / 499.5 MB, free: 14.88 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.5795, allocations: 75.95 kB / 499.6 MB, free: 14.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02416/0.6037, allocations: 5.839 MB / 0.4936 GB, free: 8.973 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.221e-06/0.6037, allocations: 0 / 0.4936 GB, free: 8.973 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.565e-05/0.6038, allocations: 0 / 0.4936 GB, free: 8.973 MB / 410.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.0005982/0.6044, allocations: 414.1 kB / 0.494 GB, free: 8.523 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.6044, allocations: 8.031 kB / 0.494 GB, free: 8.516 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.6045, allocations: 11.81 kB / 0.494 GB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.6049, allocations: 230.5 kB / 0.4942 GB, free: 8.238 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.605, allocations: 11.94 kB / 0.4943 GB, free: 8.227 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.316e-05/0.605, allocations: 4 kB / 0.4943 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.6051, allocations: 49.69 kB / 0.4943 GB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.6052, allocations: 0 / 0.4943 GB, free: 8.168 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.6052, allocations: 8 kB / 0.4943 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.6052, allocations: 3.984 kB / 0.4943 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.6053, allocations: 23.92 kB / 0.4943 GB, free: 8.133 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005062/0.6058, allocations: 308.9 kB / 0.4946 GB, free: 7.781 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.606, allocations: 58.69 kB / 0.4947 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.522e-05/0.6061, allocations: 20.92 kB / 0.4947 GB, free: 7.691 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.154e-05/0.6061, allocations: 0 / 0.4947 GB, free: 7.691 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000172/0.6063, allocations: 75.33 kB / 0.4948 GB, free: 7.605 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.599e-06/0.6063, allocations: 0 / 0.4948 GB, free: 7.605 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005728/0.6069, allocations: 157.1 kB / 0.4949 GB, free: 7.445 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.607, allocations: 59.41 kB / 0.495 GB, free: 7.375 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.6074, allocations: 234.5 kB / 0.4952 GB, free: 7.133 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.92e-05/0.6074, allocations: 33.64 kB / 0.4952 GB, free: 7.094 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.153e-05/0.6075, allocations: 112.1 kB / 0.4954 GB, free: 6.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.07e-05/0.6076, allocations: 23.66 kB / 0.4954 GB, free: 6.957 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.6076, allocations: 4 kB / 0.4954 GB, free: 6.953 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.6078, allocations: 334.8 kB / 0.4957 GB, free: 6.617 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.103e-05/0.6079, allocations: 16 kB / 0.4957 GB, free: 6.602 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.696e-05/0.6079, allocations: 33.72 kB / 0.4957 GB, free: 6.562 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.34e-05/0.608, allocations: 23.98 kB / 0.4958 GB, free: 6.539 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.982e-06/0.608, allocations: 0 / 0.4958 GB, free: 6.539 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002506/0.6083, allocations: 105.4 kB / 0.4959 GB, free: 6.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.6083, allocations: 4 kB / 0.4959 GB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.258e-06/0.6083, allocations: 0 / 0.4959 GB, free: 6.426 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.6084, allocations: 4 kB / 0.4959 GB, free: 6.422 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.6085, allocations: 15.98 kB / 0.4959 GB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.6085, allocations: 0 / 0.4959 GB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.942e-05/0.6086, allocations: 8.031 kB / 0.4959 GB, free: 6.398 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.741e-05/0.6087, allocations: 8 kB / 0.4959 GB, free: 6.391 MB / 410.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 0.000102/0.6088, allocations: 108.9 kB / 0.496 GB, free: 6.277 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.744e-05/0.6088, allocations: 15.81 kB / 0.496 GB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.6092, allocations: 123.1 kB / 0.4961 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/0.6092, allocations: 0 / 0.4961 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.6092, allocations: 0 / 0.4961 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.933e-06/0.6092, allocations: 0 / 0.4961 GB, free: 6.133 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006859/0.6099, allocations: 431.2 kB / 0.4966 GB, free: 5.652 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.36e-06/0.6099, allocations: 7.984 kB / 0.4966 GB, free: 5.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.634e-05/0.61, allocations: 12 kB / 0.4966 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.985e-06/0.61, allocations: 0 / 0.4966 GB, free: 5.633 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.61, allocations: 4 kB / 0.4966 GB, free: 5.629 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.924e-06/0.6101, allocations: 3.938 kB / 0.4966 GB, free: 5.625 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.37e-06/0.6101, allocations: 3.938 kB / 0.4966 GB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.6104, allocations: 226.1 kB / 0.4968 GB, free: 5.375 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.6105, allocations: 100.9 kB / 0.4969 GB, free: 5.258 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.6106, allocations: 7.938 kB / 0.4969 GB, free: 5.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002055/0.6108, allocations: 4 kB / 0.4969 GB, free: 5.246 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.6109, allocations: 11.94 kB / 0.4969 GB, free: 5.234 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/0.611, allocations: 4 kB / 0.4969 GB, free: 5.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004243/0.6114, allocations: 200.2 kB / 0.4971 GB, free: 5.035 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.031e-06/0.6114, allocations: 0 / 0.4971 GB, free: 5.035 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007273/0.6122, allocations: 39.92 kB / 0.4972 GB, free: 4.996 MB / 410.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.001748/0.6139, allocations: 460.8 kB / 0.4976 GB, free: 4.668 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.6142, allocations: 51.94 kB / 0.4976 GB, free: 4.617 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.518e-06/0.6142, allocations: 4.062 kB / 0.4976 GB, free: 4.613 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.3e-05/0.6143, allocations: 35.92 kB / 0.4977 GB, free: 4.578 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.6147, allocations: 27.77 kB / 0.4977 GB, free: 4.551 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006156/0.6153, allocations: 222.9 kB / 0.4979 GB, free: 4.309 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004504/0.6158, allocations: 0.7199 MB / 0.4986 GB, free: 3.562 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 9.169e-05/0.6159, allocations: 24.78 kB / 0.4986 GB, free: 3.535 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.684e-05/0.616, allocations: 23.42 kB / 0.4987 GB, free: 3.512 MB / 410.7 MB Notification: Performance of SimCode: time 1.836e-06/0.616, allocations: 3.938 kB / 0.4987 GB, free: 3.508 MB / 410.7 MB Notification: Performance of Templates: time 0.00647/0.6225, allocations: 1.817 MB / 0.5004 GB, free: 1.703 MB / 410.7 MB