Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test56") Notification: Performance of loadModel(ModelicaTest): time 2.612/2.612, allocations: 270 MB / 283.6 MB, free: 1.777 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.315e-05/3.288e-05, allocations: 4 kB / 348.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3387, allocations: 61.9 MB / 410.3 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.179/0.5178, allocations: 89.49 MB / 499.8 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.5181, allocations: 75.95 kB / 499.9 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02453/0.5426, allocations: 5.91 MB / 0.4939 GB, free: 11.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.309e-06/0.5426, allocations: 0 / 0.4939 GB, free: 11.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.23e-05/0.5427, allocations: 4 kB / 0.4939 GB, free: 11.06 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.0005336/0.5432, allocations: 394.2 kB / 0.4943 GB, free: 10.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.5433, allocations: 8.031 kB / 0.4943 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/0.5433, allocations: 7.906 kB / 0.4943 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.5437, allocations: 210.8 kB / 0.4945 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.5437, allocations: 4 kB / 0.4945 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.5438, allocations: 0 / 0.4945 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.544, allocations: 75.39 kB / 0.4946 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.544, allocations: 3.938 kB / 0.4946 GB, free: 10.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.544, allocations: 3.938 kB / 0.4946 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.839e-06/0.544, allocations: 4 kB / 0.4946 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.799e-05/0.5441, allocations: 23.97 kB / 0.4946 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.5446, allocations: 288.8 kB / 0.4949 GB, free: 9.914 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001523/0.5448, allocations: 50.69 kB / 0.495 GB, free: 9.855 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.939e-05/0.5448, allocations: 20.98 kB / 0.495 GB, free: 9.832 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.5449, allocations: 0 / 0.495 GB, free: 9.832 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/0.545, allocations: 67.33 kB / 0.495 GB, free: 9.754 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.693e-06/0.5451, allocations: 0 / 0.495 GB, free: 9.754 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005478/0.5456, allocations: 157.3 kB / 0.4952 GB, free: 9.594 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.596e-05/0.5457, allocations: 81.05 kB / 0.4953 GB, free: 9.496 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.5459, allocations: 148.7 kB / 0.4954 GB, free: 9.344 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.546, allocations: 29.7 kB / 0.4954 GB, free: 9.309 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.69e-05/0.546, allocations: 100 kB / 0.4955 GB, free: 9.207 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.5461, allocations: 23.66 kB / 0.4956 GB, free: 9.184 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.583e-06/0.5461, allocations: 4 kB / 0.4956 GB, free: 9.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.5463, allocations: 318.8 kB / 0.4959 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.6e-05/0.5464, allocations: 16 kB / 0.4959 GB, free: 8.844 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.896e-05/0.5464, allocations: 42.56 kB / 0.4959 GB, free: 8.793 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.911e-05/0.5465, allocations: 24.03 kB / 0.4959 GB, free: 8.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.707e-06/0.5465, allocations: 0 / 0.4959 GB, free: 8.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000229/0.5468, allocations: 97.52 kB / 0.496 GB, free: 8.668 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.5468, allocations: 8 kB / 0.496 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.5468, allocations: 0 / 0.496 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.5469, allocations: 0 / 0.496 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.547, allocations: 15.98 kB / 0.4961 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.875e-06/0.547, allocations: 4 kB / 0.4961 GB, free: 8.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.74e-05/0.5471, allocations: 11.98 kB / 0.4961 GB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.5471, allocations: 4 kB / 0.4961 GB, free: 8.625 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 0.0001024/0.5472, allocations: 113.3 kB / 0.4962 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.5473, allocations: 11.91 kB / 0.4962 GB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003175/0.5476, allocations: 114.4 kB / 0.4963 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.225e-06/0.5476, allocations: 0 / 0.4963 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.951e-06/0.5477, allocations: 96 / 0.4963 GB, free: 8.383 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.5477, allocations: 3.938 kB / 0.4963 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006089/0.5483, allocations: 399.3 kB / 0.4967 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.203e-06/0.5483, allocations: 4 kB / 0.4967 GB, free: 7.926 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.5484, allocations: 11.94 kB / 0.4967 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.506e-06/0.5484, allocations: 0 / 0.4967 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.5484, allocations: 7.922 kB / 0.4967 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.477e-06/0.5484, allocations: 7.953 kB / 0.4967 GB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.5485, allocations: 0 / 0.4967 GB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003079/0.5488, allocations: 221.9 kB / 0.4969 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.5489, allocations: 85 kB / 0.497 GB, free: 7.555 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.656e-05/0.5489, allocations: 11.95 kB / 0.497 GB, free: 7.543 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.549, allocations: 4 kB / 0.497 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.5491, allocations: 7.984 kB / 0.497 GB, free: 7.531 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.5491, allocations: 0 / 0.497 GB, free: 7.531 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000144/0.5493, allocations: 123.3 kB / 0.4972 GB, free: 7.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.02e-07/0.5493, allocations: 0 / 0.4972 GB, free: 7.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003961/0.5497, allocations: 39.94 kB / 0.4972 GB, free: 7.371 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.001769/0.5515, allocations: 0.514 MB / 0.4977 GB, free: 7.012 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000197/0.5517, allocations: 48 kB / 0.4977 GB, free: 6.965 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.5517, allocations: 0 / 0.4977 GB, free: 6.965 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.225e-05/0.5518, allocations: 35.92 kB / 0.4978 GB, free: 6.93 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.5521, allocations: 22.23 kB / 0.4978 GB, free: 6.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004081/0.5526, allocations: 139.2 kB / 0.4979 GB, free: 6.746 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.553, allocations: 0.7043 MB / 0.4986 GB, free: 6.016 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 8.139e-05/0.5531, allocations: 8.562 kB / 0.4986 GB, free: 6.008 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.537e-05/0.5532, allocations: 19.42 kB / 0.4986 GB, free: 5.988 MB / 426.7 MB Notification: Performance of SimCode: time 1.847e-06/0.5532, allocations: 0 / 0.4986 GB, free: 5.988 MB / 426.7 MB Notification: Performance of Templates: time 0.00639/0.5596, allocations: 1.884 MB / 0.5005 GB, free: 4.113 MB / 426.7 MB