Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.47/2.47, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.711e-05/4.689e-05, allocations: 8 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4595/0.4596, allocations: 54.86 MB / 362.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003245/0.4629, allocations: 1.355 MB / 364.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.4646, allocations: 0.6543 MB / 364.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.8e-05/0.4647, allocations: 0.9688 kB / 364.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000252/0.465, allocations: 21.34 kB / 364.9 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.4652, allocations: 25.19 kB / 364.9 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.4654, allocations: 53.58 kB / 365 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000144/0.4656, allocations: 40.83 kB / 365 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.4657, allocations: 11.48 kB / 365 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.4658, allocations: 37.69 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.192e-05/0.4659, allocations: 21.36 kB / 365.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.466, allocations: 23.44 kB / 365.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.4661, allocations: 4.031 kB / 365.1 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.248e-05/0.4662, allocations: 17.45 kB / 365.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.204e-05/0.4662, allocations: 5.031 kB / 365.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002263/0.4664, allocations: 90.16 kB / 365.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.4665, allocations: 0 / 365.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4665, allocations: 1.688 kB / 365.2 MB, free: 10.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.859e-06/0.4665, allocations: 3.938 kB / 365.2 MB, free: 10.14 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006733/0.4672, allocations: 440.3 kB / 365.6 MB, free: 9.676 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.4672, allocations: 12.34 kB / 365.7 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.4673, allocations: 13.25 kB / 365.7 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.4676, allocations: 185.8 kB / 365.9 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.4676, allocations: 1.688 kB / 365.9 MB, free: 9.457 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.4677, allocations: 15.31 kB / 365.9 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002103/0.4679, allocations: 58.16 kB / 365.9 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.4679, allocations: 1.219 kB / 365.9 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.468, allocations: 4 kB / 365.9 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.468, allocations: 5.172 kB / 365.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001151/0.4681, allocations: 18.52 kB / 366 MB, free: 9.379 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004708/0.4686, allocations: 292.1 kB / 366.2 MB, free: 9.066 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002604/0.4689, allocations: 66.14 kB / 366.3 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.4689, allocations: 2.25 kB / 366.3 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002181/0.4691, allocations: 68.88 kB / 366.4 MB, free: 8.949 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.665e-06/0.4691, allocations: 0 / 366.4 MB, free: 8.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007982/0.47, allocations: 176.5 kB / 366.5 MB, free: 8.848 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.47, allocations: 56.62 kB / 366.6 MB, free: 8.781 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.4703, allocations: 159.7 kB / 366.8 MB, free: 8.656 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.51e-05/0.4703, allocations: 26.98 kB / 366.8 MB, free: 8.625 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.4704, allocations: 161.3 kB / 366.9 MB, free: 8.469 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.4705, allocations: 23.7 kB / 367 MB, free: 8.449 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.488e-06/0.4705, allocations: 1.375 kB / 367 MB, free: 8.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.4706, allocations: 316.3 kB / 367.3 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.4708, allocations: 26.67 kB / 367.3 MB, free: 8.121 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.4709, allocations: 67.64 kB / 367.4 MB, free: 8.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.4711, allocations: 61.33 kB / 367.4 MB, free: 8.023 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.4711, allocations: 0 / 367.4 MB, free: 8.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004003/0.4715, allocations: 153.1 kB / 367.6 MB, free: 7.918 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.566e-05/0.4716, allocations: 40.36 kB / 367.6 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4716, allocations: 0 / 367.6 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.4716, allocations: 1.844 kB / 367.6 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001542/0.4718, allocations: 21.16 kB / 367.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.4718, allocations: 1.375 kB / 367.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.4719, allocations: 11.92 kB / 367.7 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.472, allocations: 3.406 kB / 367.7 MB, free: 7.863 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 (11): * Single equations (assignments): 10 * 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.0001364/0.4721, allocations: 119.9 kB / 367.8 MB, free: 7.746 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.4721, allocations: 8.219 kB / 367.8 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.519e-05/0.4722, allocations: 23.97 kB / 367.8 MB, free: 7.723 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.4722, allocations: 5.25 kB / 367.8 MB, free: 7.719 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.4722, allocations: 5.375 kB / 367.8 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.4723, allocations: 4 kB / 367.8 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006589/0.4729, allocations: 385.3 kB / 368.2 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.473, allocations: 7.891 kB / 368.2 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.1e-05/0.473, allocations: 8.25 kB / 368.2 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.473, allocations: 1.125 kB / 368.2 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.4731, allocations: 1.312 kB / 368.2 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.4731, allocations: 1.469 kB / 368.2 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.4731, allocations: 0 / 368.2 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.4735, allocations: 223.4 kB / 368.4 MB, free: 7.129 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.868e-05/0.4736, allocations: 97.11 kB / 368.5 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.4736, allocations: 6.594 kB / 368.5 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.4737, allocations: 6.609 kB / 368.5 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.4738, allocations: 10.3 kB / 368.6 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.262e-05/0.4738, allocations: 7.812 kB / 368.6 MB, free: 7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000147/0.474, allocations: 124.4 kB / 368.7 MB, free: 6.906 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.474, allocations: 1.5 kB / 368.7 MB, free: 6.906 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003825/0.4744, allocations: 27.84 kB / 368.7 MB, free: 6.898 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 (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.001197/0.4756, allocations: 409.6 kB / 369.1 MB, free: 6.641 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004764/0.4761, allocations: 151.6 kB / 369.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4761, allocations: 0 / 369.3 MB, free: 6.531 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.4762, allocations: 29.8 kB / 369.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003578/0.4766, allocations: 27.05 kB / 369.3 MB, free: 6.504 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006365/0.4773, allocations: 250.5 kB / 369.6 MB, free: 6.277 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.4776, allocations: 0.7005 MB / 370.3 MB, free: 5.57 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.543e-05/0.4777, allocations: 18.2 kB / 370.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of SimCode: time 8.82e-07/0.4777, allocations: 1.312 kB / 370.3 MB, free: 5.559 MB / 298.7 MB Notification: Performance of Templates: time 0.005656/0.4834, allocations: 1.856 MB / 372.1 MB, free: 4.215 MB / 298.7 MB