Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,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.Test59") Notification: Performance of loadModel(ModelicaTest): time 2.263/2.263, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.092e-05/3.085e-05, allocations: 4 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.386, allocations: 54.85 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.002511/0.3886, allocations: 1.365 MB / 364.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.3911, allocations: 1.213 MB / 365.4 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001162/0.3912, allocations: 1.094 kB / 365.4 MB, free: 9.949 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002531/0.3915, allocations: 22.67 kB / 365.5 MB, free: 9.934 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001892/0.3917, allocations: 36.5 kB / 365.5 MB, free: 9.902 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001993/0.3919, allocations: 38.7 kB / 365.5 MB, free: 9.875 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.3921, allocations: 52.89 kB / 365.6 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.407e-05/0.3922, allocations: 6.328 kB / 365.6 MB, free: 9.832 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001178/0.3923, allocations: 32.88 kB / 365.6 MB, free: 9.812 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001608/0.3925, allocations: 27.58 kB / 365.6 MB, free: 9.797 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.3927, allocations: 48.3 kB / 365.7 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.3927, allocations: 4.344 kB / 365.7 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.329e-05/0.3928, allocations: 12.78 kB / 365.7 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.099e-05/0.3928, allocations: 4.531 kB / 365.7 MB, free: 9.77 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.3931, allocations: 95.36 kB / 365.8 MB, free: 9.711 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.3931, allocations: 0 / 365.8 MB, free: 9.711 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3931, allocations: 4 kB / 365.8 MB, free: 9.707 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.3932, allocations: 0 / 365.8 MB, free: 9.707 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.0006277/0.3938, allocations: 441 kB / 366.2 MB, free: 9.238 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3939, allocations: 16.97 kB / 366.3 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.445e-05/0.3939, allocations: 8.375 kB / 366.3 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.3942, allocations: 197.3 kB / 366.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.3943, allocations: 1.438 kB / 366.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.3943, allocations: 7.844 kB / 366.5 MB, free: 9.004 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.3945, allocations: 74.22 kB / 366.5 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.3946, allocations: 0 / 366.5 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.3946, allocations: 1.375 kB / 366.5 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.3946, allocations: 8.578 kB / 366.5 MB, free: 8.926 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.3947, allocations: 22.67 kB / 366.6 MB, free: 8.914 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004836/0.3952, allocations: 296 kB / 366.9 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.3955, allocations: 57.84 kB / 366.9 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.3955, allocations: 1.438 kB / 366.9 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.3958, allocations: 77.23 kB / 367 MB, free: 8.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.054e-06/0.3958, allocations: 0 / 367 MB, free: 8.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007753/0.3966, allocations: 171.6 kB / 367.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.426e-05/0.3967, allocations: 86.39 kB / 367.2 MB, free: 8.281 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.3969, allocations: 139.1 kB / 367.4 MB, free: 8.16 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.3969, allocations: 27.08 kB / 367.4 MB, free: 8.129 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.131e-05/0.397, allocations: 161.3 kB / 367.6 MB, free: 7.973 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.576e-05/0.397, allocations: 20.12 kB / 367.6 MB, free: 7.957 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.135e-05/0.3971, allocations: 4 kB / 367.6 MB, free: 7.953 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.3972, allocations: 317.3 kB / 367.9 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.3974, allocations: 31.02 kB / 367.9 MB, free: 7.621 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001414/0.3975, allocations: 54.38 kB / 368 MB, free: 7.578 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.3977, allocations: 70.72 kB / 368.1 MB, free: 7.523 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3977, allocations: 0 / 368.1 MB, free: 7.523 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004105/0.3981, allocations: 165.5 kB / 368.2 MB, free: 7.406 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.632e-05/0.3982, allocations: 32.27 kB / 368.2 MB, free: 7.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3982, allocations: 4.969 kB / 368.2 MB, free: 7.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.3982, allocations: 5.453 kB / 368.3 MB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.3984, allocations: 22.28 kB / 368.3 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3984, allocations: 0 / 368.3 MB, free: 7.359 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.956e-05/0.3985, allocations: 7.594 kB / 368.3 MB, free: 7.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.3986, allocations: 4.406 kB / 368.3 MB, free: 7.355 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.0001353/0.3987, allocations: 122 kB / 368.4 MB, free: 7.234 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.281e-05/0.3987, allocations: 12.3 kB / 368.4 MB, free: 7.227 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.911e-05/0.3988, allocations: 12.22 kB / 368.4 MB, free: 7.219 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.3988, allocations: 1 kB / 368.4 MB, free: 7.219 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3988, allocations: 0 / 368.4 MB, free: 7.219 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.3989, allocations: 7.984 kB / 368.4 MB, free: 7.211 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006509/0.3995, allocations: 396.7 kB / 368.8 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3995, allocations: 0 / 368.8 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.902e-05/0.3996, allocations: 7.812 kB / 368.8 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3996, allocations: 1.094 kB / 368.8 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.3997, allocations: 2.281 kB / 368.8 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3997, allocations: 1.031 kB / 368.8 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/0.3997, allocations: 3.984 kB / 368.8 MB, free: 6.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.4, allocations: 223 kB / 369.1 MB, free: 6.621 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.979e-05/0.4001, allocations: 94.12 kB / 369.2 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.944e-05/0.4002, allocations: 9.422 kB / 369.2 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.4003, allocations: 2.656 kB / 369.2 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.4004, allocations: 7.797 kB / 369.2 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.4004, allocations: 6.625 kB / 369.2 MB, free: 6.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000122/0.4005, allocations: 109.8 kB / 369.3 MB, free: 6.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.4006, allocations: 0 / 369.3 MB, free: 6.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003881/0.401, allocations: 39.3 kB / 369.3 MB, free: 6.398 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.001462/0.4024, allocations: 0.4936 MB / 369.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004101/0.4029, allocations: 143.2 kB / 370 MB, free: 5.961 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.4029, allocations: 1.188 kB / 370 MB, free: 5.961 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.403, allocations: 37.7 kB / 370 MB, free: 5.941 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.4034, allocations: 21.3 kB / 370 MB, free: 5.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.404, allocations: 222.9 kB / 370.2 MB, free: 5.723 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.4043, allocations: 0.7015 MB / 370.9 MB, free: 5.012 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.295e-05/0.4044, allocations: 27.77 kB / 371 MB, free: 4.992 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.4044, allocations: 0 / 371 MB, free: 4.992 MB / 298.7 MB Notification: Performance of Templates: time 0.006147/0.4106, allocations: 2.12 MB / 373.1 MB, free: 3.258 MB / 298.7 MB