Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,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.Test7") Notification: Performance of loadModel(ModelicaTest): time 2.437/2.437, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.251e-05/3.266e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3851, allocations: 54.86 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002565/0.3877, allocations: 1.363 MB / 364.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.3893, allocations: 0.6502 MB / 364.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.3895, allocations: 1.094 kB / 364.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.3898, allocations: 85.14 kB / 365 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.39, allocations: 58.75 kB / 365 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001947/0.3902, allocations: 46.19 kB / 365.1 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.3904, allocations: 54.38 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.625e-05/0.3905, allocations: 6.344 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001019/0.3906, allocations: 46.3 kB / 365.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001247/0.3908, allocations: 41.09 kB / 365.2 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.3909, allocations: 30.11 kB / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.3909, allocations: 3.719 kB / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.391, allocations: 22.27 kB / 365.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.052e-05/0.391, allocations: 4.75 kB / 365.3 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.3913, allocations: 89.16 kB / 365.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.3913, allocations: 0 / 365.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.295e-06/0.3913, allocations: 0 / 365.4 MB, free: 10.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.3913, allocations: 0 / 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006259/0.392, allocations: 465.6 kB / 365.8 MB, free: 9.664 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.392, allocations: 13.16 kB / 365.8 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.878e-05/0.3921, allocations: 17.62 kB / 365.8 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.3924, allocations: 203.1 kB / 366 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.3924, allocations: 6.375 kB / 366 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.735e-05/0.3925, allocations: 3.562 kB / 366 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001962/0.3927, allocations: 54.55 kB / 366.1 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3927, allocations: 0 / 366.1 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.3927, allocations: 5.094 kB / 366.1 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.3927, allocations: 7.953 kB / 366.1 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.3929, allocations: 23.61 kB / 366.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004907/0.3934, allocations: 301.3 kB / 366.4 MB, free: 9.035 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.3936, allocations: 58.14 kB / 366.5 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.3937, allocations: 1.312 kB / 366.5 MB, free: 8.992 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.3939, allocations: 77.38 kB / 366.6 MB, free: 8.918 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.3939, allocations: 0 / 366.6 MB, free: 8.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007693/0.3947, allocations: 174.6 kB / 366.7 MB, free: 8.82 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.3948, allocations: 60.75 kB / 366.8 MB, free: 8.75 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003021/0.3951, allocations: 215.6 kB / 367 MB, free: 8.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.3951, allocations: 30.89 kB / 367 MB, free: 8.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.3952, allocations: 185.3 kB / 367.2 MB, free: 8.395 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.3953, allocations: 20.16 kB / 367.2 MB, free: 8.379 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/0.3953, allocations: 1.062 kB / 367.2 MB, free: 8.379 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3954, allocations: 319.9 kB / 367.5 MB, free: 8.059 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001171/0.3956, allocations: 27.02 kB / 367.6 MB, free: 8.047 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.3957, allocations: 52.06 kB / 367.6 MB, free: 8.012 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.3959, allocations: 61.53 kB / 367.7 MB, free: 7.965 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3959, allocations: 4 kB / 367.7 MB, free: 7.961 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003928/0.3963, allocations: 155.9 kB / 367.8 MB, free: 7.852 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.784e-05/0.3964, allocations: 36.72 kB / 367.9 MB, free: 7.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3964, allocations: 5.438 kB / 367.9 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3964, allocations: 1.25 kB / 367.9 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.3966, allocations: 17.61 kB / 367.9 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3966, allocations: 0 / 367.9 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.075e-05/0.3967, allocations: 4.031 kB / 367.9 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.3967, allocations: 8.219 kB / 367.9 MB, free: 7.805 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.000156/0.3969, allocations: 137 kB / 368 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.3969, allocations: 21.22 kB / 368.1 MB, free: 7.66 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.255e-05/0.397, allocations: 24.38 kB / 368.1 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.397, allocations: 1.094 kB / 368.1 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.397, allocations: 0 / 368.1 MB, free: 7.641 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.3971, allocations: 5.172 kB / 368.1 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006505/0.3977, allocations: 394.6 kB / 368.5 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.3977, allocations: 7.984 kB / 368.5 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.3978, allocations: 12.33 kB / 368.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3978, allocations: 1.5 kB / 368.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.22e-05/0.3978, allocations: 1.344 kB / 368.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3979, allocations: 0.6875 kB / 368.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3979, allocations: 1.094 kB / 368.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.3982, allocations: 227 kB / 368.7 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.993e-05/0.3983, allocations: 98.28 kB / 368.8 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.3984, allocations: 6.625 kB / 368.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.3985, allocations: 6.391 kB / 368.8 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.3985, allocations: 3.656 kB / 368.8 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.3986, allocations: 3.25 kB / 368.8 MB, free: 6.926 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002235/0.3988, allocations: 177.6 kB / 369 MB, free: 6.809 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3988, allocations: 0.9062 kB / 369 MB, free: 6.809 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003551/0.3992, allocations: 33.39 kB / 369 MB, free: 6.797 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.001145/0.4003, allocations: 415.8 kB / 369.5 MB, free: 6.531 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003764/0.4007, allocations: 147 kB / 369.6 MB, free: 6.426 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.4007, allocations: 1.156 kB / 369.6 MB, free: 6.426 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.4009, allocations: 33.05 kB / 369.6 MB, free: 6.41 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.4012, allocations: 25.5 kB / 369.7 MB, free: 6.395 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006898/0.4019, allocations: 306.5 kB / 370 MB, free: 6.152 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003278/0.4023, allocations: 0.7189 MB / 370.7 MB, free: 5.434 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/0.4023, allocations: 18.27 kB / 370.7 MB, free: 5.422 MB / 298.7 MB Notification: Performance of SimCode: time 6.52e-07/0.4023, allocations: 0 / 370.7 MB, free: 5.422 MB / 298.7 MB Notification: Performance of Templates: time 0.005472/0.4078, allocations: 1.99 MB / 372.7 MB, free: 3.684 MB / 298.7 MB