Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test79") Notification: Performance of loadModel(ModelicaTest): time 2.693/2.693, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.647e-05/3.651e-05, allocations: 8 kB / 308 MB, free: 15.33 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4564, allocations: 54.85 MB / 362.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002868/0.4593, allocations: 1.476 MB / 364.4 MB, free: 11.04 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002151/0.4615, allocations: 0.8757 MB / 365.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.4617, allocations: 2.375 kB / 365.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005125/0.4622, allocations: 199 kB / 365.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.4626, allocations: 125.3 kB / 365.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.4631, allocations: 84.52 kB / 365.6 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002962/0.4634, allocations: 113.4 kB / 365.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.4635, allocations: 8.625 kB / 365.8 MB, free: 10.05 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001872/0.4637, allocations: 84.5 kB / 365.8 MB, free: 10 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.464, allocations: 106.8 kB / 365.9 MB, free: 9.957 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002585/0.4643, allocations: 53.62 kB / 366 MB, free: 9.938 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.086e-05/0.4643, allocations: 6.781 kB / 366 MB, free: 9.938 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.668e-05/0.4645, allocations: 50.02 kB / 366.1 MB, free: 9.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.4645, allocations: 10.97 kB / 366.1 MB, free: 9.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.4649, allocations: 181.1 kB / 366.2 MB, free: 9.801 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.4649, allocations: 0 / 366.2 MB, free: 9.801 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.4649, allocations: 1.062 kB / 366.2 MB, free: 9.801 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.465, allocations: 0 / 366.2 MB, free: 9.801 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009372/0.4659, allocations: 0.5817 MB / 366.8 MB, free: 9.199 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.466, allocations: 12.84 kB / 366.8 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.167e-05/0.4661, allocations: 28.05 kB / 366.9 MB, free: 9.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/0.4666, allocations: 265 kB / 367.1 MB, free: 8.914 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.4667, allocations: 4.156 kB / 367.1 MB, free: 8.914 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.066e-05/0.4667, allocations: 10.81 kB / 367.1 MB, free: 8.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004364/0.4672, allocations: 101.5 kB / 367.2 MB, free: 8.824 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.4672, allocations: 3.938 kB / 367.2 MB, free: 8.82 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.4672, allocations: 4.859 kB / 367.2 MB, free: 8.816 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/0.4673, allocations: 2.688 kB / 367.2 MB, free: 8.816 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002113/0.4675, allocations: 45.28 kB / 367.3 MB, free: 8.793 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008469/0.4683, allocations: 466.4 kB / 367.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004683/0.4688, allocations: 120.4 kB / 367.9 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.4689, allocations: 2.594 kB / 367.9 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003709/0.4693, allocations: 122 kB / 368 MB, free: 8.141 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 3.076e-06/0.4693, allocations: 0 / 368 MB, free: 8.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.00176/0.4711, allocations: 371.6 kB / 368.3 MB, free: 7.938 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/0.4712, allocations: 80.08 kB / 368.4 MB, free: 7.844 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009413/0.4721, allocations: 388.6 kB / 368.8 MB, free: 7.598 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/0.4722, allocations: 33.7 kB / 368.8 MB, free: 7.559 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002098/0.4725, allocations: 156.5 kB / 369 MB, free: 7.402 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.936e-05/0.4726, allocations: 43.36 kB / 369 MB, free: 7.359 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.533e-05/0.4726, allocations: 8 kB / 369 MB, free: 7.352 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002108/0.4728, allocations: 338.8 kB / 369.4 MB, free: 7.012 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.4732, allocations: 60.16 kB / 369.4 MB, free: 6.953 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003441/0.4735, allocations: 92.89 kB / 369.5 MB, free: 6.852 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/0.474, allocations: 135.3 kB / 369.7 MB, free: 6.707 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.474, allocations: 0 / 369.7 MB, free: 6.707 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001083/0.4751, allocations: 292.6 kB / 369.9 MB, free: 6.402 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.4752, allocations: 71.38 kB / 370 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.4753, allocations: 4.188 kB / 370 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.4753, allocations: 0 / 370 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003383/0.4756, allocations: 43.92 kB / 370.1 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.4757, allocations: 0 / 370.1 MB, free: 6.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.4759, allocations: 12.06 kB / 370.1 MB, free: 6.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.476, allocations: 12 kB / 370.1 MB, free: 6.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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 0.0003813/0.4764, allocations: 165.7 kB / 370.2 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.894e-05/0.4765, allocations: 31.58 kB / 370.3 MB, free: 6.047 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.4767, allocations: 38.61 kB / 370.3 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.4767, allocations: 0 / 370.3 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.4767, allocations: 0 / 370.3 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.4767, allocations: 8.172 kB / 370.3 MB, free: 6 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.4784, allocations: 0.6203 MB / 370.9 MB, free: 5.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.4784, allocations: 7.938 kB / 370.9 MB, free: 5.309 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001491/0.4786, allocations: 15.98 kB / 371 MB, free: 5.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.4786, allocations: 4 kB / 371 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.4787, allocations: 4 kB / 371 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.461e-06/0.4787, allocations: 0 / 371 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4787, allocations: 4.062 kB / 371 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008976/0.4796, allocations: 416.3 kB / 371.4 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001835/0.4798, allocations: 112.8 kB / 371.5 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.052e-05/0.4799, allocations: 4 kB / 371.5 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.4802, allocations: 15.94 kB / 371.5 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.4803, allocations: 11.98 kB / 371.5 MB, free: 4.676 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.4804, allocations: 11.98 kB / 371.5 MB, free: 4.664 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006246/0.481, allocations: 307 kB / 371.8 MB, free: 4.363 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.02e-07/0.4811, allocations: 4 kB / 371.8 MB, free: 4.359 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008584/0.4819, allocations: 63.98 kB / 371.9 MB, free: 4.297 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00263/0.4846, allocations: 0.6131 MB / 372.5 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.4856, allocations: 298.8 kB / 372.8 MB, free: 3.461 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.4857, allocations: 0 / 372.8 MB, free: 3.461 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003147/0.486, allocations: 68.2 kB / 372.9 MB, free: 3.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008337/0.4869, allocations: 40.91 kB / 372.9 MB, free: 3.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/0.4887, allocations: 0.5217 MB / 373.4 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007657/0.4895, allocations: 0.7634 MB / 374.2 MB, free: 2.012 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002813/0.4898, allocations: 29.84 kB / 374.2 MB, free: 1.984 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.49, allocations: 23.42 kB / 374.2 MB, free: 1.961 MB / 298.7 MB Notification: Performance of SimCode: time 1.713e-06/0.49, allocations: 0 / 374.2 MB, free: 1.961 MB / 298.7 MB Notification: Performance of Templates: time 0.01405/0.5041, allocations: 2.94 MB / 377.2 MB, free: 15.02 MB / 314.7 MB