Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test35") Notification: Performance of loadModel(ModelicaTest): time 2.017/2.017, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.4e-05, allocations: 6.5 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3524, allocations: 48.7 MB / 324.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002479/0.3549, allocations: 1.305 MB / 326.2 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009742/0.356, allocations: 399.1 kB / 326.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.697e-05/0.3561, allocations: 1.219 kB / 326.5 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.3564, allocations: 74.84 kB / 326.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001947/0.3566, allocations: 53.05 kB / 326.7 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002347/0.3569, allocations: 50.14 kB / 326.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.357, allocations: 44.3 kB / 326.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.673e-05/0.3571, allocations: 4.062 kB / 326.8 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.387e-05/0.3572, allocations: 26.86 kB / 326.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001237/0.3573, allocations: 43.45 kB / 326.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.3575, allocations: 30.27 kB / 326.9 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.384e-05/0.3575, allocations: 6.938 kB / 326.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.3576, allocations: 17.61 kB / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.035e-05/0.3576, allocations: 4.062 kB / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002364/0.3579, allocations: 83.17 kB / 327 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.3579, allocations: 0 / 327 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.3579, allocations: 0 / 327 MB, free: 2.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.223e-05/0.3579, allocations: 1.062 kB / 327 MB, free: 2.031 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.0004806/0.3584, allocations: 414.9 kB / 327.4 MB, free: 1.605 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.3585, allocations: 8.641 kB / 327.4 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.3585, allocations: 9.656 kB / 327.4 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.3588, allocations: 194.5 kB / 327.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3588, allocations: 4.953 kB / 327.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.3589, allocations: 3.188 kB / 327.6 MB, free: 1.391 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.359, allocations: 44.27 kB / 327.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.3591, allocations: 0 / 327.6 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3591, allocations: 4 kB / 327.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.3591, allocations: 1.062 kB / 327.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.529e-05/0.3592, allocations: 17.31 kB / 327.7 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003824/0.3596, allocations: 287.6 kB / 327.9 MB, free: 1.055 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.3598, allocations: 39.17 kB / 328 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/0.3598, allocations: 1.125 kB / 328 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001436/0.36, allocations: 74.42 kB / 328.1 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/0.36, allocations: 0 / 328.1 MB, free: 0.9609 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004808/0.3605, allocations: 116.5 kB / 328.2 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.055e-05/0.3606, allocations: 53.22 kB / 328.2 MB, free: 0.8359 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.3608, allocations: 188.5 kB / 328.4 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/0.3609, allocations: 30.8 kB / 328.4 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.3609, allocations: 173.3 kB / 328.6 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.361, allocations: 15.25 kB / 328.6 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-06/0.361, allocations: 1.156 kB / 328.6 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.324e-05/0.3611, allocations: 321.1 kB / 328.9 MB, free: 192 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.393e-05/0.3611, allocations: 19.25 kB / 329 MB, free: 184 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.773e-05/0.3612, allocations: 17.25 kB / 329 MB, free: 180 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.965e-05/0.3613, allocations: 49.27 kB / 329 MB, free: 136 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3613, allocations: 0.6562 kB / 329 MB, free: 136 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002276/0.3616, allocations: 117.1 kB / 329.1 MB, free: 48 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.789e-05/0.3616, allocations: 32.69 kB / 329.2 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3616, allocations: 0.5156 kB / 329.2 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.3616, allocations: 1.031 kB / 329.2 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.903e-05/0.3617, allocations: 9.281 kB / 329.2 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.3618, allocations: 4.609 kB / 329.2 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.454e-05/0.3618, allocations: 4.344 kB / 329.2 MB, free: 12 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.3619, allocations: 6.25 kB / 329.2 MB, free: 8 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.000171/0.362, allocations: 128.1 kB / 329.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.712e-05/0.3621, allocations: 8.969 kB / 329.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.604e-05/0.3622, allocations: 16.08 kB / 329.3 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/0.3622, allocations: 1.875 kB / 329.3 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.3622, allocations: 0 / 329.3 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3622, allocations: 5.031 kB / 329.3 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005322/0.3627, allocations: 344.2 kB / 329.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3628, allocations: 0 / 329.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.684e-05/0.3628, allocations: 7.266 kB / 329.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.3628, allocations: 2.078 kB / 329.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.3629, allocations: 5.406 kB / 329.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3629, allocations: 4.688 kB / 329.7 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3629, allocations: 0 / 329.7 MB, free: 15.53 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002448/0.3631, allocations: 184.8 kB / 329.9 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/0.3632, allocations: 85 kB / 330 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.3633, allocations: 2.25 kB / 330 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3634, allocations: 2.016 kB / 330 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.152e-05/0.3634, allocations: 8.766 kB / 330 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.3635, allocations: 2.125 kB / 330 MB, free: 15.27 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002288/0.3637, allocations: 160.7 kB / 330.1 MB, free: 15.17 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3637, allocations: 0 / 330.1 MB, free: 15.17 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003611/0.3641, allocations: 29.66 kB / 330.2 MB, free: 15.16 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.00104/0.3651, allocations: 347.2 kB / 330.5 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002752/0.3654, allocations: 106.2 kB / 330.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3655, allocations: 0 / 330.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.425e-05/0.3655, allocations: 16.27 kB / 330.6 MB, free: 14.88 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003318/0.3659, allocations: 23.75 kB / 330.6 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006418/0.3665, allocations: 249.6 kB / 330.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004126/0.367, allocations: 0.7124 MB / 331.6 MB, free: 13.97 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.856e-05/0.367, allocations: 18.25 kB / 331.6 MB, free: 13.96 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.367, allocations: 0 / 331.6 MB, free: 13.96 MB / 282.7 MB Notification: Performance of Templates: time 0.00567/0.3727, allocations: 1.739 MB / 333.4 MB, free: 13.76 MB / 282.7 MB