Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadModel(ModelicaTest): time 1.937/1.937, allocations: 209.3 MB / 224.4 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.304e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3773, allocations: 48.7 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002335/0.3797, allocations: 1.312 MB / 326.2 MB, free: 2.324 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.3808, allocations: 405.3 kB / 326.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.019e-05/0.3809, allocations: 1.375 kB / 326.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002385/0.3812, allocations: 16.72 kB / 326.6 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.3813, allocations: 25.98 kB / 326.6 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.3816, allocations: 55.23 kB / 326.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.3817, allocations: 41.23 kB / 326.7 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.364e-05/0.3818, allocations: 2.844 kB / 326.7 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.286e-05/0.3819, allocations: 25.39 kB / 326.7 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.131e-05/0.382, allocations: 19.83 kB / 326.7 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.3821, allocations: 28.69 kB / 326.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.3822, allocations: 3.219 kB / 326.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.474e-05/0.3822, allocations: 13.42 kB / 326.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.3823, allocations: 2.531 kB / 326.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.3825, allocations: 84.88 kB / 326.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.3825, allocations: 0 / 326.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3825, allocations: 1.188 kB / 326.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.093e-05/0.3825, allocations: 0 / 326.9 MB, free: 2.02 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004542/0.383, allocations: 398.5 kB / 327.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.383, allocations: 9.312 kB / 327.3 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.575e-05/0.3831, allocations: 7.438 kB / 327.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002151/0.3833, allocations: 193.6 kB / 327.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.3834, allocations: 3.594 kB / 327.5 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.3834, allocations: 6.375 kB / 327.5 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.3835, allocations: 47.31 kB / 327.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.3836, allocations: 0 / 327.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.3836, allocations: 2.125 kB / 327.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.3836, allocations: 0 / 327.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.464e-05/0.3837, allocations: 17.95 kB / 327.5 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000366/0.3841, allocations: 283.5 kB / 327.8 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002516/0.3843, allocations: 42.66 kB / 327.9 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.3844, allocations: 0.9688 kB / 327.9 MB, free: 1.023 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.3845, allocations: 59.98 kB / 327.9 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.525e-06/0.3845, allocations: 1.078 kB / 327.9 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004752/0.385, allocations: 114.8 kB / 328 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.3851, allocations: 57.73 kB / 328.1 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.3853, allocations: 156.6 kB / 328.2 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.3853, allocations: 30.77 kB / 328.3 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.527e-05/0.3854, allocations: 163 kB / 328.4 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.3854, allocations: 15.97 kB / 328.4 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-06/0.3854, allocations: 5.094 kB / 328.5 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.696e-05/0.3855, allocations: 317 kB / 328.8 MB, free: 212 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.3856, allocations: 19.86 kB / 328.8 MB, free: 204 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.817e-05/0.3856, allocations: 15.95 kB / 328.8 MB, free: 200 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.234e-05/0.3857, allocations: 46.25 kB / 328.8 MB, free: 160 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.3857, allocations: 0 / 328.8 MB, free: 160 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002316/0.386, allocations: 122.1 kB / 329 MB, free: 68 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.105e-05/0.386, allocations: 36.73 kB / 329 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.3861, allocations: 0 / 329 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.3861, allocations: 2.016 kB / 329 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.431e-05/0.3862, allocations: 8.984 kB / 329 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.3862, allocations: 0.6094 kB / 329 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.279e-05/0.3863, allocations: 3.125 kB / 329 MB, free: 36 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.487e-05/0.3863, allocations: 3.344 kB / 329 MB, free: 36 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001556/0.3865, allocations: 132.3 kB / 329.1 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.3865, allocations: 11.41 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.308e-05/0.3866, allocations: 10.33 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/0.3866, allocations: 5.094 kB / 329.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3866, allocations: 1.219 kB / 329.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3866, allocations: 0 / 329.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.3871, allocations: 341.3 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.3871, allocations: 0.9375 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.857e-05/0.3872, allocations: 10.02 kB / 329.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.3872, allocations: 4.656 kB / 329.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.3872, allocations: 9.688 kB / 329.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.3873, allocations: 1.281 kB / 329.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3873, allocations: 0 / 329.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.3875, allocations: 172.1 kB / 329.7 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.3876, allocations: 84.86 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.3876, allocations: 2.031 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3877, allocations: 5.734 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.232e-05/0.3878, allocations: 8.453 kB / 329.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.3878, allocations: 2.938 kB / 329.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001522/0.388, allocations: 128.2 kB / 329.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.388, allocations: 0 / 329.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000366/0.3884, allocations: 27.36 kB / 330 MB, free: 15.2 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009787/0.3894, allocations: 349.3 kB / 330.3 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002627/0.3896, allocations: 105.8 kB / 330.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3897, allocations: 0 / 330.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.663e-05/0.3897, allocations: 15.41 kB / 330.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.3901, allocations: 15.52 kB / 330.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.3907, allocations: 222 kB / 330.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003496/0.391, allocations: 0.6983 MB / 331.3 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.745e-05/0.3911, allocations: 22.47 kB / 331.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3911, allocations: 0 / 331.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of Templates: time 0.005284/0.3964, allocations: 1.66 MB / 333 MB, free: 13.83 MB / 282.7 MB