Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test73") Notification: Performance of loadModel(ModelicaTest): time 2.296/2.296, allocations: 234.9 MB / 250.1 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.378e-05, allocations: 4 kB / 308 MB, free: 15.78 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.345/0.345, allocations: 54.87 MB / 362.9 MB, free: 11.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002694/0.3478, allocations: 1.485 MB / 364.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.3499, allocations: 0.8705 MB / 365.2 MB, free: 9.406 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.3501, allocations: 0 / 365.2 MB, free: 9.406 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.3505, allocations: 131.7 kB / 365.3 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.3509, allocations: 103.7 kB / 365.4 MB, free: 9.176 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.3513, allocations: 91.69 kB / 365.5 MB, free: 9.086 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.3515, allocations: 111.7 kB / 365.6 MB, free: 8.977 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.868e-05/0.3517, allocations: 4 kB / 365.6 MB, free: 8.973 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.3518, allocations: 75.81 kB / 365.7 MB, free: 8.898 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.3521, allocations: 87.73 kB / 365.8 MB, free: 8.812 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002088/0.3523, allocations: 47.92 kB / 365.9 MB, free: 8.766 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.108e-05/0.3523, allocations: 12 kB / 365.9 MB, free: 8.754 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.619e-05/0.3524, allocations: 43.83 kB / 365.9 MB, free: 8.711 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.76e-05/0.3525, allocations: 12 kB / 365.9 MB, free: 8.699 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003418/0.3529, allocations: 169.5 kB / 366.1 MB, free: 8.535 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.3529, allocations: 0 / 366.1 MB, free: 8.535 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3529, allocations: 0 / 366.1 MB, free: 8.535 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3529, allocations: 0 / 366.1 MB, free: 8.535 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008339/0.3537, allocations: 0.5679 MB / 366.7 MB, free: 7.895 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.3538, allocations: 11.97 kB / 366.7 MB, free: 7.883 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.475e-05/0.3539, allocations: 27.72 kB / 366.7 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004093/0.3543, allocations: 242.5 kB / 366.9 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.213e-05/0.3544, allocations: 8 kB / 366.9 MB, free: 7.574 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.287e-05/0.3544, allocations: 11.91 kB / 367 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003491/0.3548, allocations: 99.34 kB / 367 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3548, allocations: 3.938 kB / 367.1 MB, free: 7.449 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.3548, allocations: 7.953 kB / 367.1 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3548, allocations: 0 / 367.1 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.3551, allocations: 51.89 kB / 367.1 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007398/0.3558, allocations: 456.9 kB / 367.6 MB, free: 6.891 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.3563, allocations: 125.4 kB / 367.7 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.193e-05/0.3563, allocations: 0 / 367.7 MB, free: 6.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003321/0.3567, allocations: 121.1 kB / 367.8 MB, free: 6.613 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.994e-06/0.3567, allocations: 0 / 367.8 MB, free: 6.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001387/0.3581, allocations: 356.2 kB / 368.1 MB, free: 6.258 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.591e-05/0.3582, allocations: 81.05 kB / 368.2 MB, free: 6.16 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005127/0.3587, allocations: 325.7 kB / 368.5 MB, free: 5.84 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/0.3588, allocations: 25.7 kB / 368.6 MB, free: 5.809 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.3589, allocations: 195 kB / 368.8 MB, free: 5.617 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.874e-05/0.359, allocations: 47.36 kB / 368.8 MB, free: 5.57 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.379e-05/0.359, allocations: 0 / 368.8 MB, free: 5.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.3592, allocations: 326.8 kB / 369.1 MB, free: 5.242 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002555/0.3594, allocations: 60.16 kB / 369.2 MB, free: 5.184 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002533/0.3597, allocations: 91.78 kB / 369.3 MB, free: 5.082 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003013/0.36, allocations: 123.4 kB / 369.4 MB, free: 4.949 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.36, allocations: 0 / 369.4 MB, free: 4.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007363/0.3608, allocations: 288.8 kB / 369.7 MB, free: 4.648 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.614e-05/0.3609, allocations: 67.39 kB / 369.7 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3609, allocations: 0 / 369.7 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/0.3609, allocations: 4 kB / 369.7 MB, free: 4.566 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002516/0.3612, allocations: 35.91 kB / 369.8 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.3612, allocations: 4 kB / 369.8 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.3614, allocations: 15.91 kB / 369.8 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/0.3614, allocations: 8 kB / 369.8 MB, free: 4.504 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.0002248/0.3617, allocations: 157.8 kB / 370 MB, free: 4.34 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/0.3617, allocations: 31.67 kB / 370 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.5e-05/0.3619, allocations: 29.7 kB / 370 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3619, allocations: 0 / 370 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.3619, allocations: 0 / 370 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.3619, allocations: 7.938 kB / 370 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.3631, allocations: 0.6087 MB / 370.6 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.3631, allocations: 0 / 370.6 MB, free: 3.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.3632, allocations: 19.94 kB / 370.7 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.3632, allocations: 0 / 370.7 MB, free: 3.578 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/0.3633, allocations: 11.98 kB / 370.7 MB, free: 3.566 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.3633, allocations: 4 kB / 370.7 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3633, allocations: 0 / 370.7 MB, free: 3.562 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006591/0.364, allocations: 404.9 kB / 371.1 MB, free: 3.129 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001446/0.3642, allocations: 116.9 kB / 371.2 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.47e-05/0.3642, allocations: 4 kB / 371.2 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.3644, allocations: 16.64 kB / 371.2 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.461e-05/0.3645, allocations: 15.98 kB / 371.2 MB, free: 2.961 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.3646, allocations: 11.98 kB / 371.2 MB, free: 2.949 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003906/0.365, allocations: 253.9 kB / 371.5 MB, free: 2.699 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.365, allocations: 0 / 371.5 MB, free: 2.699 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005092/0.3655, allocations: 56 kB / 371.5 MB, free: 2.645 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001908/0.3674, allocations: 0.6154 MB / 372.1 MB, free: 2.109 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007923/0.3683, allocations: 294.7 kB / 372.4 MB, free: 1.797 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.3683, allocations: 0 / 372.4 MB, free: 1.797 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002517/0.3686, allocations: 67.89 kB / 372.5 MB, free: 1.73 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000536/0.3691, allocations: 41.11 kB / 372.5 MB, free: 1.688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.3702, allocations: 499 kB / 373 MB, free: 1.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004342/0.3707, allocations: 0.756 MB / 373.8 MB, free: 388 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.919e-05/0.3708, allocations: 23.42 kB / 373.8 MB, free: 364 kB / 298.7 MB Notification: Performance of SimCode: time 1.021e-06/0.3708, allocations: 0 / 373.8 MB, free: 364 kB / 298.7 MB Notification: Performance of Templates: time 0.009289/0.3801, allocations: 3.413 MB / 377.2 MB, free: 12.94 MB / 314.7 MB