Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test19,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_ModelicaTest.Tables.CombiTimeTable.Test19") Notification: Performance of loadModel(ModelicaTest): time 1.983/1.983, allocations: 209.3 MB / 223.8 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.233e-05/3.23e-05, allocations: 8 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3479, allocations: 48.69 MB / 324.9 MB, free: 3.105 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test19): time 0.002415/0.3503, allocations: 1.309 MB / 326.2 MB, free: 2.609 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009365/0.3513, allocations: 400.8 kB / 326.6 MB, free: 2.402 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.186e-05/0.3514, allocations: 1.281 kB / 326.6 MB, free: 2.402 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002263/0.3516, allocations: 16.28 kB / 326.6 MB, free: 2.398 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.3518, allocations: 28.03 kB / 326.6 MB, free: 2.387 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001908/0.352, allocations: 50.02 kB / 326.7 MB, free: 2.367 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.3522, allocations: 47.52 kB / 326.7 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.019e-05/0.3522, allocations: 3.188 kB / 326.7 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.527e-05/0.3523, allocations: 19.5 kB / 326.7 MB, free: 2.34 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.313e-05/0.3524, allocations: 19.52 kB / 326.8 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001259/0.3526, allocations: 34.56 kB / 326.8 MB, free: 2.324 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/0.3526, allocations: 3.625 kB / 326.8 MB, free: 2.324 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.415e-05/0.3526, allocations: 10.58 kB / 326.8 MB, free: 2.324 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.574e-05/0.3527, allocations: 4.188 kB / 326.8 MB, free: 2.324 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.3529, allocations: 77.64 kB / 326.9 MB, free: 2.309 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.3529, allocations: 1.062 kB / 326.9 MB, free: 2.309 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.3529, allocations: 4.656 kB / 326.9 MB, free: 2.305 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.3529, allocations: 0 / 326.9 MB, free: 2.305 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.0004785/0.3534, allocations: 397.9 kB / 327.3 MB, free: 1.891 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.3535, allocations: 9.5 kB / 327.3 MB, free: 1.891 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.521e-05/0.3535, allocations: 10 kB / 327.3 MB, free: 1.887 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.3538, allocations: 199.5 kB / 327.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.3538, allocations: 2.984 kB / 327.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.3538, allocations: 2.375 kB / 327.5 MB, free: 1.676 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.354, allocations: 50.33 kB / 327.6 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.354, allocations: 0 / 327.6 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.354, allocations: 1.672 kB / 327.6 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.354, allocations: 0 / 327.6 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.606e-05/0.3541, allocations: 10.91 kB / 327.6 MB, free: 1.633 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.3545, allocations: 290.5 kB / 327.8 MB, free: 1.336 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.3547, allocations: 40.2 kB / 327.9 MB, free: 1.309 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3548, allocations: 4.875 kB / 327.9 MB, free: 1.305 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001399/0.3549, allocations: 58.59 kB / 327.9 MB, free: 1.254 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.3549, allocations: 0 / 327.9 MB, free: 1.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000462/0.3554, allocations: 119 kB / 328.1 MB, free: 1.188 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.643e-05/0.3554, allocations: 53.02 kB / 328.1 MB, free: 1.125 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001905/0.3556, allocations: 157 kB / 328.3 MB, free: 1.02 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.3557, allocations: 27.02 kB / 328.3 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.25e-05/0.3557, allocations: 99.52 kB / 328.4 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.3558, allocations: 24.34 kB / 328.4 MB, free: 0.875 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.3558, allocations: 0 / 328.4 MB, free: 0.875 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.304e-05/0.3559, allocations: 325.4 kB / 328.7 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.428e-05/0.356, allocations: 24.73 kB / 328.8 MB, free: 0.543 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/0.356, allocations: 16.56 kB / 328.8 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.953e-05/0.3561, allocations: 49.91 kB / 328.8 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.3561, allocations: 1.25 kB / 328.8 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002338/0.3564, allocations: 118.1 kB / 328.9 MB, free: 420 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.3564, allocations: 41.39 kB / 329 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3564, allocations: 0 / 329 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.3565, allocations: 1.656 kB / 329 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.092e-05/0.3565, allocations: 8.172 kB / 329 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3566, allocations: 1.125 kB / 329 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.475e-05/0.3566, allocations: 3.109 kB / 329 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.3567, allocations: 7.828 kB / 329 MB, free: 380 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 9.759e-05/0.3568, allocations: 123.6 kB / 329.1 MB, free: 256 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.229e-05/0.3568, allocations: 8.125 kB / 329.1 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.446e-05/0.3569, allocations: 14.8 kB / 329.1 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3569, allocations: 0 / 329.1 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3569, allocations: 0.9375 kB / 329.1 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3569, allocations: 0.5625 kB / 329.1 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.3574, allocations: 342.5 kB / 329.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3574, allocations: 0 / 329.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.323e-05/0.3574, allocations: 6.109 kB / 329.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.3575, allocations: 0.6094 kB / 329.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.3575, allocations: 2.859 kB / 329.5 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.3575, allocations: 8.844 kB / 329.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3575, allocations: 3.938 kB / 329.5 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.3577, allocations: 176.6 kB / 329.7 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.335e-05/0.3578, allocations: 84.16 kB / 329.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.3578, allocations: 9.812 kB / 329.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.771e-05/0.3579, allocations: 2.938 kB / 329.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.358, allocations: 3.875 kB / 329.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.358, allocations: 2.688 kB / 329.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000153/0.3582, allocations: 134.5 kB / 329.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3582, allocations: 0 / 329.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003467/0.3586, allocations: 30.53 kB / 329.9 MB, free: 15.54 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.0009721/0.3595, allocations: 341.2 kB / 330.3 MB, free: 15.34 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.3598, allocations: 106 kB / 330.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.3598, allocations: 0 / 330.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.612e-05/0.3599, allocations: 21.23 kB / 330.4 MB, free: 15.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003117/0.3602, allocations: 13.88 kB / 330.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005291/0.3608, allocations: 194.2 kB / 330.6 MB, free: 15.09 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/0.3611, allocations: 0.6987 MB / 331.3 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.607e-05/0.3612, allocations: 12.69 kB / 331.3 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.3612, allocations: 18.22 kB / 331.3 MB, free: 14.38 MB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.3613, allocations: 0 / 331.3 MB, free: 14.38 MB / 282.7 MB Notification: Performance of Templates: time 0.00606/0.3673, allocations: 1.4 MB / 332.7 MB, free: 14.2 MB / 282.7 MB