Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.462/2.462, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.408e-05/5.411e-05, allocations: 4.047 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.4508, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.004109/0.455, allocations: 1.359 MB / 364.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.4574, allocations: 0.6537 MB / 364.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001747/0.4576, allocations: 1.656 kB / 364.9 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000458/0.4581, allocations: 16.81 kB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002396/0.4584, allocations: 30.02 kB / 364.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.4586, allocations: 46.78 kB / 365 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.4588, allocations: 52.28 kB / 365 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.805e-05/0.4589, allocations: 6.531 kB / 365 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001136/0.459, allocations: 35 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.707e-05/0.4591, allocations: 21.05 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001546/0.4593, allocations: 31.48 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.4593, allocations: 4.375 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.123e-05/0.4594, allocations: 18.17 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.492e-05/0.4594, allocations: 4.844 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002332/0.4597, allocations: 84.27 kB / 365.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.4597, allocations: 0 / 365.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4597, allocations: 0 / 365.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.12e-05/0.4597, allocations: 4 kB / 365.2 MB, free: 10.18 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.0007362/0.4605, allocations: 449.7 kB / 365.7 MB, free: 9.703 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.4605, allocations: 12.47 kB / 365.7 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.4606, allocations: 8.969 kB / 365.7 MB, free: 9.695 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.4609, allocations: 201.2 kB / 365.9 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.461, allocations: 4.812 kB / 365.9 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.552e-05/0.461, allocations: 4.188 kB / 365.9 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.4613, allocations: 58.58 kB / 365.9 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.4613, allocations: 4 kB / 365.9 MB, free: 9.414 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.669e-05/0.4613, allocations: 4 kB / 365.9 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.4613, allocations: 5.703 kB / 366 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.4615, allocations: 21.86 kB / 366 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.462, allocations: 294.6 kB / 366.3 MB, free: 9.082 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.4622, allocations: 66.11 kB / 366.3 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.782e-05/0.4623, allocations: 1.156 kB / 366.3 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/0.4625, allocations: 72.94 kB / 366.4 MB, free: 8.961 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.645e-06/0.4625, allocations: 0 / 366.4 MB, free: 8.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007808/0.4633, allocations: 181 kB / 366.6 MB, free: 8.855 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.4634, allocations: 52.25 kB / 366.6 MB, free: 8.793 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.4636, allocations: 166.8 kB / 366.8 MB, free: 8.668 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.664e-05/0.4637, allocations: 31.2 kB / 366.8 MB, free: 8.633 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.4638, allocations: 164.5 kB / 367 MB, free: 8.473 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.316e-05/0.4638, allocations: 28.14 kB / 367 MB, free: 8.449 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/0.4638, allocations: 1.156 kB / 367 MB, free: 8.449 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.464, allocations: 316 kB / 367.3 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.4641, allocations: 32.05 kB / 367.4 MB, free: 8.117 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.4643, allocations: 50.36 kB / 367.4 MB, free: 8.082 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.4645, allocations: 65.45 kB / 367.5 MB, free: 8.031 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4645, allocations: 0.9062 kB / 367.5 MB, free: 8.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004082/0.4649, allocations: 151.7 kB / 367.6 MB, free: 7.926 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.455e-05/0.465, allocations: 40.86 kB / 367.7 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.465, allocations: 1.094 kB / 367.7 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.465, allocations: 1.25 kB / 367.7 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.4652, allocations: 13.41 kB / 367.7 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.4652, allocations: 1.344 kB / 367.7 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.4653, allocations: 14.86 kB / 367.7 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.923e-05/0.4653, allocations: 8.688 kB / 367.7 MB, free: 7.871 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.0001478/0.4655, allocations: 119.6 kB / 367.8 MB, free: 7.754 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.178e-05/0.4655, allocations: 16.61 kB / 367.8 MB, free: 7.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.414e-05/0.4656, allocations: 17.92 kB / 367.8 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.4656, allocations: 5.219 kB / 367.8 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4656, allocations: 0 / 367.8 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4657, allocations: 0 / 367.8 MB, free: 7.727 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006712/0.4663, allocations: 394.5 kB / 368.2 MB, free: 7.344 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.4664, allocations: 5.234 kB / 368.2 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.037e-05/0.4664, allocations: 7.656 kB / 368.2 MB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.4665, allocations: 4.75 kB / 368.2 MB, free: 7.336 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.4665, allocations: 10.2 kB / 368.3 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.4665, allocations: 0 / 368.3 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4665, allocations: 0.875 kB / 368.3 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003707/0.4669, allocations: 226.8 kB / 368.5 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.797e-05/0.467, allocations: 94.22 kB / 368.6 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.522e-05/0.467, allocations: 1.562 kB / 368.6 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.4671, allocations: 3.312 kB / 368.6 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.145e-05/0.4672, allocations: 11.33 kB / 368.6 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.278e-05/0.4672, allocations: 3.312 kB / 368.6 MB, free: 7.012 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001695/0.4674, allocations: 136.6 kB / 368.7 MB, free: 6.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.4674, allocations: 4 kB / 368.7 MB, free: 6.906 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003611/0.4678, allocations: 37.27 kB / 368.8 MB, free: 6.891 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.001237/0.4691, allocations: 394.4 kB / 369.2 MB, free: 6.648 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004382/0.4695, allocations: 155.4 kB / 369.3 MB, free: 6.535 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.4695, allocations: 0 / 369.3 MB, free: 6.535 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.4697, allocations: 34 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.0003413/0.47, allocations: 21.97 kB / 369.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006634/0.4707, allocations: 267.3 kB / 369.6 MB, free: 6.273 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.4711, allocations: 0.7065 MB / 370.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.085e-05/0.4712, allocations: 18.08 kB / 370.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of SimCode: time 1.643e-06/0.4712, allocations: 0 / 370.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of Templates: time 0.005711/0.4769, allocations: 1.882 MB / 372.2 MB, free: 4.137 MB / 298.7 MB