Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadModel(ModelicaTest): time 2.48/2.48, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.215e-05/4.2e-05, allocations: 8 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3794/0.3794, allocations: 54.86 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002574/0.3821, allocations: 1.431 MB / 364.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.3842, allocations: 0.8556 MB / 365.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001417/0.3844, allocations: 1.188 kB / 365.1 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005939/0.385, allocations: 279.5 kB / 365.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003852/0.3854, allocations: 170.5 kB / 365.6 MB, free: 9.969 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.3858, allocations: 83.11 kB / 365.7 MB, free: 9.906 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002624/0.3861, allocations: 116.2 kB / 365.8 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.038e-05/0.3861, allocations: 6.312 kB / 365.8 MB, free: 9.82 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001877/0.3863, allocations: 91.61 kB / 365.9 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.3866, allocations: 138.3 kB / 366 MB, free: 9.723 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002306/0.3869, allocations: 44.7 kB / 366.1 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.544e-05/0.3869, allocations: 7.094 kB / 366.1 MB, free: 9.711 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001867/0.3871, allocations: 135.1 kB / 366.2 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.385e-05/0.3872, allocations: 14.78 kB / 366.2 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005277/0.3877, allocations: 298.1 kB / 366.5 MB, free: 9.477 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3878, allocations: 0 / 366.5 MB, free: 9.477 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3878, allocations: 1.531 kB / 366.5 MB, free: 9.477 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.3878, allocations: 4 kB / 366.5 MB, free: 9.473 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.0009684/0.3888, allocations: 0.6912 MB / 367.2 MB, free: 8.793 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3888, allocations: 8.812 kB / 367.2 MB, free: 8.793 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.389, allocations: 46.03 kB / 367.2 MB, free: 8.77 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008435/0.3898, allocations: 418 kB / 367.7 MB, free: 8.438 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.3899, allocations: 3.188 kB / 367.7 MB, free: 8.438 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3e-05/0.3899, allocations: 5.625 kB / 367.7 MB, free: 8.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002914/0.3902, allocations: 88.42 kB / 367.8 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.3903, allocations: 3.938 kB / 367.8 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.3903, allocations: 4.938 kB / 367.8 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.3903, allocations: 12.97 kB / 367.8 MB, free: 8.34 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.3905, allocations: 33.59 kB / 367.8 MB, free: 8.324 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006278/0.3911, allocations: 388.2 kB / 368.2 MB, free: 7.996 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004595/0.3916, allocations: 110.9 kB / 368.3 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3917, allocations: 1.281 kB / 368.3 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003209/0.392, allocations: 111.6 kB / 368.4 MB, free: 7.809 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.805e-06/0.392, allocations: 0 / 368.4 MB, free: 7.809 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007946/0.3928, allocations: 204.5 kB / 368.6 MB, free: 7.695 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.3929, allocations: 82.09 kB / 368.7 MB, free: 7.598 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.3946, allocations: 0.9598 MB / 369.6 MB, free: 6.805 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.3946, allocations: 33.7 kB / 369.7 MB, free: 6.766 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.3949, allocations: 258.8 kB / 369.9 MB, free: 6.512 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.013e-05/0.395, allocations: 35.56 kB / 370 MB, free: 6.477 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/0.395, allocations: 8 kB / 370 MB, free: 6.469 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.3951, allocations: 314.8 kB / 370.3 MB, free: 6.152 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.3953, allocations: 47.97 kB / 370.3 MB, free: 6.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.3956, allocations: 75.41 kB / 370.4 MB, free: 6.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.3959, allocations: 119.3 kB / 370.5 MB, free: 5.891 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.137e-06/0.3959, allocations: 0 / 370.5 MB, free: 5.891 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006508/0.3965, allocations: 244.8 kB / 370.8 MB, free: 5.633 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.527e-05/0.3966, allocations: 67.39 kB / 370.8 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.3966, allocations: 0.625 kB / 370.8 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/0.3967, allocations: 4 kB / 370.8 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.3969, allocations: 19.98 kB / 370.8 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.3969, allocations: 4 kB / 370.8 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.3972, allocations: 27.8 kB / 370.9 MB, free: 5.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.464e-05/0.3973, allocations: 19.98 kB / 370.9 MB, free: 5.48 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.0003847/0.3977, allocations: 217.7 kB / 371.1 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.781e-05/0.3978, allocations: 47.34 kB / 371.2 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.3979, allocations: 60 kB / 371.2 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3979, allocations: 0 / 371.2 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.398, allocations: 0 / 371.2 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.398, allocations: 7.984 kB / 371.2 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.3984, allocations: 333.4 kB / 371.5 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.3985, allocations: 0 / 371.5 MB, free: 4.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.111e-05/0.3985, allocations: 12 kB / 371.6 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3986, allocations: 0 / 371.6 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.3986, allocations: 4 kB / 371.6 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3986, allocations: 0 / 371.6 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3986, allocations: 0 / 371.6 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005563/0.3992, allocations: 222.9 kB / 371.8 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002441/0.3994, allocations: 144.5 kB / 371.9 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.234e-05/0.3995, allocations: 8 kB / 371.9 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.3997, allocations: 7.984 kB / 371.9 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.3998, allocations: 7.938 kB / 371.9 MB, free: 4.324 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.3998, allocations: 11.98 kB / 372 MB, free: 4.312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001269/0.4011, allocations: 0.7565 MB / 372.7 MB, free: 3.559 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.5e-06/0.4011, allocations: 0 / 372.7 MB, free: 3.559 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008255/0.402, allocations: 67.92 kB / 372.8 MB, free: 3.492 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.001601/0.4036, allocations: 0.5238 MB / 373.3 MB, free: 3.059 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000661/0.4043, allocations: 262.8 kB / 373.6 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.4043, allocations: 0 / 373.6 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.4045, allocations: 43.92 kB / 373.6 MB, free: 2.734 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006426/0.4051, allocations: 46.78 kB / 373.6 MB, free: 2.691 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.4071, allocations: 0.9499 MB / 374.6 MB, free: 1.707 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005601/0.4077, allocations: 0.8507 MB / 375.4 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001369/0.4078, allocations: 27.44 kB / 375.5 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of SimCode: time 1.262e-06/0.4079, allocations: 0 / 375.5 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of Templates: time 0.01342/0.4213, allocations: 5.194 MB / 380.7 MB, free: 11.6 MB / 314.7 MB