Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadModel(ModelicaTest): time 2.08/2.08, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.481e-05/4.513e-05, allocations: 8 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4892, allocations: 48.7 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.00277/0.492, allocations: 1.353 MB / 326.2 MB, free: 2.723 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.4937, allocations: 0.6351 MB / 326.9 MB, free: 2.383 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.4939, allocations: 3.938 kB / 326.9 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007071/0.4946, allocations: 276.4 kB / 327.1 MB, free: 2.367 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000466/0.4951, allocations: 165.7 kB / 327.3 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.4956, allocations: 87.44 kB / 327.4 MB, free: 2.316 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003276/0.496, allocations: 92.34 kB / 327.5 MB, free: 2.281 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.262e-05/0.496, allocations: 2.266 kB / 327.5 MB, free: 2.281 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001635/0.4962, allocations: 68.03 kB / 327.6 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.4965, allocations: 132.8 kB / 327.7 MB, free: 2.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003509/0.4969, allocations: 49.31 kB / 327.7 MB, free: 2.246 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.657e-05/0.497, allocations: 9.312 kB / 327.7 MB, free: 2.242 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.4972, allocations: 138.6 kB / 327.9 MB, free: 2.203 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.56e-05/0.4973, allocations: 13.88 kB / 327.9 MB, free: 2.203 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006519/0.498, allocations: 286.2 kB / 328.2 MB, free: 2.152 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.498, allocations: 0 / 328.2 MB, free: 2.152 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.356e-06/0.498, allocations: 0 / 328.2 MB, free: 2.152 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.498, allocations: 0 / 328.2 MB, free: 2.152 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.0008399/0.4989, allocations: 0.6106 MB / 328.8 MB, free: 1.598 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.4989, allocations: 12.34 kB / 328.8 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001321/0.4991, allocations: 44.09 kB / 328.8 MB, free: 1.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008104/0.4999, allocations: 403.1 kB / 329.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.5, allocations: 7.734 kB / 329.2 MB, free: 1.285 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.5, allocations: 3.5 kB / 329.2 MB, free: 1.285 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.5002, allocations: 64.75 kB / 329.3 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.5002, allocations: 0 / 329.3 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.5002, allocations: 1.156 kB / 329.3 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.5002, allocations: 0 / 329.3 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.596e-05/0.5003, allocations: 24.7 kB / 329.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006857/0.501, allocations: 372.4 kB / 329.7 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.5012, allocations: 55.28 kB / 329.7 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.5012, allocations: 0 / 329.7 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/0.5015, allocations: 99.62 kB / 329.8 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.5015, allocations: 0 / 329.8 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005324/0.502, allocations: 136.9 kB / 330 MB, free: 0.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/0.5021, allocations: 79.14 kB / 330.1 MB, free: 0.6562 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.504, allocations: 0.9415 MB / 331 MB, free: 348 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.723e-05/0.5041, allocations: 28.52 kB / 331 MB, free: 316 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.5043, allocations: 239.9 kB / 331.3 MB, free: 116 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.277e-05/0.5044, allocations: 13.66 kB / 331.3 MB, free: 108 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.5044, allocations: 0 / 331.3 MB, free: 108 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002278/0.5046, allocations: 368.9 kB / 331.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/0.5047, allocations: 25.62 kB / 331.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.5049, allocations: 43.72 kB / 331.7 MB, free: 15.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001949/0.5051, allocations: 91.42 kB / 331.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5051, allocations: 1.312 kB / 331.8 MB, free: 15.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005979/0.5057, allocations: 223.9 kB / 332 MB, free: 15.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.296e-05/0.5058, allocations: 60.81 kB / 332.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.5058, allocations: 1.375 kB / 332.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.5059, allocations: 1.891 kB / 332.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.506, allocations: 14.02 kB / 332.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.506, allocations: 1.375 kB / 332.1 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.5063, allocations: 14.75 kB / 332.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.5063, allocations: 10.23 kB / 332.1 MB, free: 15.42 MB / 282.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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0004415/0.5067, allocations: 217.7 kB / 332.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.5069, allocations: 54.88 kB / 332.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.507, allocations: 56.47 kB / 332.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.507, allocations: 5.219 kB / 332.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.5071, allocations: 1.719 kB / 332.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.5071, allocations: 0.75 kB / 332.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.5075, allocations: 315.5 kB / 332.7 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.5076, allocations: 0 / 332.7 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.12e-05/0.5076, allocations: 6.75 kB / 332.8 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.5077, allocations: 0 / 332.8 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.201e-05/0.5077, allocations: 10.36 kB / 332.8 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.5077, allocations: 9.938 kB / 332.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.141e-06/0.5077, allocations: 4.938 kB / 332.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004134/0.5082, allocations: 159.6 kB / 332.9 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002087/0.5084, allocations: 139.5 kB / 333.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.069e-05/0.5085, allocations: 2.391 kB / 333.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.5086, allocations: 4.531 kB / 333.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.931e-05/0.5087, allocations: 12.88 kB / 333.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/0.5087, allocations: 3.859 kB / 333.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001584/0.5103, allocations: 0.7475 MB / 333.8 MB, free: 14.46 MB / 282.7 MB Notification: Performance of sort global known variables: time 9.11e-07/0.5104, allocations: 0 / 333.8 MB, free: 14.46 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005884/0.511, allocations: 61.5 kB / 333.9 MB, free: 14.45 MB / 282.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: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001369/0.5124, allocations: 445.2 kB / 334.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004685/0.5129, allocations: 180.8 kB / 334.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.5129, allocations: 1.156 kB / 334.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.513, allocations: 25.69 kB / 334.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.5137, allocations: 45.38 kB / 334.6 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.5159, allocations: 0.8488 MB / 335.4 MB, free: 13.6 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006331/0.5166, allocations: 0.8388 MB / 336.3 MB, free: 12.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002781/0.5169, allocations: 53.75 kB / 336.3 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.517, allocations: 28.77 kB / 336.4 MB, free: 12.87 MB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.517, allocations: 0 / 336.4 MB, free: 12.87 MB / 282.7 MB Notification: Performance of Templates: time 0.01442/0.5315, allocations: 3.334 MB / 339.7 MB, free: 11.9 MB / 282.7 MB