Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadModel(ModelicaTest): time 2.511/2.511, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.652e-05/3.649e-05, allocations: 11.98 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4334/0.4335, allocations: 54.85 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002724/0.4362, allocations: 1.369 MB / 364.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001628/0.4379, allocations: 0.6598 MB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.4381, allocations: 1.656 kB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003461/0.4384, allocations: 88.23 kB / 365 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002279/0.4387, allocations: 63.14 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.4389, allocations: 46.48 kB / 365.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001792/0.4391, allocations: 69.06 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.662e-05/0.4392, allocations: 9.719 kB / 365.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/0.4394, allocations: 43.31 kB / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.4395, allocations: 55 kB / 365.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.4397, allocations: 27 kB / 365.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.714e-05/0.4397, allocations: 3.812 kB / 365.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.386e-05/0.4398, allocations: 28.03 kB / 365.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.4398, allocations: 9.469 kB / 365.3 MB, free: 10.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002495/0.4401, allocations: 104.1 kB / 365.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.4401, allocations: 0 / 365.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.4401, allocations: 0 / 365.4 MB, free: 10.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.4401, allocations: 0 / 365.4 MB, free: 10.09 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007495/0.4409, allocations: 459.7 kB / 365.9 MB, free: 9.613 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.4409, allocations: 13.19 kB / 365.9 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.626e-05/0.441, allocations: 18.86 kB / 365.9 MB, free: 9.598 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.4414, allocations: 218 kB / 366.1 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.4414, allocations: 10.91 kB / 366.1 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.4415, allocations: 4.406 kB / 366.1 MB, free: 9.355 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.4417, allocations: 66.94 kB / 366.2 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.4418, allocations: 0 / 366.2 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.4418, allocations: 0.9375 kB / 366.2 MB, free: 9.301 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.4418, allocations: 5.547 kB / 366.2 MB, free: 9.297 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001553/0.442, allocations: 37.88 kB / 366.2 MB, free: 9.277 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005813/0.4426, allocations: 325.3 kB / 366.6 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003139/0.4429, allocations: 77.27 kB / 366.6 MB, free: 8.895 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.4429, allocations: 1.281 kB / 366.6 MB, free: 8.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.4432, allocations: 77.33 kB / 366.7 MB, free: 8.824 MB / 298.7 MB Notification: Performance of pre-optimization done (n=8): time 2.675e-06/0.4432, allocations: 0 / 366.7 MB, free: 8.824 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009964/0.4442, allocations: 242.4 kB / 366.9 MB, free: 8.688 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.4443, allocations: 52.78 kB / 367 MB, free: 8.625 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.4446, allocations: 223.1 kB / 367.2 MB, free: 8.48 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.226e-05/0.4447, allocations: 32.02 kB / 367.2 MB, free: 8.445 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.4448, allocations: 164.6 kB / 367.4 MB, free: 8.285 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.518e-05/0.4449, allocations: 46.05 kB / 367.4 MB, free: 8.246 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.115e-05/0.4449, allocations: 1.094 kB / 367.4 MB, free: 8.246 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4451, allocations: 324.2 kB / 367.8 MB, free: 7.922 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.4452, allocations: 41.17 kB / 367.8 MB, free: 7.902 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.4454, allocations: 67.62 kB / 367.9 MB, free: 7.855 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.4456, allocations: 71.05 kB / 367.9 MB, free: 7.805 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4457, allocations: 0 / 367.9 MB, free: 7.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004957/0.4462, allocations: 187.1 kB / 368.1 MB, free: 7.684 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.899e-05/0.4462, allocations: 33.27 kB / 368.2 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.4463, allocations: 0.9062 kB / 368.2 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.4463, allocations: 5.031 kB / 368.2 MB, free: 7.648 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.4465, allocations: 29.98 kB / 368.2 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.4465, allocations: 1 kB / 368.2 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.4466, allocations: 4.062 kB / 368.2 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.4467, allocations: 5.594 kB / 368.2 MB, free: 7.637 MB / 298.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 (14): * Single equations (assignments): 13 * 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 0.0001905/0.4469, allocations: 139.2 kB / 368.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/0.4469, allocations: 18.27 kB / 368.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.753e-05/0.447, allocations: 21.44 kB / 368.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.447, allocations: 6 kB / 368.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.447, allocations: 0 / 368.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.447, allocations: 5 kB / 368.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008631/0.4479, allocations: 453.7 kB / 368.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4479, allocations: 0.9688 kB / 368.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/0.4481, allocations: 20.45 kB / 368.9 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.4481, allocations: 1.281 kB / 368.9 MB, free: 7.051 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.4481, allocations: 10.16 kB / 368.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.4481, allocations: 1.25 kB / 368.9 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.4481, allocations: 5.25 kB / 368.9 MB, free: 7.039 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004736/0.4486, allocations: 246.9 kB / 369.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.4487, allocations: 99.78 kB / 369.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.4488, allocations: 1.188 kB / 369.2 MB, free: 6.723 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.4489, allocations: 15.11 kB / 369.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.449, allocations: 4.031 kB / 369.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.77e-05/0.4491, allocations: 8.609 kB / 369.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002699/0.4493, allocations: 180.8 kB / 369.4 MB, free: 6.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.4494, allocations: 3.938 kB / 369.4 MB, free: 6.586 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003934/0.4498, allocations: 33.16 kB / 369.4 MB, free: 6.578 MB / 298.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 (11): * Single equations (assignments): 9 * 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.001225/0.451, allocations: 407.7 kB / 369.8 MB, free: 6.32 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005323/0.4516, allocations: 178.5 kB / 370 MB, free: 6.199 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.4516, allocations: 0 / 370 MB, free: 6.199 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.4517, allocations: 41.55 kB / 370.1 MB, free: 6.184 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.4521, allocations: 32.45 kB / 370.1 MB, free: 6.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008688/0.453, allocations: 346 kB / 370.4 MB, free: 5.895 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.4534, allocations: 0.73 MB / 371.2 MB, free: 5.168 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.866e-05/0.4535, allocations: 18.06 kB / 371.2 MB, free: 5.16 MB / 298.7 MB Notification: Performance of SimCode: time 3.617e-06/0.4535, allocations: 0 / 371.2 MB, free: 5.16 MB / 298.7 MB Notification: Performance of Templates: time 0.006424/0.4599, allocations: 2.229 MB / 373.4 MB, free: 2.949 MB / 298.7 MB