Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadModel(ModelicaTest): time 1.943/1.943, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.811e-05/2.807e-05, allocations: 7.984 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3462, allocations: 48.7 MB / 324.9 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002466/0.3487, allocations: 1.324 MB / 326.2 MB, free: 2.328 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009794/0.3498, allocations: 404.3 kB / 326.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.433e-05/0.3499, allocations: 1.25 kB / 326.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.3502, allocations: 85.98 kB / 326.7 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000193/0.3504, allocations: 61.94 kB / 326.7 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002202/0.3507, allocations: 50.52 kB / 326.8 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.3508, allocations: 57.41 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.514e-05/0.351, allocations: 5.25 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.397e-05/0.3511, allocations: 34.31 kB / 326.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.3512, allocations: 47.11 kB / 326.9 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001334/0.3513, allocations: 34.19 kB / 326.9 MB, free: 2.027 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.3514, allocations: 4 kB / 326.9 MB, free: 2.027 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.5e-05/0.3514, allocations: 24.94 kB / 327 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.919e-05/0.3515, allocations: 4.344 kB / 327 MB, free: 2.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002323/0.3517, allocations: 95.45 kB / 327.1 MB, free: 2.008 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.3517, allocations: 0 / 327.1 MB, free: 2.008 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3517, allocations: 1.406 kB / 327.1 MB, free: 2.008 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.3518, allocations: 0 / 327.1 MB, free: 2.008 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004859/0.3523, allocations: 420.5 kB / 327.5 MB, free: 1.582 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3523, allocations: 8.25 kB / 327.5 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.3524, allocations: 13.69 kB / 327.5 MB, free: 1.574 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.3526, allocations: 208.8 kB / 327.7 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.3527, allocations: 10.23 kB / 327.7 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.3527, allocations: 3.812 kB / 327.7 MB, free: 1.352 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.3529, allocations: 59.19 kB / 327.8 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.3529, allocations: 0.6562 kB / 327.8 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.3529, allocations: 1.156 kB / 327.8 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3529, allocations: 5.156 kB / 327.8 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.3531, allocations: 22.05 kB / 327.8 MB, free: 1.301 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.3535, allocations: 317.1 kB / 328.1 MB, free: 1 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.3537, allocations: 49.95 kB / 328.2 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.3537, allocations: 1.797 kB / 328.2 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.3539, allocations: 69.41 kB / 328.2 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.014e-06/0.3539, allocations: 0 / 328.2 MB, free: 0.9062 MB / 266.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006217/0.3545, allocations: 160 kB / 328.4 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.3546, allocations: 54.25 kB / 328.4 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.3549, allocations: 223.7 kB / 328.7 MB, free: 0.625 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.3549, allocations: 27.95 kB / 328.7 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.436e-05/0.355, allocations: 166.2 kB / 328.8 MB, free: 444 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.721e-05/0.355, allocations: 22.83 kB / 328.9 MB, free: 428 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.072e-05/0.3551, allocations: 5.094 kB / 328.9 MB, free: 424 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.201e-05/0.3551, allocations: 321.7 kB / 329.2 MB, free: 96 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.531e-05/0.3552, allocations: 25.02 kB / 329.2 MB, free: 88 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.344e-05/0.3553, allocations: 33.53 kB / 329.2 MB, free: 72 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001104/0.3554, allocations: 55.41 kB / 329.3 MB, free: 28 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3555, allocations: 0 / 329.3 MB, free: 28 kB / 266.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000364/0.3558, allocations: 146.9 kB / 329.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.896e-05/0.3559, allocations: 33.14 kB / 329.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.3559, allocations: 1 kB / 329.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3559, allocations: 1.031 kB / 329.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.3561, allocations: 22.48 kB / 329.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.3561, allocations: 0.75 kB / 329.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.053e-05/0.3562, allocations: 3.281 kB / 329.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.3562, allocations: 3.5 kB / 329.5 MB, free: 15.89 MB / 282.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 (10): * Single equations (assignments): 9 * 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.0001778/0.3564, allocations: 141.7 kB / 329.6 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.3565, allocations: 9.781 kB / 329.7 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.136e-05/0.3566, allocations: 20.22 kB / 329.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.3566, allocations: 2.562 kB / 329.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3566, allocations: 4 kB / 329.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.3566, allocations: 0.7969 kB / 329.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006831/0.3573, allocations: 400.1 kB / 330.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3573, allocations: 1.062 kB / 330.1 MB, free: 15.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.707e-05/0.3574, allocations: 14.75 kB / 330.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.3574, allocations: 1.406 kB / 330.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.3575, allocations: 2.25 kB / 330.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3575, allocations: 1.031 kB / 330.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.3575, allocations: 0 / 330.1 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.3578, allocations: 202.4 kB / 330.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.3579, allocations: 89 kB / 330.4 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.358, allocations: 11.02 kB / 330.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.3581, allocations: 5.094 kB / 330.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.051e-05/0.3582, allocations: 6.719 kB / 330.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.448e-05/0.3582, allocations: 4.406 kB / 330.4 MB, free: 15.12 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000256/0.3585, allocations: 171.4 kB / 330.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3585, allocations: 4 kB / 330.6 MB, free: 15.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003973/0.3589, allocations: 32.42 kB / 330.6 MB, free: 15.01 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 (8): * Single equations (assignments): 7 * 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.0009892/0.3599, allocations: 346.6 kB / 330.9 MB, free: 14.81 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003159/0.3602, allocations: 125.5 kB / 331.1 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.022e-06/0.3603, allocations: 5.312 kB / 331.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.677e-05/0.3603, allocations: 23.42 kB / 331.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.3607, allocations: 18.64 kB / 331.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007129/0.3614, allocations: 304.2 kB / 331.4 MB, free: 14.48 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.3618, allocations: 0.7127 MB / 332.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.254e-05/0.3619, allocations: 21.56 kB / 332.1 MB, free: 13.78 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3619, allocations: 0 / 332.1 MB, free: 13.78 MB / 282.7 MB Notification: Performance of Templates: time 0.006311/0.3682, allocations: 1.996 MB / 334.1 MB, free: 13.55 MB / 282.7 MB