Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadModel(ModelicaTest): time 2.602/2.602, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.457e-05/4.456e-05, allocations: 4 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4863/0.4864, allocations: 54.87 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002605/0.4891, allocations: 1.327 MB / 364.2 MB, free: 10.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001578/0.4907, allocations: 0.6268 MB / 364.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.4909, allocations: 1.281 kB / 364.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003049/0.4912, allocations: 47.89 kB / 364.9 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.4914, allocations: 48.02 kB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.4916, allocations: 41.61 kB / 365 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.4918, allocations: 39.95 kB / 365 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.4919, allocations: 5.016 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001076/0.492, allocations: 39.06 kB / 365 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.4921, allocations: 32.16 kB / 365.1 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.4922, allocations: 17.88 kB / 365.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.4923, allocations: 2.844 kB / 365.1 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.944e-05/0.4923, allocations: 14.36 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.094e-05/0.4924, allocations: 9.219 kB / 365.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.4926, allocations: 83.89 kB / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.4926, allocations: 0 / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.4926, allocations: 0 / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.066e-05/0.4927, allocations: 0 / 365.2 MB, free: 10.21 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006285/0.4933, allocations: 424.5 kB / 365.6 MB, free: 9.762 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.4934, allocations: 8.75 kB / 365.6 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.138e-05/0.4934, allocations: 12.22 kB / 365.6 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.4937, allocations: 196.7 kB / 365.8 MB, free: 9.535 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.581e-05/0.4938, allocations: 5.375 kB / 365.8 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.4938, allocations: 2.875 kB / 365.8 MB, free: 9.531 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.494, allocations: 51.14 kB / 365.9 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.494, allocations: 1.438 kB / 365.9 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.4941, allocations: 0 / 365.9 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.4941, allocations: 7.891 kB / 365.9 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.4942, allocations: 17.73 kB / 365.9 MB, free: 9.469 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002761/0.4945, allocations: 195.3 kB / 366.1 MB, free: 9.242 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.4948, allocations: 51.97 kB / 366.1 MB, free: 9.203 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3e-05/0.4948, allocations: 1.062 kB / 366.1 MB, free: 9.203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002225/0.495, allocations: 72.27 kB / 366.2 MB, free: 9.133 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 4.929e-06/0.4951, allocations: 0 / 366.2 MB, free: 9.133 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004097/0.4955, allocations: 100.2 kB / 366.3 MB, free: 9.066 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.4955, allocations: 60.7 kB / 366.4 MB, free: 8.996 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.4958, allocations: 166.9 kB / 366.5 MB, free: 8.871 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.034e-05/0.4959, allocations: 26.83 kB / 366.6 MB, free: 8.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.458e-05/0.496, allocations: 164.7 kB / 366.7 MB, free: 8.68 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.479e-05/0.496, allocations: 14.14 kB / 366.7 MB, free: 8.668 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.715e-06/0.496, allocations: 1.906 kB / 366.7 MB, free: 8.668 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.4962, allocations: 319.9 kB / 367.1 MB, free: 8.348 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.4963, allocations: 29.02 kB / 367.1 MB, free: 8.332 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.4964, allocations: 42.89 kB / 367.1 MB, free: 8.297 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001411/0.4966, allocations: 54.11 kB / 367.2 MB, free: 8.254 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.4966, allocations: 0 / 367.2 MB, free: 8.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003469/0.497, allocations: 130.7 kB / 367.3 MB, free: 8.156 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.486e-05/0.497, allocations: 40.16 kB / 367.3 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.4971, allocations: 1.344 kB / 367.3 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.4971, allocations: 1.594 kB / 367.3 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001212/0.4972, allocations: 7.781 kB / 367.4 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4972, allocations: 5.188 kB / 367.4 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.4973, allocations: 17.06 kB / 367.4 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.4974, allocations: 3.906 kB / 367.4 MB, free: 8.102 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 (8): * Single equations (assignments): 7 * 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.0001415/0.4975, allocations: 125.4 kB / 367.5 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.4976, allocations: 12.91 kB / 367.5 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.26e-05/0.4976, allocations: 15.39 kB / 367.5 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.4976, allocations: 8.953 kB / 367.5 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.4977, allocations: 0 / 367.5 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4977, allocations: 1.094 kB / 367.5 MB, free: 7.953 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.4979, allocations: 187.5 kB / 367.7 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4979, allocations: 1.312 kB / 367.7 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.542e-05/0.4979, allocations: 3.125 kB / 367.7 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.498, allocations: 0 / 367.7 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.498, allocations: 1.031 kB / 367.7 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.498, allocations: 1.125 kB / 367.7 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.498, allocations: 0 / 367.7 MB, free: 7.734 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002975/0.4983, allocations: 113.5 kB / 367.8 MB, free: 7.637 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.128e-05/0.4984, allocations: 94.03 kB / 367.9 MB, free: 7.531 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.341e-05/0.4985, allocations: 8.844 kB / 367.9 MB, free: 7.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.825e-05/0.4985, allocations: 10.23 kB / 367.9 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.148e-05/0.4986, allocations: 2.438 kB / 368 MB, free: 7.516 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.4986, allocations: 2.25 kB / 368 MB, free: 7.516 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001749/0.4988, allocations: 140.8 kB / 368.1 MB, free: 7.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4988, allocations: 0 / 368.1 MB, free: 7.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003068/0.4991, allocations: 21.34 kB / 368.1 MB, free: 7.406 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001137/0.5003, allocations: 350.4 kB / 368.5 MB, free: 7.195 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003976/0.5007, allocations: 132.7 kB / 368.6 MB, free: 7.094 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.5007, allocations: 3.938 kB / 368.6 MB, free: 7.09 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.725e-05/0.5008, allocations: 24.47 kB / 368.6 MB, free: 7.078 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.5011, allocations: 20.22 kB / 368.6 MB, free: 7.066 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000568/0.5017, allocations: 231.1 kB / 368.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.5021, allocations: 0.7001 MB / 369.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.757e-05/0.5021, allocations: 11.75 kB / 369.6 MB, free: 6.152 MB / 298.7 MB Notification: Performance of SimCode: time 8.72e-07/0.5021, allocations: 1.031 kB / 369.6 MB, free: 6.152 MB / 298.7 MB Notification: Performance of Templates: time 0.005055/0.5072, allocations: 1.651 MB / 371.2 MB, free: 5.16 MB / 298.7 MB