Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadModel(ModelicaTest): time 2.737/2.737, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.986e-05/3.989e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4565/0.4566, allocations: 54.85 MB / 362.9 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002965/0.4596, allocations: 1.428 MB / 364.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002236/0.4619, allocations: 0.8575 MB / 365.2 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.4621, allocations: 5.094 kB / 365.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006553/0.4628, allocations: 275.7 kB / 365.4 MB, free: 10.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004712/0.4633, allocations: 178.3 kB / 365.6 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004306/0.4638, allocations: 83.42 kB / 365.7 MB, free: 9.973 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.4641, allocations: 111.5 kB / 365.8 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.493e-05/0.4642, allocations: 2.062 kB / 365.8 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.4644, allocations: 92.84 kB / 365.9 MB, free: 9.852 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000314/0.4647, allocations: 134.4 kB / 366 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000287/0.465, allocations: 56.2 kB / 366.1 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.68e-05/0.4651, allocations: 6.719 kB / 366.1 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.4653, allocations: 135.1 kB / 366.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.965e-05/0.4654, allocations: 15.34 kB / 366.2 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005685/0.466, allocations: 303.3 kB / 366.5 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.466, allocations: 0 / 366.5 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.466, allocations: 0 / 366.5 MB, free: 9.539 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.466, allocations: 0 / 366.5 MB, free: 9.539 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001122/0.4672, allocations: 0.6916 MB / 367.2 MB, free: 8.859 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/0.4672, allocations: 13.28 kB / 367.2 MB, free: 8.855 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.4674, allocations: 45.34 kB / 367.3 MB, free: 8.832 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.4685, allocations: 410.1 kB / 367.7 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.4686, allocations: 3.875 kB / 367.7 MB, free: 8.508 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.797e-05/0.4686, allocations: 10.45 kB / 367.7 MB, free: 8.504 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003275/0.4689, allocations: 83 kB / 367.8 MB, free: 8.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.469, allocations: 5.047 kB / 367.8 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/0.469, allocations: 0 / 367.8 MB, free: 8.426 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.469, allocations: 13.25 kB / 367.8 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001727/0.4692, allocations: 29.23 kB / 367.8 MB, free: 8.402 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007773/0.47, allocations: 401.6 kB / 368.2 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005211/0.4706, allocations: 109.4 kB / 368.3 MB, free: 7.977 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.94e-05/0.4706, allocations: 1.219 kB / 368.3 MB, free: 7.977 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003883/0.471, allocations: 110.2 kB / 368.4 MB, free: 7.875 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 3.347e-06/0.471, allocations: 0 / 368.4 MB, free: 7.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009505/0.472, allocations: 200.9 kB / 368.6 MB, free: 7.672 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.4721, allocations: 89.05 kB / 368.7 MB, free: 7.566 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/0.4741, allocations: 0.9551 MB / 369.7 MB, free: 6.602 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.507e-05/0.4742, allocations: 25.7 kB / 369.7 MB, free: 6.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.4746, allocations: 248.3 kB / 369.9 MB, free: 6.324 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.234e-05/0.4747, allocations: 35.56 kB / 370 MB, free: 6.289 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/0.4747, allocations: 4 kB / 370 MB, free: 6.285 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.4749, allocations: 366.8 kB / 370.3 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.4752, allocations: 43.98 kB / 370.4 MB, free: 5.875 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.4754, allocations: 83.39 kB / 370.5 MB, free: 5.781 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002847/0.4757, allocations: 115.3 kB / 370.6 MB, free: 5.656 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/0.4757, allocations: 0 / 370.6 MB, free: 5.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008408/0.4766, allocations: 272.3 kB / 370.8 MB, free: 5.371 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.785e-05/0.4767, allocations: 71.45 kB / 370.9 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.4767, allocations: 4 kB / 370.9 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.099e-05/0.4767, allocations: 0 / 370.9 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.477, allocations: 27.98 kB / 370.9 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.477, allocations: 3.938 kB / 370.9 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000318/0.4773, allocations: 32.25 kB / 371 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.979e-05/0.4774, allocations: 8 kB / 371 MB, free: 5.215 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0004672/0.4779, allocations: 225.8 kB / 371.2 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.478, allocations: 47.44 kB / 371.3 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.4781, allocations: 56 kB / 371.3 MB, free: 4.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.4782, allocations: 4 kB / 371.3 MB, free: 4.879 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.4782, allocations: 4 kB / 371.3 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.4782, allocations: 0 / 371.3 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.4787, allocations: 341.3 kB / 371.6 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.4787, allocations: 0 / 371.6 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.554e-05/0.4789, allocations: 8 kB / 371.7 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.4789, allocations: 0 / 371.7 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.306e-05/0.4789, allocations: 3.984 kB / 371.7 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.4789, allocations: 7.938 kB / 371.7 MB, free: 4.473 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4789, allocations: 4 kB / 371.7 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000661/0.4796, allocations: 211 kB / 371.9 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/0.4799, allocations: 148.4 kB / 372 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.243e-05/0.48, allocations: 4 kB / 372 MB, free: 4.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001592/0.4802, allocations: 11.98 kB / 372 MB, free: 4.055 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.016e-05/0.4802, allocations: 11.98 kB / 372 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.092e-05/0.4803, allocations: 4 kB / 372.1 MB, free: 4.039 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001438/0.4817, allocations: 0.7643 MB / 372.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.946e-06/0.4818, allocations: 0 / 372.8 MB, free: 3.277 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000557/0.4824, allocations: 59.94 kB / 372.9 MB, free: 3.219 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001757/0.4841, allocations: 0.5198 MB / 373.4 MB, free: 2.785 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007372/0.4849, allocations: 266.6 kB / 373.7 MB, free: 2.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.485, allocations: 0 / 373.7 MB, free: 2.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001882/0.4852, allocations: 39.92 kB / 373.7 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000644/0.4858, allocations: 54.41 kB / 373.7 MB, free: 2.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002236/0.4881, allocations: 0.9013 MB / 374.6 MB, free: 1.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006296/0.4888, allocations: 0.8507 MB / 375.5 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002932/0.4891, allocations: 54.77 kB / 375.6 MB, free: 0.5508 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001197/0.4892, allocations: 31.42 kB / 375.6 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of SimCode: time 1.482e-06/0.4892, allocations: 4 kB / 375.6 MB, free: 0.5156 MB / 298.7 MB Notification: Performance of Templates: time 0.01571/0.505, allocations: 3.683 MB / 379.3 MB, free: 12.84 MB / 314.7 MB