Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadModel(ModelicaTest): time 1.814/1.814, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.943e-05/2.954e-05, allocations: 4 kB / 273.1 MB, free: 3.648 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08523/0.08528, allocations: 48.69 MB / 321.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3367/0.4221, allocations: 75.62 MB / 397.4 MB, free: 7.035 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001935/0.4223, allocations: 72.11 kB / 397.5 MB, free: 7.031 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01423/0.4366, allocations: 3.831 MB / 401.3 MB, free: 6.129 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.363e-06/0.4366, allocations: 0 / 401.3 MB, free: 6.129 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.4366, allocations: 0 / 401.3 MB, free: 6.129 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003505/0.437, allocations: 396.8 kB / 401.7 MB, free: 5.719 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.602e-05/0.437, allocations: 11.62 kB / 401.7 MB, free: 5.715 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.4371, allocations: 11.75 kB / 401.7 MB, free: 5.707 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002007/0.4373, allocations: 205.3 kB / 401.9 MB, free: 5.492 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.4373, allocations: 3.984 kB / 401.9 MB, free: 5.488 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.721e-05/0.4374, allocations: 3.906 kB / 401.9 MB, free: 5.488 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.267e-05/0.4374, allocations: 36.72 kB / 401.9 MB, free: 5.453 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.11e-06/0.4375, allocations: 0 / 401.9 MB, free: 5.453 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.4375, allocations: 7.781 kB / 401.9 MB, free: 5.449 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.563e-06/0.4375, allocations: 3.984 kB / 401.9 MB, free: 5.445 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.251e-05/0.4376, allocations: 3.844 kB / 402 MB, free: 5.445 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001497/0.4377, allocations: 189.1 kB / 402.1 MB, free: 5.238 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.548e-05/0.4378, allocations: 33.06 kB / 402.2 MB, free: 5.207 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.4378, allocations: 11.83 kB / 402.2 MB, free: 5.199 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/0.4379, allocations: 0 / 402.2 MB, free: 5.199 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.811e-05/0.438, allocations: 65.11 kB / 402.2 MB, free: 5.141 MB / 314.7 MB Notification: Performance of pre-optimization done (n=3): time 2.303e-06/0.438, allocations: 0 / 402.2 MB, free: 5.141 MB / 314.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001706/0.4382, allocations: 55.78 kB / 402.3 MB, free: 5.102 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.017e-05/0.4382, allocations: 51.41 kB / 402.3 MB, free: 5.039 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.4384, allocations: 162.3 kB / 402.5 MB, free: 4.934 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.4384, allocations: 25.7 kB / 402.5 MB, free: 4.902 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.85e-05/0.4384, allocations: 161.2 kB / 402.7 MB, free: 4.754 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.4385, allocations: 7.844 kB / 402.7 MB, free: 4.746 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.61e-06/0.4385, allocations: 3.438 kB / 402.7 MB, free: 4.746 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.066e-05/0.4386, allocations: 323 kB / 403 MB, free: 4.426 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.941e-05/0.4386, allocations: 14.22 kB / 403 MB, free: 4.426 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.271e-05/0.4387, allocations: 22.16 kB / 403.1 MB, free: 4.422 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.551e-05/0.4387, allocations: 48.34 kB / 403.1 MB, free: 4.387 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.491e-06/0.4388, allocations: 0 / 403.1 MB, free: 4.387 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001753/0.4389, allocations: 107.6 kB / 403.2 MB, free: 4.316 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.439, allocations: 33.52 kB / 403.2 MB, free: 4.285 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.712e-06/0.439, allocations: 3.984 kB / 403.2 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.439, allocations: 0 / 403.2 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.957e-05/0.4391, allocations: 3.875 kB / 403.2 MB, free: 4.281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.138e-06/0.4391, allocations: 3.938 kB / 403.2 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.508e-05/0.4392, allocations: 7.781 kB / 403.3 MB, free: 4.273 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.48e-05/0.4392, allocations: 14.83 kB / 403.3 MB, free: 4.266 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 (5): * Single equations (assignments): 4 * 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.276e-05/0.4393, allocations: 108.9 kB / 403.4 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.4393, allocations: 7.875 kB / 403.4 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001572/0.4395, allocations: 71.73 kB / 403.5 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.4395, allocations: 0 / 403.5 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.904e-06/0.4395, allocations: 3.844 kB / 403.5 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.652e-06/0.4395, allocations: 128 / 403.5 MB, free: 4.105 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.4396, allocations: 188.2 kB / 403.6 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.4396, allocations: 0 / 403.6 MB, free: 3.895 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.25e-05/0.4397, allocations: 11.62 kB / 403.7 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.188e-06/0.4397, allocations: 0 / 403.7 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.4397, allocations: 3.062 kB / 403.7 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.707e-06/0.4397, allocations: 3.594 kB / 403.7 MB, free: 3.887 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.619e-06/0.4397, allocations: 3.984 kB / 403.7 MB, free: 3.883 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.4399, allocations: 89.08 kB / 403.8 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.959e-05/0.4399, allocations: 86.2 kB / 403.8 MB, free: 3.707 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.66e-05/0.44, allocations: 8.609 kB / 403.8 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.672e-05/0.44, allocations: 5.281 kB / 403.8 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.283e-05/0.4401, allocations: 1.344 kB / 403.8 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.4401, allocations: 2.703 kB / 403.9 MB, free: 3.699 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001125/0.4402, allocations: 132.8 kB / 404 MB, free: 3.617 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.65e-07/0.4402, allocations: 1.312 kB / 404 MB, free: 3.617 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000296/0.4405, allocations: 24.75 kB / 404 MB, free: 3.613 MB / 314.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 (4): * Single equations (assignments): 3 * 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.001022/0.4416, allocations: 307.7 kB / 404.3 MB, free: 19.4 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.4418, allocations: 104.1 kB / 404.4 MB, free: 19.33 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.549e-06/0.4418, allocations: 3.875 kB / 404.4 MB, free: 19.33 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.237e-05/0.4419, allocations: 7.625 kB / 404.4 MB, free: 19.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002043/0.4421, allocations: 15.05 kB / 404.4 MB, free: 19.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003283/0.4424, allocations: 156.8 kB / 404.6 MB, free: 19.2 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.4428, allocations: 0.7027 MB / 405.3 MB, free: 18.48 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.4429, allocations: 15 kB / 405.3 MB, free: 18.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.413e-06/0.4429, allocations: 0 / 405.3 MB, free: 18.48 MB / 330.7 MB Notification: Performance of Templates: time 0.003162/0.4461, allocations: 1.51 MB / 406.8 MB, free: 17.71 MB / 330.7 MB