Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadModel(ModelicaTest): time 1.801/1.801, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.503e-05, allocations: 4 kB / 273.1 MB, free: 3.668 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08545/0.08551, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3757/0.4613, allocations: 75.64 MB / 397.4 MB, free: 7.07 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.4615, allocations: 69.11 kB / 397.5 MB, free: 7.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01891/0.4805, allocations: 5.467 MB / 402.9 MB, free: 5.531 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4805, allocations: 0 / 402.9 MB, free: 5.531 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.22e-05/0.4805, allocations: 15.62 kB / 403 MB, free: 5.523 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.000645/0.4812, allocations: 0.65 MB / 403.6 MB, free: 4.934 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.4812, allocations: 7.781 kB / 403.6 MB, free: 4.934 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.726e-05/0.4814, allocations: 46.66 kB / 403.7 MB, free: 4.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007027/0.4821, allocations: 453.4 kB / 404.1 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.4821, allocations: 0 / 404.1 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.4821, allocations: 7.438 kB / 404.1 MB, free: 4.633 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.4823, allocations: 68.67 kB / 404.2 MB, free: 4.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.833e-06/0.4823, allocations: 3.984 kB / 404.2 MB, free: 4.566 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/0.4823, allocations: 0 / 404.2 MB, free: 4.566 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.54e-06/0.4823, allocations: 3.938 kB / 404.2 MB, free: 4.562 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.099e-05/0.4824, allocations: 25.2 kB / 404.2 MB, free: 4.559 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003646/0.4828, allocations: 381.4 kB / 404.6 MB, free: 4.289 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001023/0.4829, allocations: 63.94 kB / 404.6 MB, free: 4.234 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5e-05/0.483, allocations: 25.14 kB / 404.7 MB, free: 4.215 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.483, allocations: 0 / 404.7 MB, free: 4.215 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001564/0.4832, allocations: 86.91 kB / 404.7 MB, free: 4.141 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.238e-06/0.4832, allocations: 0 / 404.7 MB, free: 4.141 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003126/0.4835, allocations: 136.1 kB / 404.9 MB, free: 4.066 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.4836, allocations: 81.09 kB / 405 MB, free: 3.969 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.485, allocations: 0.9091 MB / 405.9 MB, free: 3.762 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.4851, allocations: 25.7 kB / 405.9 MB, free: 3.73 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.4852, allocations: 256.9 kB / 406.1 MB, free: 3.578 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.1e-05/0.4853, allocations: 15.11 kB / 406.2 MB, free: 3.566 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.187e-05/0.4853, allocations: 7.531 kB / 406.2 MB, free: 3.566 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.271e-05/0.4853, allocations: 318.8 kB / 406.5 MB, free: 3.246 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.197e-05/0.4855, allocations: 40.53 kB / 406.5 MB, free: 3.242 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.127e-05/0.4856, allocations: 54.02 kB / 406.6 MB, free: 3.219 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.4857, allocations: 100.5 kB / 406.7 MB, free: 3.148 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.4857, allocations: 0 / 406.7 MB, free: 3.148 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003171/0.486, allocations: 185.7 kB / 406.9 MB, free: 3.043 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.922e-05/0.4861, allocations: 62.72 kB / 406.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.684e-06/0.4861, allocations: 0 / 406.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.4861, allocations: 3.984 kB / 406.9 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.255e-05/0.4862, allocations: 15.47 kB / 406.9 MB, free: 2.973 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.865e-06/0.4862, allocations: 4 kB / 406.9 MB, free: 2.969 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001574/0.4864, allocations: 15.53 kB / 407 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.4864, allocations: 7.406 kB / 407 MB, free: 2.961 MB / 314.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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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 6.686e-05/0.4865, allocations: 116.6 kB / 407.1 MB, free: 2.848 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.7e-05/0.4866, allocations: 50.12 kB / 407.1 MB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.487, allocations: 154.3 kB / 407.3 MB, free: 2.754 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.669e-06/0.487, allocations: 3.844 kB / 407.3 MB, free: 2.754 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.091e-06/0.487, allocations: 128 / 407.3 MB, free: 2.754 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.024e-06/0.487, allocations: 4 kB / 407.3 MB, free: 2.75 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.4874, allocations: 371 kB / 407.6 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.384e-06/0.4874, allocations: 0 / 407.6 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.403e-05/0.4875, allocations: 11.78 kB / 407.7 MB, free: 2.473 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.225e-06/0.4875, allocations: 3.984 kB / 407.7 MB, free: 2.469 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.4875, allocations: 6.594 kB / 407.7 MB, free: 2.469 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.487e-06/0.4875, allocations: 0 / 407.7 MB, free: 2.469 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.096e-06/0.4875, allocations: 0 / 407.7 MB, free: 2.469 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.4878, allocations: 191.4 kB / 407.9 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.4881, allocations: 186.7 kB / 408 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.171e-05/0.4882, allocations: 7.031 kB / 408 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.4883, allocations: 3.844 kB / 408 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.4884, allocations: 7.922 kB / 408.1 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.4884, allocations: 10.84 kB / 408.1 MB, free: 2.195 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0009483/0.4894, allocations: 0.7187 MB / 408.8 MB, free: 2.043 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.07e-07/0.4894, allocations: 4 kB / 408.8 MB, free: 2.039 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004614/0.4899, allocations: 100.1 kB / 408.9 MB, free: 2.02 MB / 314.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: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001507/0.4914, allocations: 455.3 kB / 409.3 MB, free: 17.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003354/0.4917, allocations: 190 kB / 409.5 MB, free: 17.59 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.09e-06/0.4918, allocations: 0 / 409.5 MB, free: 17.59 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.42e-05/0.4918, allocations: 29.95 kB / 409.5 MB, free: 17.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003977/0.4923, allocations: 55.14 kB / 409.6 MB, free: 17.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.4936, allocations: 0.7827 MB / 410.4 MB, free: 17.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005658/0.4942, allocations: 0.845 MB / 411.2 MB, free: 16.49 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.4943, allocations: 37.66 kB / 411.3 MB, free: 16.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.453e-06/0.4944, allocations: 0 / 411.3 MB, free: 16.48 MB / 330.7 MB Notification: Performance of Templates: time 0.01015/0.5045, allocations: 5.474 MB / 416.7 MB, free: 13.75 MB / 330.7 MB