Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,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.Test20") Notification: Performance of loadModel(ModelicaTest): time 1.926/1.926, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.366e-05/3.389e-05, allocations: 8 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3394, allocations: 48.69 MB / 324.8 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002305/0.3417, allocations: 1.308 MB / 326.2 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009476/0.3427, allocations: 403.8 kB / 326.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.444e-05/0.3428, allocations: 5.188 kB / 326.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.343, allocations: 19.86 kB / 326.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001391/0.3432, allocations: 26.92 kB / 326.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.3434, allocations: 49.11 kB / 326.6 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.3435, allocations: 43.53 kB / 326.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.092e-05/0.3436, allocations: 2.891 kB / 326.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.821e-05/0.3437, allocations: 23.52 kB / 326.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.88e-05/0.3438, allocations: 21.02 kB / 326.7 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.3439, allocations: 29.3 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.344, allocations: 3.812 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.245e-05/0.344, allocations: 14.62 kB / 326.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.344, allocations: 2.5 kB / 326.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002087/0.3443, allocations: 84.8 kB / 326.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.3443, allocations: 0 / 326.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3443, allocations: 4 kB / 326.9 MB, free: 2.035 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.3443, allocations: 0 / 326.9 MB, free: 2.035 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.0004393/0.3448, allocations: 397 kB / 327.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.3448, allocations: 9.438 kB / 327.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.171e-05/0.3449, allocations: 8.266 kB / 327.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.3451, allocations: 199.9 kB / 327.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.3451, allocations: 2.25 kB / 327.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.3451, allocations: 2.562 kB / 327.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.3453, allocations: 46.61 kB / 327.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.3453, allocations: 1.312 kB / 327.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.3453, allocations: 0 / 327.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3453, allocations: 1.078 kB / 327.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.462e-05/0.3454, allocations: 17.55 kB / 327.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003381/0.3458, allocations: 279.5 kB / 327.8 MB, free: 1.074 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000213/0.346, allocations: 45.69 kB / 327.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.346, allocations: 2.953 kB / 327.9 MB, free: 1.039 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001468/0.3462, allocations: 60.39 kB / 327.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.225e-06/0.3462, allocations: 1.078 kB / 327.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004374/0.3466, allocations: 111.6 kB / 328 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.3467, allocations: 52.62 kB / 328.1 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/0.3469, allocations: 156.6 kB / 328.2 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.571e-05/0.3469, allocations: 28.08 kB / 328.3 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.104e-05/0.347, allocations: 164 kB / 328.4 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.347, allocations: 20.61 kB / 328.4 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.903e-06/0.347, allocations: 0 / 328.4 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.394e-05/0.3471, allocations: 317.9 kB / 328.8 MB, free: 236 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.941e-05/0.3472, allocations: 19.33 kB / 328.8 MB, free: 228 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.653e-05/0.3472, allocations: 23.17 kB / 328.8 MB, free: 216 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.88e-05/0.3473, allocations: 52.28 kB / 328.8 MB, free: 172 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3473, allocations: 0 / 328.8 MB, free: 172 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002213/0.3476, allocations: 111.3 kB / 329 MB, free: 92 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.478e-05/0.3476, allocations: 41.08 kB / 329 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3476, allocations: 4.969 kB / 329 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3476, allocations: 1.25 kB / 329 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.3477, allocations: 8.047 kB / 329 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.3477, allocations: 1.094 kB / 329 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.617e-05/0.3478, allocations: 7.203 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.3478, allocations: 2.781 kB / 329 MB, free: 48 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.0001384/0.348, allocations: 127.4 kB / 329.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.348, allocations: 9.234 kB / 329.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.47e-05/0.3481, allocations: 17.27 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3481, allocations: 3.172 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.3481, allocations: 0 / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3481, allocations: 1.031 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/0.3486, allocations: 339.5 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.3486, allocations: 5.125 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.3486, allocations: 5.625 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/0.3487, allocations: 0 / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.3487, allocations: 7.438 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3487, allocations: 4 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3487, allocations: 0 / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.3489, allocations: 169.2 kB / 329.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.826e-05/0.349, allocations: 88 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.349, allocations: 5.828 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.083e-05/0.3491, allocations: 2.141 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.183e-05/0.3492, allocations: 8.5 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.932e-05/0.3492, allocations: 7.547 kB / 329.8 MB, free: 15.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001531/0.3494, allocations: 130.8 kB / 329.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3494, allocations: 0 / 329.9 MB, free: 15.22 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003442/0.3498, allocations: 24.72 kB / 330 MB, free: 15.21 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.0009692/0.3507, allocations: 344 kB / 330.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.351, allocations: 105.5 kB / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.351, allocations: 0 / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.138e-05/0.3511, allocations: 15.64 kB / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.3514, allocations: 19.83 kB / 330.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005334/0.352, allocations: 222 kB / 330.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.3523, allocations: 0.7026 MB / 331.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.969e-05/0.3524, allocations: 17.19 kB / 331.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.3524, allocations: 1.156 kB / 331.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of Templates: time 0.005215/0.3576, allocations: 1.655 MB / 333 MB, free: 13.85 MB / 282.7 MB