Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.138/2.138, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.393e-05/3.422e-05, allocations: 8 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3544, allocations: 48.7 MB / 324.9 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002416/0.3569, allocations: 1.31 MB / 326.2 MB, free: 2.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009717/0.3579, allocations: 401.5 kB / 326.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.861e-05/0.358, allocations: 4.031 kB / 326.6 MB, free: 2.113 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.3582, allocations: 19.69 kB / 326.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001962/0.3584, allocations: 22.41 kB / 326.6 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002283/0.3587, allocations: 50.89 kB / 326.7 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.3588, allocations: 44.42 kB / 326.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.251e-05/0.3589, allocations: 2.953 kB / 326.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.557e-05/0.359, allocations: 23.5 kB / 326.7 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.778e-05/0.3591, allocations: 25.2 kB / 326.7 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000137/0.3592, allocations: 31.83 kB / 326.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.3593, allocations: 6.688 kB / 326.8 MB, free: 2.035 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.585e-05/0.3593, allocations: 14 kB / 326.8 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.719e-05/0.3594, allocations: 4.031 kB / 326.8 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.3596, allocations: 81.91 kB / 326.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.3596, allocations: 0 / 326.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3596, allocations: 1.094 kB / 326.9 MB, free: 2.02 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.3596, allocations: 0 / 326.9 MB, free: 2.02 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.00046/0.3601, allocations: 403.2 kB / 327.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3602, allocations: 9.281 kB / 327.3 MB, free: 1.602 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.423e-05/0.3602, allocations: 8.031 kB / 327.3 MB, free: 1.598 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.3604, allocations: 199.5 kB / 327.5 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.3605, allocations: 6.609 kB / 327.5 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.3605, allocations: 3 kB / 327.5 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.3607, allocations: 42.28 kB / 327.5 MB, free: 1.348 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.3607, allocations: 4.547 kB / 327.5 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.3607, allocations: 1.375 kB / 327.5 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.3607, allocations: 0 / 327.5 MB, free: 1.344 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.571e-05/0.3608, allocations: 22.91 kB / 327.6 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.3612, allocations: 278.7 kB / 327.8 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.3614, allocations: 43 kB / 327.9 MB, free: 1.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.3614, allocations: 4.969 kB / 327.9 MB, free: 1.016 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001391/0.3616, allocations: 66.44 kB / 327.9 MB, free: 0.957 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.024e-06/0.3616, allocations: 0 / 327.9 MB, free: 0.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004457/0.3621, allocations: 116.3 kB / 328.1 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.3621, allocations: 52.72 kB / 328.1 MB, free: 0.832 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.3623, allocations: 173.1 kB / 328.3 MB, free: 0.7188 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.3624, allocations: 27.02 kB / 328.3 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.609e-05/0.3624, allocations: 169.9 kB / 328.5 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.509e-05/0.3625, allocations: 11.88 kB / 328.5 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.3625, allocations: 0 / 328.5 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.644e-05/0.3626, allocations: 322.8 kB / 328.8 MB, free: 200 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.083e-05/0.3626, allocations: 18.22 kB / 328.8 MB, free: 192 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.516e-05/0.3627, allocations: 20.69 kB / 328.8 MB, free: 184 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.3628, allocations: 46.42 kB / 328.9 MB, free: 144 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3628, allocations: 1.172 kB / 328.9 MB, free: 144 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002215/0.363, allocations: 115.8 kB / 329 MB, free: 56 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.568e-05/0.3631, allocations: 33.78 kB / 329 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3631, allocations: 0 / 329 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.3631, allocations: 1.094 kB / 329 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.766e-05/0.3632, allocations: 9.484 kB / 329 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.3632, allocations: 4 kB / 329 MB, free: 20 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.228e-05/0.3633, allocations: 7.328 kB / 329.1 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.3633, allocations: 3.531 kB / 329.1 MB, free: 16 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.0001597/0.3635, allocations: 129.6 kB / 329.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.3635, allocations: 8.109 kB / 329.2 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/0.3636, allocations: 14.08 kB / 329.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.3636, allocations: 2.219 kB / 329.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.3636, allocations: 3.938 kB / 329.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3636, allocations: 5.125 kB / 329.2 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.3641, allocations: 335.5 kB / 329.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3641, allocations: 3.938 kB / 329.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.386e-05/0.3642, allocations: 6.406 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3642, allocations: 0.875 kB / 329.6 MB, free: 15.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.3642, allocations: 6.578 kB / 329.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3642, allocations: 0 / 329.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.3642, allocations: 4.453 kB / 329.6 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002184/0.3645, allocations: 176.6 kB / 329.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.3645, allocations: 84.77 kB / 329.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.004e-05/0.3646, allocations: 1.859 kB / 329.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.217e-05/0.3647, allocations: 3.172 kB / 329.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.3647, allocations: 3.234 kB / 329.8 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.3648, allocations: 7.219 kB / 329.8 MB, free: 15.28 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001615/0.3649, allocations: 133.1 kB / 330 MB, free: 15.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.365, allocations: 1.219 kB / 330 MB, free: 15.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003513/0.3653, allocations: 31.08 kB / 330 MB, free: 15.18 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.001028/0.3664, allocations: 331.6 kB / 330.3 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002796/0.3667, allocations: 106.9 kB / 330.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3667, allocations: 0.5625 kB / 330.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.536e-05/0.3668, allocations: 15.5 kB / 330.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.3671, allocations: 28.08 kB / 330.5 MB, free: 14.89 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/0.3677, allocations: 233.1 kB / 330.7 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.3681, allocations: 0.7039 MB / 331.4 MB, free: 14 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.834e-05/0.3682, allocations: 18.45 kB / 331.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of SimCode: time 1.262e-06/0.3682, allocations: 0 / 331.4 MB, free: 13.99 MB / 282.7 MB Notification: Performance of Templates: time 0.005501/0.3737, allocations: 1.69 MB / 333.1 MB, free: 13.79 MB / 282.7 MB