Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadModel(ModelicaTest): time 2.404/2.404, allocations: 234.9 MB / 250.1 MB, free: 9.801 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.313e-05/3.322e-05, allocations: 4 kB / 308 MB, free: 15.79 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3556/0.3557, allocations: 54.87 MB / 362.9 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002499/0.3582, allocations: 1.365 MB / 364.2 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001564/0.3599, allocations: 0.6486 MB / 364.9 MB, free: 9.766 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.226e-05/0.36, allocations: 0 / 364.9 MB, free: 9.766 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003114/0.3603, allocations: 67.83 kB / 364.9 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.3605, allocations: 55.84 kB / 365 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001858/0.3607, allocations: 43.83 kB / 365 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.3609, allocations: 51.88 kB / 365.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.207e-05/0.361, allocations: 4 kB / 365.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001029/0.3611, allocations: 35.91 kB / 365.1 MB, free: 9.512 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.3613, allocations: 43.89 kB / 365.2 MB, free: 9.469 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.3614, allocations: 27.92 kB / 365.2 MB, free: 9.441 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.509e-05/0.3614, allocations: 4 kB / 365.2 MB, free: 9.438 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.5e-05/0.3615, allocations: 19.92 kB / 365.2 MB, free: 9.418 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.3615, allocations: 12 kB / 365.2 MB, free: 9.406 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.3618, allocations: 85.7 kB / 365.3 MB, free: 9.324 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.3618, allocations: 0 / 365.3 MB, free: 9.324 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.779e-06/0.3618, allocations: 3.984 kB / 365.3 MB, free: 9.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.3618, allocations: 0 / 365.3 MB, free: 9.32 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.0006744/0.3625, allocations: 454.4 kB / 365.8 MB, free: 8.816 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3626, allocations: 11.97 kB / 365.8 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.437e-05/0.3626, allocations: 15.91 kB / 365.8 MB, free: 8.789 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.363, allocations: 199.5 kB / 366 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.363, allocations: 12 kB / 366 MB, free: 8.543 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.3631, allocations: 7.984 kB / 366 MB, free: 8.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.3633, allocations: 53.67 kB / 366.1 MB, free: 8.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.3633, allocations: 0 / 366.1 MB, free: 8.477 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3633, allocations: 0 / 366.1 MB, free: 8.477 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.3633, allocations: 7.891 kB / 366.1 MB, free: 8.469 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.3635, allocations: 23.92 kB / 366.1 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004754/0.364, allocations: 296.8 kB / 366.4 MB, free: 8.105 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002434/0.3642, allocations: 58.69 kB / 366.4 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.3643, allocations: 0 / 366.4 MB, free: 8.039 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002216/0.3645, allocations: 75.39 kB / 366.5 MB, free: 7.953 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.983e-06/0.3645, allocations: 0 / 366.5 MB, free: 7.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007819/0.3653, allocations: 181.2 kB / 366.7 MB, free: 7.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.3654, allocations: 55.41 kB / 366.7 MB, free: 7.703 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002553/0.3656, allocations: 189.5 kB / 366.9 MB, free: 7.512 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.3657, allocations: 25.7 kB / 366.9 MB, free: 7.48 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.3658, allocations: 182.3 kB / 367.1 MB, free: 7.301 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.478e-05/0.3658, allocations: 15.75 kB / 367.1 MB, free: 7.285 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.013e-05/0.3658, allocations: 4 kB / 367.1 MB, free: 7.281 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.366, allocations: 314.8 kB / 367.5 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.3661, allocations: 35.98 kB / 367.5 MB, free: 6.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.3663, allocations: 49.36 kB / 367.5 MB, free: 6.879 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.3664, allocations: 61.7 kB / 367.6 MB, free: 6.812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.3664, allocations: 0 / 367.6 MB, free: 6.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004153/0.3669, allocations: 155.2 kB / 367.7 MB, free: 6.648 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.672e-05/0.367, allocations: 41.66 kB / 367.8 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.367, allocations: 0 / 367.8 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.367, allocations: 0 / 367.8 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.3672, allocations: 24.02 kB / 367.8 MB, free: 6.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.3672, allocations: 3.938 kB / 367.8 MB, free: 6.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.712e-05/0.3673, allocations: 4 kB / 367.8 MB, free: 6.57 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.3673, allocations: 7.938 kB / 367.8 MB, free: 6.562 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.0001482/0.3675, allocations: 129.8 kB / 368 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.3675, allocations: 15.8 kB / 368 MB, free: 6.41 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.338e-05/0.3676, allocations: 21.36 kB / 368 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3676, allocations: 0 / 368 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3676, allocations: 7.984 kB / 368 MB, free: 6.379 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3676, allocations: 384 / 368 MB, free: 6.379 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006521/0.3683, allocations: 391.3 kB / 368.4 MB, free: 5.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.3683, allocations: 11.95 kB / 368.4 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.337e-05/0.3684, allocations: 8 kB / 368.4 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.3684, allocations: 0 / 368.4 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.3684, allocations: 4 kB / 368.4 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.3684, allocations: 4 kB / 368.4 MB, free: 5.91 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3685, allocations: 4.031 kB / 368.4 MB, free: 5.906 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.3688, allocations: 214 kB / 368.6 MB, free: 5.672 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.485e-05/0.3689, allocations: 104.8 kB / 368.7 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.654e-05/0.369, allocations: 4 kB / 368.7 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3691, allocations: 0 / 368.7 MB, free: 5.547 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.053e-05/0.3692, allocations: 11.98 kB / 368.7 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.297e-05/0.3692, allocations: 4 kB / 368.7 MB, free: 5.531 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001873/0.3694, allocations: 151.2 kB / 368.9 MB, free: 5.383 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3694, allocations: 0 / 368.9 MB, free: 5.383 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003581/0.3698, allocations: 32 kB / 368.9 MB, free: 5.352 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.001196/0.371, allocations: 397.1 kB / 369.3 MB, free: 5.035 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004215/0.3714, allocations: 159.3 kB / 369.5 MB, free: 4.867 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3714, allocations: 0 / 369.5 MB, free: 4.867 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.3716, allocations: 35.92 kB / 369.5 MB, free: 4.832 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003361/0.3719, allocations: 19.94 kB / 369.5 MB, free: 4.812 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006584/0.3726, allocations: 284.4 kB / 369.8 MB, free: 4.504 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.3729, allocations: 0.7121 MB / 370.5 MB, free: 3.766 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.691e-05/0.373, allocations: 15.44 kB / 370.5 MB, free: 3.75 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.373, allocations: 192 / 370.5 MB, free: 3.75 MB / 298.7 MB Notification: Performance of Templates: time 0.005441/0.3785, allocations: 1.924 MB / 372.5 MB, free: 1.832 MB / 298.7 MB