Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,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.Test18") Notification: Performance of loadModel(ModelicaTest): time 1.953/1.953, allocations: 209.3 MB / 224.4 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.186e-05/3.18e-05, allocations: 4 kB / 276.2 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3524, allocations: 48.7 MB / 324.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002385/0.3549, allocations: 1.304 MB / 326.2 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009599/0.3559, allocations: 406 kB / 326.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.737e-05/0.356, allocations: 4.188 kB / 326.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002234/0.3562, allocations: 17.09 kB / 326.6 MB, free: 2.129 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001418/0.3563, allocations: 30.23 kB / 326.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001857/0.3565, allocations: 48.03 kB / 326.7 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.3567, allocations: 39.44 kB / 326.7 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.921e-05/0.3568, allocations: 7.312 kB / 326.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.056e-05/0.3569, allocations: 20.06 kB / 326.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.928e-05/0.3569, allocations: 18.73 kB / 326.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.3571, allocations: 34.38 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.3571, allocations: 7.281 kB / 326.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.884e-05/0.3572, allocations: 13.47 kB / 326.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.3572, allocations: 3.562 kB / 326.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.3574, allocations: 71.03 kB / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3574, allocations: 0 / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3574, allocations: 0 / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.25e-05/0.3575, allocations: 0 / 326.9 MB, free: 2.043 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.0004541/0.3579, allocations: 400.8 kB / 327.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.358, allocations: 12.41 kB / 327.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.358, allocations: 4.125 kB / 327.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002044/0.3582, allocations: 192.4 kB / 327.5 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.3583, allocations: 5.109 kB / 327.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.695e-05/0.3583, allocations: 2.375 kB / 327.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.3585, allocations: 42.81 kB / 327.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.3585, allocations: 5.062 kB / 327.5 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3585, allocations: 0 / 327.5 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.3585, allocations: 1.812 kB / 327.5 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.572e-05/0.3586, allocations: 16.3 kB / 327.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.359, allocations: 289.5 kB / 327.8 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002188/0.3592, allocations: 43.03 kB / 327.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.3592, allocations: 1.859 kB / 327.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.3594, allocations: 56.41 kB / 327.9 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.764e-06/0.3594, allocations: 4 kB / 327.9 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000443/0.3599, allocations: 112.2 kB / 328 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.3599, allocations: 52.53 kB / 328.1 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.3601, allocations: 151.6 kB / 328.2 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.3601, allocations: 26.7 kB / 328.3 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.095e-05/0.3602, allocations: 160.6 kB / 328.4 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.3602, allocations: 20.38 kB / 328.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.3602, allocations: 0 / 328.4 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.147e-05/0.3603, allocations: 326.4 kB / 328.7 MB, free: 232 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.434e-05/0.3604, allocations: 20.53 kB / 328.8 MB, free: 224 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.616e-05/0.3604, allocations: 20.84 kB / 328.8 MB, free: 216 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.063e-05/0.3605, allocations: 45.77 kB / 328.8 MB, free: 176 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.3606, allocations: 0 / 328.8 MB, free: 176 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000216/0.3608, allocations: 112.2 kB / 328.9 MB, free: 92 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.785e-05/0.3608, allocations: 33.78 kB / 329 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.3608, allocations: 1.219 kB / 329 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3609, allocations: 0.6094 kB / 329 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.645e-05/0.361, allocations: 12.52 kB / 329 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.361, allocations: 6.281 kB / 329 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.74e-05/0.3611, allocations: 2.594 kB / 329 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.3611, allocations: 3.672 kB / 329 MB, free: 52 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.0001415/0.3612, allocations: 123.1 kB / 329.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.339e-05/0.3613, allocations: 6.812 kB / 329.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.712e-05/0.3613, allocations: 13.59 kB / 329.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3613, allocations: 2.438 kB / 329.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3614, allocations: 0 / 329.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.3614, allocations: 0 / 329.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004626/0.3618, allocations: 340.4 kB / 329.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3619, allocations: 3.938 kB / 329.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.3619, allocations: 5.672 kB / 329.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3619, allocations: 2.094 kB / 329.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.362, allocations: 6.797 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.362, allocations: 3.938 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.362, allocations: 1.094 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.3622, allocations: 175.9 kB / 329.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.142e-05/0.3623, allocations: 88.09 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.974e-05/0.3623, allocations: 1.25 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.899e-05/0.3624, allocations: 2.406 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.3625, allocations: 3.516 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.3625, allocations: 3.391 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001388/0.3627, allocations: 124.2 kB / 329.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.3627, allocations: 0 / 329.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003413/0.363, allocations: 27.92 kB / 329.9 MB, free: 15.22 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.000959/0.364, allocations: 344.5 kB / 330.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002354/0.3643, allocations: 102.2 kB / 330.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3643, allocations: 0 / 330.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.109e-05/0.3643, allocations: 19.53 kB / 330.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.3646, allocations: 19.03 kB / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005158/0.3652, allocations: 216.1 kB / 330.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3655, allocations: 0.6957 MB / 331.3 MB, free: 14.05 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.3656, allocations: 14.19 kB / 331.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3656, allocations: 4 kB / 331.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of Templates: time 0.005273/0.3709, allocations: 1.637 MB / 333 MB, free: 13.86 MB / 282.7 MB