Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadModel(ModelicaTest): time 2.628/2.628, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.482e-05/3.483e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4145, allocations: 54.86 MB / 362.9 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002785/0.4173, allocations: 1.356 MB / 364.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001667/0.4191, allocations: 0.6516 MB / 364.9 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.678e-05/0.4192, allocations: 5.031 kB / 364.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003556/0.4196, allocations: 81.66 kB / 365 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.4198, allocations: 63.14 kB / 365 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.4201, allocations: 45.56 kB / 365.1 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.4203, allocations: 65.8 kB / 365.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.441e-05/0.4204, allocations: 6.594 kB / 365.2 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001126/0.4205, allocations: 40.5 kB / 365.2 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.4207, allocations: 53.16 kB / 365.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.4208, allocations: 22.56 kB / 365.3 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.4209, allocations: 4.938 kB / 365.3 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.576e-05/0.421, allocations: 27.25 kB / 365.3 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.421, allocations: 14.03 kB / 365.3 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002477/0.4213, allocations: 98.75 kB / 365.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4213, allocations: 0 / 365.4 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.93e-06/0.4213, allocations: 7.984 kB / 365.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.067e-05/0.4213, allocations: 1.469 kB / 365.4 MB, free: 10.15 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000728/0.4221, allocations: 451.4 kB / 365.9 MB, free: 9.676 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.4221, allocations: 12.78 kB / 365.9 MB, free: 9.672 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.932e-05/0.4222, allocations: 14.59 kB / 365.9 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.4226, allocations: 212.9 kB / 366.1 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.4227, allocations: 2.312 kB / 366.1 MB, free: 9.434 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/0.4227, allocations: 15.55 kB / 366.1 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002412/0.423, allocations: 64.98 kB / 366.2 MB, free: 9.367 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.423, allocations: 1.531 kB / 366.2 MB, free: 9.367 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.423, allocations: 3.938 kB / 366.2 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.423, allocations: 5.234 kB / 366.2 MB, free: 9.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.4232, allocations: 28.12 kB / 366.2 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005803/0.4238, allocations: 316.3 kB / 366.5 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000314/0.4241, allocations: 74.36 kB / 366.6 MB, free: 8.969 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.691e-05/0.4242, allocations: 6.438 kB / 366.6 MB, free: 8.965 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.4244, allocations: 74.94 kB / 366.7 MB, free: 8.895 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 2.355e-06/0.4245, allocations: 1.219 kB / 366.7 MB, free: 8.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009399/0.4254, allocations: 202.2 kB / 366.9 MB, free: 8.785 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.765e-05/0.4255, allocations: 56.55 kB / 366.9 MB, free: 8.719 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.4259, allocations: 227.2 kB / 367.2 MB, free: 8.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.199e-05/0.4259, allocations: 35.5 kB / 367.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/0.426, allocations: 102.8 kB / 367.3 MB, free: 8.434 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.052e-05/0.4261, allocations: 32.14 kB / 367.3 MB, free: 8.406 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.078e-05/0.4261, allocations: 0.9688 kB / 367.3 MB, free: 8.406 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.4263, allocations: 331.1 kB / 367.6 MB, free: 8.078 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.4264, allocations: 33.89 kB / 367.7 MB, free: 8.062 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.4266, allocations: 61.55 kB / 367.7 MB, free: 8.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.4268, allocations: 67.77 kB / 367.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4268, allocations: 0 / 367.8 MB, free: 7.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006313/0.4275, allocations: 182.2 kB / 368 MB, free: 7.848 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.404e-05/0.4275, allocations: 36.19 kB / 368 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.4276, allocations: 1.266 kB / 368 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.4276, allocations: 1.125 kB / 368 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.4278, allocations: 18.45 kB / 368 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.4278, allocations: 4.922 kB / 368 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.4279, allocations: 12.5 kB / 368.1 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.4279, allocations: 4.781 kB / 368.1 MB, free: 7.797 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 (12): * Single equations (assignments): 11 * 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.0001958/0.4282, allocations: 137.7 kB / 368.2 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.91e-05/0.4282, allocations: 13.31 kB / 368.2 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.677e-05/0.4283, allocations: 29.48 kB / 368.2 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.4283, allocations: 1.062 kB / 368.2 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.4283, allocations: 0 / 368.2 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.4283, allocations: 0 / 368.2 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008043/0.4291, allocations: 426.7 kB / 368.6 MB, free: 7.238 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.4292, allocations: 5.359 kB / 368.7 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.48e-05/0.4293, allocations: 12.34 kB / 368.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.4293, allocations: 5.141 kB / 368.7 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.4293, allocations: 6.219 kB / 368.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.4293, allocations: 1.219 kB / 368.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.4293, allocations: 0.9688 kB / 368.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000432/0.4298, allocations: 239.3 kB / 368.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.4299, allocations: 96.06 kB / 369 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.987e-05/0.4299, allocations: 1.281 kB / 369 MB, free: 6.91 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.4301, allocations: 10.42 kB / 369 MB, free: 6.902 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.4301, allocations: 8.078 kB / 369 MB, free: 6.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.4302, allocations: 8.219 kB / 369 MB, free: 6.895 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002926/0.4305, allocations: 180.5 kB / 369.2 MB, free: 6.777 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4305, allocations: 0 / 369.2 MB, free: 6.777 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003885/0.4309, allocations: 34.55 kB / 369.2 MB, free: 6.766 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 (9): * Single equations (assignments): 7 * 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.001257/0.4322, allocations: 400.3 kB / 369.6 MB, free: 6.516 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005042/0.4327, allocations: 165.8 kB / 369.8 MB, free: 6.398 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4327, allocations: 0 / 369.8 MB, free: 6.398 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.4329, allocations: 43.42 kB / 369.8 MB, free: 6.371 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.4332, allocations: 24.25 kB / 369.9 MB, free: 6.348 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007956/0.4341, allocations: 302.9 kB / 370.2 MB, free: 6.027 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.4345, allocations: 0.7199 MB / 370.9 MB, free: 5.281 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001157/0.4347, allocations: 20.62 kB / 370.9 MB, free: 5.262 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.4347, allocations: 19.44 kB / 370.9 MB, free: 5.242 MB / 298.7 MB Notification: Performance of SimCode: time 1.473e-06/0.4348, allocations: 4 kB / 370.9 MB, free: 5.238 MB / 298.7 MB Notification: Performance of Templates: time 0.007034/0.4418, allocations: 1.705 MB / 372.6 MB, free: 3.539 MB / 298.7 MB