Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,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.Test32") Notification: Performance of loadModel(ModelicaTest): time 1.918/1.918, allocations: 209.3 MB / 223.8 MB, free: 448 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.266e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3576, allocations: 48.7 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.0023/0.3599, allocations: 1.303 MB / 326.2 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000965/0.361, allocations: 397.9 kB / 326.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.064e-05/0.361, allocations: 1.125 kB / 326.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.3613, allocations: 22.02 kB / 326.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.3615, allocations: 22.09 kB / 326.6 MB, free: 2.539 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.3617, allocations: 53.17 kB / 326.7 MB, free: 2.516 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001641/0.3619, allocations: 39.41 kB / 326.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.52e-05/0.362, allocations: 5.359 kB / 326.7 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.42e-05/0.3621, allocations: 27.62 kB / 326.7 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.298e-05/0.3621, allocations: 16.33 kB / 326.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001304/0.3623, allocations: 29.88 kB / 326.8 MB, free: 2.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.3623, allocations: 6.562 kB / 326.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.525e-05/0.3624, allocations: 18.92 kB / 326.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.752e-05/0.3624, allocations: 3.312 kB / 326.8 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.3626, allocations: 80.08 kB / 326.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.3627, allocations: 1.188 kB / 326.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.165e-06/0.3627, allocations: 0 / 326.9 MB, free: 2.453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.3627, allocations: 0 / 326.9 MB, free: 2.453 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.0004534/0.3631, allocations: 398.3 kB / 327.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3632, allocations: 10.25 kB / 327.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.216e-05/0.3633, allocations: 11.48 kB / 327.3 MB, free: 2.031 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.3635, allocations: 192 kB / 327.5 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.704e-05/0.3635, allocations: 2.297 kB / 327.5 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.3635, allocations: 2.469 kB / 327.5 MB, free: 1.824 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.3637, allocations: 47.47 kB / 327.5 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3637, allocations: 0 / 327.5 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.3637, allocations: 0 / 327.5 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.3637, allocations: 0.5938 kB / 327.5 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.84e-05/0.3638, allocations: 19.27 kB / 327.6 MB, free: 1.777 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.3642, allocations: 283.4 kB / 327.8 MB, free: 1.488 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002242/0.3644, allocations: 46.67 kB / 327.9 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.3645, allocations: 1.406 kB / 327.9 MB, free: 1.453 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.3646, allocations: 55.38 kB / 327.9 MB, free: 1.402 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.124e-06/0.3646, allocations: 1.281 kB / 327.9 MB, free: 1.402 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004595/0.3651, allocations: 119 kB / 328.1 MB, free: 1.332 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.3652, allocations: 52.91 kB / 328.1 MB, free: 1.27 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001941/0.3654, allocations: 156.6 kB / 328.3 MB, free: 1.164 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.3654, allocations: 31.14 kB / 328.3 MB, free: 1.129 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.3655, allocations: 95.19 kB / 328.4 MB, free: 1.039 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.3655, allocations: 19.58 kB / 328.4 MB, free: 1.023 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-06/0.3655, allocations: 0 / 328.4 MB, free: 1.023 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.3656, allocations: 325.7 kB / 328.7 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.189e-05/0.3657, allocations: 18.53 kB / 328.7 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.73e-05/0.3657, allocations: 23.17 kB / 328.8 MB, free: 0.6875 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.574e-05/0.3658, allocations: 49.23 kB / 328.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3659, allocations: 0.7031 kB / 328.8 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002355/0.3661, allocations: 114.1 kB / 328.9 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.3662, allocations: 38.16 kB / 329 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.3662, allocations: 0 / 329 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/0.3662, allocations: 1.875 kB / 329 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.044e-05/0.3663, allocations: 15.53 kB / 329 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.3663, allocations: 0 / 329 MB, free: 0.5234 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.014e-05/0.3664, allocations: 6.766 kB / 329 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.3664, allocations: 4.062 kB / 329 MB, free: 0.5195 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.896e-05/0.3665, allocations: 128.6 kB / 329.1 MB, free: 408 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.419e-05/0.3666, allocations: 8.594 kB / 329.1 MB, free: 404 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.892e-05/0.3666, allocations: 13.8 kB / 329.1 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.3666, allocations: 0.5625 kB / 329.1 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3667, allocations: 1.281 kB / 329.1 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3667, allocations: 0.7031 kB / 329.1 MB, free: 396 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003847/0.3671, allocations: 345.7 kB / 329.5 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.095e-06/0.3671, allocations: 4.5 kB / 329.5 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.282e-05/0.3671, allocations: 4.922 kB / 329.5 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.3671, allocations: 1.281 kB / 329.5 MB, free: 52 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.3672, allocations: 7.047 kB / 329.5 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3672, allocations: 0.5156 kB / 329.5 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3672, allocations: 1.906 kB / 329.5 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.3674, allocations: 174 kB / 329.7 MB, free: 15.89 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.574e-05/0.3675, allocations: 88.89 kB / 329.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.99e-05/0.3676, allocations: 2.016 kB / 329.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.682e-05/0.3677, allocations: 2.5 kB / 329.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.437e-05/0.3677, allocations: 7.375 kB / 329.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.3677, allocations: 2.547 kB / 329.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001541/0.3679, allocations: 127.8 kB / 329.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.444e-06/0.3679, allocations: 0 / 329.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003536/0.3683, allocations: 36.89 kB / 329.9 MB, free: 15.69 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.0009853/0.3693, allocations: 342.9 kB / 330.3 MB, free: 15.49 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002724/0.3696, allocations: 102.9 kB / 330.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3696, allocations: 0 / 330.4 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.044e-05/0.3697, allocations: 19.88 kB / 330.4 MB, free: 15.4 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.37, allocations: 19.25 kB / 330.4 MB, free: 15.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/0.3706, allocations: 193.6 kB / 330.6 MB, free: 15.24 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.371, allocations: 0.698 MB / 331.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.104e-05/0.3711, allocations: 17.44 kB / 331.3 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.974e-05/0.3712, allocations: 18.16 kB / 331.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of SimCode: time 7.21e-07/0.3712, allocations: 0 / 331.3 MB, free: 14.52 MB / 282.7 MB Notification: Performance of Templates: time 0.00627/0.3775, allocations: 1.402 MB / 332.7 MB, free: 14.34 MB / 282.7 MB