Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.013/2.013, allocations: 209.3 MB / 223.8 MB, free: 452 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.75e-05/4.737e-05, allocations: 8 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3535, allocations: 48.69 MB / 324.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002244/0.3558, allocations: 1.315 MB / 326.2 MB, free: 2.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009472/0.3568, allocations: 393.5 kB / 326.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.594e-05/0.3569, allocations: 5.406 kB / 326.6 MB, free: 2.547 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002528/0.3571, allocations: 16.98 kB / 326.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.3573, allocations: 24.61 kB / 326.6 MB, free: 2.535 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.3575, allocations: 55.47 kB / 326.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001292/0.3577, allocations: 41.67 kB / 326.7 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.222e-05/0.3578, allocations: 4.609 kB / 326.7 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.177e-05/0.3578, allocations: 22.89 kB / 326.7 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.498e-05/0.3579, allocations: 20.91 kB / 326.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001288/0.3581, allocations: 32.59 kB / 326.8 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.3581, allocations: 4.031 kB / 326.8 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.538e-05/0.3582, allocations: 13.67 kB / 326.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.3582, allocations: 4.062 kB / 326.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002111/0.3584, allocations: 83 kB / 326.9 MB, free: 2.449 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.3584, allocations: 5.344 kB / 326.9 MB, free: 2.445 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3584, allocations: 0 / 326.9 MB, free: 2.445 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.3585, allocations: 0 / 326.9 MB, free: 2.445 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.0004456/0.3589, allocations: 403.4 kB / 327.3 MB, free: 2.027 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.359, allocations: 9.891 kB / 327.3 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.359, allocations: 8.406 kB / 327.3 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002069/0.3592, allocations: 193.6 kB / 327.5 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.3593, allocations: 5.703 kB / 327.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.3593, allocations: 4.312 kB / 327.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.3594, allocations: 46.14 kB / 327.6 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3595, allocations: 1.906 kB / 327.6 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.3595, allocations: 0 / 327.6 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.3595, allocations: 1.219 kB / 327.6 MB, free: 1.773 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.797e-05/0.3596, allocations: 21.3 kB / 327.6 MB, free: 1.762 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.3599, allocations: 276.1 kB / 327.9 MB, free: 1.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002175/0.3602, allocations: 46.28 kB / 327.9 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3602, allocations: 2.016 kB / 327.9 MB, free: 1.445 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.3604, allocations: 59.69 kB / 328 MB, free: 1.391 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.3604, allocations: 0 / 328 MB, free: 1.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004413/0.3608, allocations: 113.9 kB / 328.1 MB, free: 1.328 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.3609, allocations: 53.39 kB / 328.1 MB, free: 1.266 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.3611, allocations: 172.7 kB / 328.3 MB, free: 1.152 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.3611, allocations: 32.86 kB / 328.3 MB, free: 1.117 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.635e-05/0.3612, allocations: 105.8 kB / 328.4 MB, free: 1.016 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.3612, allocations: 13.03 kB / 328.4 MB, free: 1.008 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/0.3613, allocations: 1.75 kB / 328.4 MB, free: 1.008 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.639e-05/0.3613, allocations: 324 kB / 328.8 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.2e-05/0.3614, allocations: 19.38 kB / 328.8 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.774e-05/0.3615, allocations: 20.69 kB / 328.8 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.048e-05/0.3616, allocations: 46.47 kB / 328.8 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.3616, allocations: 1.312 kB / 328.8 MB, free: 0.6328 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002329/0.3618, allocations: 128.5 kB / 329 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.3619, allocations: 37.02 kB / 329 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.3619, allocations: 0 / 329 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.3619, allocations: 2.094 kB / 329 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.916e-05/0.362, allocations: 8.828 kB / 329 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.362, allocations: 0 / 329 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.085e-05/0.3621, allocations: 4.094 kB / 329 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.3621, allocations: 2.75 kB / 329 MB, free: 0.5039 MB / 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.522e-05/0.3622, allocations: 126.7 kB / 329.1 MB, free: 392 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.3623, allocations: 12 kB / 329.2 MB, free: 384 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.271e-05/0.3623, allocations: 13.62 kB / 329.2 MB, free: 376 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.3623, allocations: 7.219 kB / 329.2 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.3624, allocations: 0 / 329.2 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.3624, allocations: 0 / 329.2 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003787/0.3628, allocations: 339.4 kB / 329.5 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.105e-06/0.3628, allocations: 0.6094 kB / 329.5 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.3628, allocations: 5.562 kB / 329.5 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.3628, allocations: 1.453 kB / 329.5 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.3629, allocations: 10.86 kB / 329.5 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3629, allocations: 0 / 329.5 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.3629, allocations: 2.312 kB / 329.5 MB, free: 32 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.3631, allocations: 175.1 kB / 329.7 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.649e-05/0.3632, allocations: 84.56 kB / 329.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.3633, allocations: 13.97 kB / 329.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-05/0.3634, allocations: 2.203 kB / 329.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.3634, allocations: 6.016 kB / 329.8 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.3634, allocations: 6.906 kB / 329.8 MB, free: 15.76 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001738/0.3636, allocations: 137.8 kB / 329.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3636, allocations: 0 / 329.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003516/0.364, allocations: 24.27 kB / 330 MB, free: 15.67 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.001024/0.365, allocations: 344.3 kB / 330.3 MB, free: 15.47 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002719/0.3653, allocations: 105.5 kB / 330.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3653, allocations: 0 / 330.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.603e-05/0.3654, allocations: 16.42 kB / 330.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003209/0.3657, allocations: 17.69 kB / 330.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005907/0.3664, allocations: 202.2 kB / 330.6 MB, free: 15.22 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003454/0.3667, allocations: 0.7002 MB / 331.3 MB, free: 14.53 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.783e-05/0.3668, allocations: 12.23 kB / 331.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.146e-05/0.3669, allocations: 14.45 kB / 331.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of SimCode: time 3.407e-06/0.3669, allocations: 0 / 331.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of Templates: time 0.006431/0.3733, allocations: 1.409 MB / 332.8 MB, free: 14.33 MB / 282.7 MB