Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,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.Test41") Notification: Performance of loadModel(ModelicaTest): time 2.369/2.369, allocations: 234.9 MB / 250.1 MB, free: 10.03 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.908e-05/2.9e-05, allocations: 4 kB / 308 MB, free: 4 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4114/0.4115, allocations: 54.86 MB / 362.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002529/0.414, allocations: 1.358 MB / 364.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001547/0.4156, allocations: 0.6469 MB / 364.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.4158, allocations: 1.5 kB / 364.9 MB, free: 10.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.4161, allocations: 61.83 kB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.4164, allocations: 57.44 kB / 365 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002/0.4166, allocations: 45.77 kB / 365 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.4168, allocations: 54.52 kB / 365.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.707e-05/0.4169, allocations: 6.688 kB / 365.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.417, allocations: 38.19 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.4171, allocations: 39.97 kB / 365.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.4172, allocations: 30.92 kB / 365.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.595e-05/0.4173, allocations: 4.25 kB / 365.2 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.4174, allocations: 28.09 kB / 365.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.135e-05/0.4174, allocations: 4.906 kB / 365.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.4176, allocations: 81.77 kB / 365.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.4176, allocations: 0 / 365.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.746e-06/0.4177, allocations: 1.531 kB / 365.3 MB, free: 10.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.4177, allocations: 0 / 365.3 MB, free: 10.18 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.0006572/0.4183, allocations: 454.9 kB / 365.8 MB, free: 9.695 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.4184, allocations: 13.97 kB / 365.8 MB, free: 9.691 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/0.4185, allocations: 9.344 kB / 365.8 MB, free: 9.688 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.4188, allocations: 214.5 kB / 366 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.4188, allocations: 1.5 kB / 366 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.4189, allocations: 3.906 kB / 366 MB, free: 9.453 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002073/0.4191, allocations: 54.2 kB / 366 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4191, allocations: 0 / 366 MB, free: 9.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.4192, allocations: 5.328 kB / 366 MB, free: 9.402 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.4192, allocations: 3.953 kB / 366.1 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.4193, allocations: 27.02 kB / 366.1 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.4199, allocations: 294.6 kB / 366.4 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.4201, allocations: 58.67 kB / 366.4 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.032e-05/0.4202, allocations: 1.188 kB / 366.4 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000239/0.4204, allocations: 77.09 kB / 366.5 MB, free: 8.953 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.625e-06/0.4204, allocations: 0 / 366.5 MB, free: 8.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008476/0.4213, allocations: 185.3 kB / 366.7 MB, free: 8.844 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.4214, allocations: 56.77 kB / 366.7 MB, free: 8.777 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002972/0.4217, allocations: 185.5 kB / 366.9 MB, free: 8.648 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.4217, allocations: 27.3 kB / 366.9 MB, free: 8.617 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.4219, allocations: 176.9 kB / 367.1 MB, free: 8.445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.4219, allocations: 19.66 kB / 367.1 MB, free: 8.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.558e-06/0.4219, allocations: 2 kB / 367.1 MB, free: 8.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4221, allocations: 320.4 kB / 367.4 MB, free: 8.109 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.4222, allocations: 31.17 kB / 367.5 MB, free: 8.094 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.4224, allocations: 47.48 kB / 367.5 MB, free: 8.059 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.4226, allocations: 65.53 kB / 367.6 MB, free: 8.008 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.4226, allocations: 0 / 367.6 MB, free: 8.008 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004211/0.423, allocations: 156.8 kB / 367.7 MB, free: 7.898 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.771e-05/0.4231, allocations: 36.38 kB / 367.8 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4231, allocations: 1.406 kB / 367.8 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.4231, allocations: 5 kB / 367.8 MB, free: 7.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001504/0.4233, allocations: 17.3 kB / 367.8 MB, free: 7.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/0.4233, allocations: 8.812 kB / 367.8 MB, free: 7.848 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.4234, allocations: 8.188 kB / 367.8 MB, free: 7.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.922e-05/0.4235, allocations: 8.094 kB / 367.8 MB, free: 7.84 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.0001634/0.4236, allocations: 126.8 kB / 368 MB, free: 7.719 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.4237, allocations: 12.88 kB / 368 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.244e-05/0.4238, allocations: 26.38 kB / 368 MB, free: 7.688 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.4238, allocations: 5.156 kB / 368 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4238, allocations: 0 / 368 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4238, allocations: 0 / 368 MB, free: 7.684 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007301/0.4246, allocations: 393.2 kB / 368.4 MB, free: 7.305 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.4246, allocations: 3.953 kB / 368.4 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.634e-05/0.4247, allocations: 8.094 kB / 368.4 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/0.4247, allocations: 0.9688 kB / 368.4 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.4247, allocations: 2.031 kB / 368.4 MB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.4247, allocations: 5.062 kB / 368.4 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4247, allocations: 1.062 kB / 368.4 MB, free: 7.297 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.4251, allocations: 218.4 kB / 368.6 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.883e-05/0.4252, allocations: 98.34 kB / 368.7 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.4253, allocations: 2.125 kB / 368.7 MB, free: 6.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.4254, allocations: 6.219 kB / 368.7 MB, free: 6.988 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.889e-05/0.4255, allocations: 11.39 kB / 368.7 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.4255, allocations: 3.75 kB / 368.7 MB, free: 6.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002064/0.4257, allocations: 151.4 kB / 368.9 MB, free: 6.875 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.4257, allocations: 1.031 kB / 368.9 MB, free: 6.875 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003649/0.4261, allocations: 25.97 kB / 368.9 MB, free: 6.871 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.001241/0.4274, allocations: 420.9 kB / 369.3 MB, free: 6.602 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004488/0.4278, allocations: 147.6 kB / 369.5 MB, free: 6.496 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.4279, allocations: 0 / 369.5 MB, free: 6.496 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001278/0.428, allocations: 37.59 kB / 369.5 MB, free: 6.477 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.4284, allocations: 21.25 kB / 369.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007159/0.4291, allocations: 288.7 kB / 369.8 MB, free: 6.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003605/0.4295, allocations: 0.7078 MB / 370.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.4295, allocations: 14.81 kB / 370.5 MB, free: 5.508 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.4296, allocations: 0 / 370.5 MB, free: 5.508 MB / 298.7 MB Notification: Performance of Templates: time 0.005898/0.4355, allocations: 1.93 MB / 372.5 MB, free: 3.934 MB / 298.7 MB