Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadModel(ModelicaTest): time 1.792/1.792, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.364e-05, allocations: 8 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08507/0.08512, allocations: 48.7 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3351/0.4203, allocations: 75.78 MB / 397.5 MB, free: 7.105 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000208/0.4206, allocations: 66.77 kB / 397.6 MB, free: 7.105 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01498/0.4356, allocations: 4.016 MB / 401.6 MB, free: 6.121 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4356, allocations: 0 / 401.6 MB, free: 6.121 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.4356, allocations: 0 / 401.6 MB, free: 6.121 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.000358/0.436, allocations: 415.9 kB / 402 MB, free: 5.695 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.4361, allocations: 15.34 kB / 402 MB, free: 5.691 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.4361, allocations: 7.781 kB / 402.1 MB, free: 5.688 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.4363, allocations: 196.3 kB / 402.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.4364, allocations: 0 / 402.2 MB, free: 5.477 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.4364, allocations: 3.844 kB / 402.3 MB, free: 5.477 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.639e-05/0.4365, allocations: 40.81 kB / 402.3 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.4365, allocations: 0 / 402.3 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.4365, allocations: 3.375 kB / 402.3 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.4366, allocations: 3.906 kB / 402.3 MB, free: 5.441 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.433e-05/0.4366, allocations: 19.33 kB / 402.3 MB, free: 5.434 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.437, allocations: 293.1 kB / 402.6 MB, free: 5.137 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001984/0.4372, allocations: 44.91 kB / 402.6 MB, free: 5.109 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.449e-05/0.4372, allocations: 16.47 kB / 402.7 MB, free: 5.098 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.4373, allocations: 0 / 402.7 MB, free: 5.098 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001118/0.4374, allocations: 61.28 kB / 402.7 MB, free: 5.043 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.389e-06/0.4374, allocations: 0 / 402.7 MB, free: 5.043 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003761/0.4378, allocations: 116.2 kB / 402.8 MB, free: 4.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.4378, allocations: 51.41 kB / 402.9 MB, free: 4.918 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.438, allocations: 158.6 kB / 403 MB, free: 4.816 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.438, allocations: 25.7 kB / 403.1 MB, free: 4.785 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.4381, allocations: 165 kB / 403.2 MB, free: 4.633 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.4381, allocations: 14.75 kB / 403.2 MB, free: 4.625 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.912e-06/0.4381, allocations: 0 / 403.2 MB, free: 4.625 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.863e-05/0.4382, allocations: 322.4 kB / 403.6 MB, free: 4.305 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.4383, allocations: 21.97 kB / 403.6 MB, free: 4.305 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.095e-05/0.4383, allocations: 18.47 kB / 403.6 MB, free: 4.305 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.598e-05/0.4384, allocations: 57.66 kB / 403.7 MB, free: 4.266 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.244e-06/0.4384, allocations: 0 / 403.7 MB, free: 4.266 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002088/0.4387, allocations: 124.2 kB / 403.8 MB, free: 4.191 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/0.4387, allocations: 33.42 kB / 403.8 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.315e-06/0.4387, allocations: 0 / 403.8 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.4387, allocations: 0 / 403.8 MB, free: 4.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.848e-05/0.4388, allocations: 19.45 kB / 403.8 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.902e-06/0.4388, allocations: 12 kB / 403.8 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.524e-05/0.4389, allocations: 0 / 403.8 MB, free: 4.141 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.4389, allocations: 4.031 kB / 403.8 MB, free: 4.141 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.465e-05/0.439, allocations: 116.1 kB / 404 MB, free: 4.027 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.439, allocations: 11.66 kB / 404 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.4393, allocations: 87.05 kB / 404.1 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.939e-06/0.4393, allocations: 144 / 404.1 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.194e-06/0.4393, allocations: 4 kB / 404.1 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.934e-06/0.4393, allocations: 11.92 kB / 404.1 MB, free: 3.965 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003337/0.4397, allocations: 354.7 kB / 404.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.4397, allocations: 3.875 kB / 404.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.352e-05/0.4397, allocations: 3.844 kB / 404.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.361e-06/0.4397, allocations: 0 / 404.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.4398, allocations: 3.844 kB / 404.4 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.644e-06/0.4398, allocations: 3.953 kB / 404.4 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4398, allocations: 0 / 404.4 MB, free: 3.637 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/0.44, allocations: 179.5 kB / 404.6 MB, free: 3.488 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.4402, allocations: 84.98 kB / 404.7 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.4402, allocations: 7.625 kB / 404.7 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.4403, allocations: 3.984 kB / 404.7 MB, free: 19.39 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.577e-05/0.4404, allocations: 7.797 kB / 404.7 MB, free: 19.38 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.4404, allocations: 3.844 kB / 404.7 MB, free: 19.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001376/0.4405, allocations: 132.9 kB / 404.8 MB, free: 19.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.23e-07/0.4405, allocations: 0 / 404.8 MB, free: 19.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003581/0.4409, allocations: 38.97 kB / 404.9 MB, free: 19.29 MB / 330.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.00106/0.442, allocations: 341.5 kB / 405.2 MB, free: 19.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.4422, allocations: 120.5 kB / 405.3 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.609e-06/0.4422, allocations: 0 / 405.3 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.47e-05/0.4423, allocations: 15.56 kB / 405.3 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.4426, allocations: 15.61 kB / 405.4 MB, free: 18.98 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003451/0.4429, allocations: 160.9 kB / 405.5 MB, free: 18.85 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.4433, allocations: 0.7076 MB / 406.2 MB, free: 18.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.4434, allocations: 19 kB / 406.2 MB, free: 18.13 MB / 330.7 MB Notification: Performance of SimCode: time 1.537e-06/0.4434, allocations: 4 kB / 406.2 MB, free: 18.12 MB / 330.7 MB Notification: Performance of Templates: time 0.00348/0.4469, allocations: 1.704 MB / 407.9 MB, free: 17.26 MB / 330.7 MB