Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test7") Notification: Performance of loadModel(ModelicaTest): time 1.906/1.906, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.666e-05/3.657e-05, allocations: 4 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3475, allocations: 48.69 MB / 324.9 MB, free: 3.383 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002239/0.3498, allocations: 1.309 MB / 326.2 MB, free: 2.762 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009399/0.3508, allocations: 402.4 kB / 326.6 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.709e-05/0.3509, allocations: 3.938 kB / 326.6 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003225/0.3512, allocations: 75.73 kB / 326.7 MB, free: 2.555 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000205/0.3514, allocations: 65.86 kB / 326.7 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.3516, allocations: 48.06 kB / 326.8 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.3518, allocations: 45.36 kB / 326.8 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.414e-05/0.3519, allocations: 3.875 kB / 326.8 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.665e-05/0.352, allocations: 28.58 kB / 326.8 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.3521, allocations: 40.2 kB / 326.9 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.3523, allocations: 29.62 kB / 326.9 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.24e-05/0.3523, allocations: 3.688 kB / 326.9 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.973e-05/0.3524, allocations: 26.62 kB / 326.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.3524, allocations: 7.656 kB / 327 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.3526, allocations: 83.88 kB / 327 MB, free: 2.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3526, allocations: 0 / 327 MB, free: 2.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3527, allocations: 0 / 327 MB, free: 2.453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.3527, allocations: 0 / 327 MB, free: 2.453 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.0004669/0.3532, allocations: 408.7 kB / 327.4 MB, free: 2.035 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.3532, allocations: 8.906 kB / 327.4 MB, free: 2.035 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.3533, allocations: 9.656 kB / 327.5 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.3535, allocations: 203.6 kB / 327.7 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.926e-05/0.3535, allocations: 9.984 kB / 327.7 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.013e-05/0.3536, allocations: 6.219 kB / 327.7 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001332/0.3537, allocations: 40.08 kB / 327.7 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3537, allocations: 3.938 kB / 327.7 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.3538, allocations: 1.875 kB / 327.7 MB, free: 1.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3538, allocations: 3.938 kB / 327.7 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.314e-05/0.3539, allocations: 14.44 kB / 327.7 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.3542, allocations: 289.1 kB / 328 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.3545, allocations: 42.75 kB / 328.1 MB, free: 1.441 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.3545, allocations: 4.5 kB / 328.1 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.3547, allocations: 59.09 kB / 328.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.044e-06/0.3547, allocations: 0 / 328.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004639/0.3551, allocations: 121 kB / 328.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.3552, allocations: 60.69 kB / 328.3 MB, free: 1.246 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.3555, allocations: 203.8 kB / 328.5 MB, free: 1.129 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.3555, allocations: 31.72 kB / 328.5 MB, free: 1.094 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.3556, allocations: 105 kB / 328.6 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.63e-05/0.3556, allocations: 12.67 kB / 328.6 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.3557, allocations: 1.062 kB / 328.6 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.016e-05/0.3557, allocations: 330.4 kB / 329 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.291e-05/0.3558, allocations: 15.86 kB / 329 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.853e-05/0.3559, allocations: 24.27 kB / 329 MB, free: 0.6484 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.914e-05/0.356, allocations: 47.23 kB / 329 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.356, allocations: 0 / 329 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002446/0.3562, allocations: 124.8 kB / 329.2 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.3563, allocations: 38.3 kB / 329.2 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3563, allocations: 0 / 329.2 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.3563, allocations: 1.969 kB / 329.2 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.828e-05/0.3564, allocations: 8.188 kB / 329.2 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3564, allocations: 0.9688 kB / 329.2 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.199e-05/0.3565, allocations: 2.547 kB / 329.2 MB, free: 496 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.3565, allocations: 8.25 kB / 329.2 MB, free: 492 kB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001123/0.3567, allocations: 137.1 kB / 329.4 MB, free: 360 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.3567, allocations: 14.31 kB / 329.4 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/0.3568, allocations: 13.86 kB / 329.4 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3568, allocations: 0.6094 kB / 329.4 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3568, allocations: 1.156 kB / 329.4 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3568, allocations: 0.6562 kB / 329.4 MB, free: 344 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.3572, allocations: 342.7 kB / 329.7 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3572, allocations: 4 kB / 329.7 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.3573, allocations: 5.906 kB / 329.7 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.291e-05/0.3573, allocations: 8.844 kB / 329.7 MB, free: 0 / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.3574, allocations: 5.859 kB / 329.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3574, allocations: 5.969 kB / 329.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.3574, allocations: 0.6562 kB / 329.8 MB, free: 15.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.3576, allocations: 178.4 kB / 329.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.3577, allocations: 87.22 kB / 330 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.26e-05/0.3577, allocations: 9.031 kB / 330 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.432e-05/0.3578, allocations: 2.922 kB / 330 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.3579, allocations: 3.219 kB / 330 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.226e-05/0.3579, allocations: 6.703 kB / 330 MB, free: 15.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002289/0.3582, allocations: 173.2 kB / 330.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3582, allocations: 1.031 kB / 330.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003495/0.3585, allocations: 33.28 kB / 330.2 MB, free: 15.61 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009638/0.3595, allocations: 335.2 kB / 330.6 MB, free: 15.42 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002573/0.3598, allocations: 106.9 kB / 330.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3598, allocations: 0 / 330.7 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.262e-05/0.3599, allocations: 16.36 kB / 330.7 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.3602, allocations: 23.12 kB / 330.7 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006202/0.3608, allocations: 243.8 kB / 330.9 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000321/0.3612, allocations: 0.7158 MB / 331.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.324e-05/0.3613, allocations: 12.58 kB / 331.7 MB, free: 14.44 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.141e-05/0.3613, allocations: 14.5 kB / 331.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of SimCode: time 9.32e-07/0.3613, allocations: 0 / 331.7 MB, free: 14.43 MB / 282.7 MB Notification: Performance of Templates: time 0.006191/0.3675, allocations: 1.421 MB / 333.1 MB, free: 14.25 MB / 282.7 MB