Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,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_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadModel(ModelicaTest): time 2.78/2.78, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.325e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4695/0.4696, allocations: 54.85 MB / 362.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.0031/0.4728, allocations: 1.356 MB / 364.2 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002899/0.4757, allocations: 1.219 MB / 365.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.4759, allocations: 0 / 365.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003125/0.4763, allocations: 22.47 kB / 365.5 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.4765, allocations: 33.73 kB / 365.5 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000215/0.4767, allocations: 41.88 kB / 365.6 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001688/0.4769, allocations: 52.38 kB / 365.6 MB, free: 10.03 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000107/0.4771, allocations: 11.33 kB / 365.6 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001164/0.4772, allocations: 29.3 kB / 365.6 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002003/0.4774, allocations: 30.94 kB / 365.7 MB, free: 9.988 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001859/0.4776, allocations: 43.39 kB / 365.7 MB, free: 9.973 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.4776, allocations: 5.656 kB / 365.7 MB, free: 9.973 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.695e-05/0.4777, allocations: 11.39 kB / 365.7 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.334e-05/0.4777, allocations: 5.438 kB / 365.7 MB, free: 9.965 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002796/0.478, allocations: 95.28 kB / 365.8 MB, free: 9.906 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.4781, allocations: 3.938 kB / 365.8 MB, free: 9.902 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.767e-06/0.4781, allocations: 1.219 kB / 365.8 MB, free: 9.902 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.098e-05/0.4781, allocations: 0 / 365.8 MB, free: 9.902 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.0007306/0.4788, allocations: 444.3 kB / 366.3 MB, free: 9.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.4789, allocations: 13.28 kB / 366.3 MB, free: 9.426 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.736e-05/0.479, allocations: 8.594 kB / 366.3 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003395/0.4793, allocations: 199.5 kB / 366.5 MB, free: 9.199 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.825e-05/0.4794, allocations: 5.375 kB / 366.5 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.4794, allocations: 3.719 kB / 366.5 MB, free: 9.195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.4797, allocations: 70.2 kB / 366.6 MB, free: 9.129 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.4797, allocations: 0 / 366.6 MB, free: 9.129 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.4798, allocations: 17.03 kB / 366.6 MB, free: 9.113 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.4798, allocations: 4.859 kB / 366.6 MB, free: 9.109 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.4799, allocations: 22.14 kB / 366.6 MB, free: 9.098 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005211/0.4804, allocations: 296 kB / 366.9 MB, free: 8.781 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.4807, allocations: 57.97 kB / 367 MB, free: 8.738 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.889e-05/0.4807, allocations: 1.469 kB / 367 MB, free: 8.738 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002199/0.481, allocations: 73.03 kB / 367 MB, free: 8.668 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.481, allocations: 1.125 kB / 367 MB, free: 8.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007795/0.4818, allocations: 171.7 kB / 367.2 MB, free: 8.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.4819, allocations: 78.05 kB / 367.3 MB, free: 8.477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/0.482, allocations: 138.8 kB / 367.4 MB, free: 8.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.931e-05/0.4821, allocations: 31.11 kB / 367.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.4822, allocations: 92.03 kB / 367.5 MB, free: 8.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.4822, allocations: 27.08 kB / 367.6 MB, free: 8.207 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.266e-05/0.4822, allocations: 5.281 kB / 367.6 MB, free: 8.203 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4824, allocations: 316.8 kB / 367.9 MB, free: 7.887 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.4825, allocations: 28.67 kB / 367.9 MB, free: 7.875 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.4827, allocations: 63.36 kB / 368 MB, free: 7.824 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000163/0.4828, allocations: 62.17 kB / 368 MB, free: 7.777 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.4829, allocations: 0 / 368 MB, free: 7.777 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004269/0.4833, allocations: 163.6 kB / 368.2 MB, free: 7.664 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.762e-05/0.4834, allocations: 37.22 kB / 368.2 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.4834, allocations: 0.9375 kB / 368.2 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.4834, allocations: 1.156 kB / 368.2 MB, free: 7.629 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.4836, allocations: 21.27 kB / 368.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.4836, allocations: 1.031 kB / 368.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.4837, allocations: 12.38 kB / 368.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.4837, allocations: 4.438 kB / 368.3 MB, free: 7.613 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.0001419/0.4839, allocations: 117.4 kB / 368.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.484, allocations: 11.36 kB / 368.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.253e-05/0.484, allocations: 20.83 kB / 368.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.4841, allocations: 1.094 kB / 368.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4841, allocations: 0 / 368.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4841, allocations: 3.938 kB / 368.4 MB, free: 7.469 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007047/0.4848, allocations: 400.8 kB / 368.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.4848, allocations: 384 / 368.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.243e-05/0.4849, allocations: 8.344 kB / 368.8 MB, free: 7.078 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/0.4849, allocations: 5.031 kB / 368.8 MB, free: 7.074 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.4849, allocations: 4.891 kB / 368.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.485, allocations: 1.031 kB / 368.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.485, allocations: 5 kB / 368.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.4854, allocations: 222.1 kB / 369 MB, free: 6.867 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.44e-05/0.4855, allocations: 94.19 kB / 369.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.4855, allocations: 1.188 kB / 369.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.4856, allocations: 3 kB / 369.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.042e-05/0.4857, allocations: 8.078 kB / 369.1 MB, free: 6.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.4857, allocations: 3.125 kB / 369.1 MB, free: 6.758 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001382/0.4859, allocations: 117.2 kB / 369.3 MB, free: 6.66 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4859, allocations: 0 / 369.3 MB, free: 6.66 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003982/0.4863, allocations: 39.17 kB / 369.3 MB, free: 6.648 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.001422/0.4877, allocations: 0.489 MB / 369.8 MB, free: 6.312 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000446/0.4882, allocations: 143.3 kB / 369.9 MB, free: 6.211 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4882, allocations: 1.094 kB / 369.9 MB, free: 6.211 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.4884, allocations: 37.5 kB / 370 MB, free: 6.191 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.4887, allocations: 21.55 kB / 370 MB, free: 6.18 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005734/0.4893, allocations: 200.3 kB / 370.2 MB, free: 6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.4896, allocations: 0.7026 MB / 370.9 MB, free: 5.289 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.994e-05/0.4897, allocations: 12.75 kB / 370.9 MB, free: 5.285 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.379e-05/0.4898, allocations: 22.89 kB / 370.9 MB, free: 5.27 MB / 298.7 MB Notification: Performance of SimCode: time 6.42e-07/0.4898, allocations: 0 / 370.9 MB, free: 5.27 MB / 298.7 MB Notification: Performance of Templates: time 0.007296/0.4971, allocations: 1.936 MB / 372.9 MB, free: 3.43 MB / 298.7 MB "" Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.tableOnFileRead,t_new.timeScale,t_new.verboseRead,t_new.y[1],time