Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadModel(ModelicaTest): time 1.967/1.967, allocations: 209.3 MB / 223.8 MB, free: 432 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.372e-05/3.375e-05, allocations: 4 kB / 276.2 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4021/0.4022, allocations: 48.69 MB / 324.9 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002179/0.4044, allocations: 1.275 MB / 326.2 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009226/0.4054, allocations: 377.3 kB / 326.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.526e-05/0.4055, allocations: 1.5 kB / 326.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.4058, allocations: 48.84 kB / 326.6 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001532/0.406, allocations: 37.78 kB / 326.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.4061, allocations: 45.98 kB / 326.7 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.4063, allocations: 32.52 kB / 326.7 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.847e-05/0.4063, allocations: 3.438 kB / 326.7 MB, free: 2.52 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.993e-05/0.4064, allocations: 29.84 kB / 326.7 MB, free: 2.508 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.709e-05/0.4065, allocations: 24.5 kB / 326.7 MB, free: 2.504 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.4067, allocations: 21.11 kB / 326.8 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.4067, allocations: 3.375 kB / 326.8 MB, free: 2.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.4068, allocations: 17.73 kB / 326.8 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.4068, allocations: 3.406 kB / 326.8 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.407, allocations: 74.56 kB / 326.9 MB, free: 2.473 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.407, allocations: 0 / 326.9 MB, free: 2.473 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.407, allocations: 0 / 326.9 MB, free: 2.473 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.407, allocations: 0 / 326.9 MB, free: 2.473 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004348/0.4075, allocations: 385 kB / 327.2 MB, free: 2.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/0.4075, allocations: 8.812 kB / 327.2 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.588e-05/0.4076, allocations: 4.906 kB / 327.2 MB, free: 2.07 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.4078, allocations: 203.1 kB / 327.4 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.4078, allocations: 0 / 327.4 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.4079, allocations: 1.844 kB / 327.4 MB, free: 1.855 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/0.408, allocations: 43.33 kB / 327.5 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.408, allocations: 1.562 kB / 327.5 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.408, allocations: 0 / 327.5 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.408, allocations: 0 / 327.5 MB, free: 1.816 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.232e-05/0.4081, allocations: 10.28 kB / 327.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001778/0.4083, allocations: 181.1 kB / 327.7 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.677e-05/0.4084, allocations: 30.66 kB / 327.7 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.4084, allocations: 2.922 kB / 327.7 MB, free: 1.578 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.4086, allocations: 55.06 kB / 327.8 MB, free: 1.527 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.743e-06/0.4086, allocations: 0 / 327.8 MB, free: 1.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002345/0.4088, allocations: 68.03 kB / 327.8 MB, free: 1.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.723e-05/0.4089, allocations: 53.08 kB / 327.9 MB, free: 1.418 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.4091, allocations: 165.7 kB / 328 MB, free: 1.305 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.4091, allocations: 25.7 kB / 328.1 MB, free: 1.273 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.4092, allocations: 98.45 kB / 328.2 MB, free: 1.18 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.538e-05/0.4092, allocations: 11.05 kB / 328.2 MB, free: 1.172 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.4092, allocations: 5.312 kB / 328.2 MB, free: 1.168 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.413e-05/0.4093, allocations: 319.8 kB / 328.5 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.103e-05/0.4094, allocations: 13.25 kB / 328.5 MB, free: 0.8477 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.545e-05/0.4094, allocations: 13.64 kB / 328.5 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.779e-05/0.4095, allocations: 48.36 kB / 328.6 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4095, allocations: 0 / 328.6 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002033/0.4097, allocations: 108.5 kB / 328.7 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.947e-05/0.4098, allocations: 34.73 kB / 328.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4098, allocations: 0 / 328.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4098, allocations: 0 / 328.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.164e-05/0.4099, allocations: 8.344 kB / 328.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.4099, allocations: 1.312 kB / 328.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.864e-05/0.41, allocations: 3.406 kB / 328.7 MB, free: 0.6836 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.41, allocations: 6.875 kB / 328.7 MB, free: 0.6836 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 (5): * Single equations (assignments): 4 * 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 8.923e-05/0.4101, allocations: 124.2 kB / 328.9 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.4101, allocations: 11.36 kB / 328.9 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.826e-05/0.4102, allocations: 13.27 kB / 328.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4102, allocations: 0 / 328.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4102, allocations: 1.281 kB / 328.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4102, allocations: 0.75 kB / 328.9 MB, free: 0.543 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.4104, allocations: 171.8 kB / 329 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4104, allocations: 0.75 kB / 329 MB, free: 356 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.466e-05/0.4104, allocations: 6.406 kB / 329.1 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4104, allocations: 3.953 kB / 329.1 MB, free: 348 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.4105, allocations: 9.891 kB / 329.1 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/0.4105, allocations: 1.125 kB / 329.1 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.4105, allocations: 0 / 329.1 MB, free: 340 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001428/0.4106, allocations: 82.55 kB / 329.1 MB, free: 264 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.668e-05/0.4107, allocations: 84.36 kB / 329.2 MB, free: 164 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.4107, allocations: 10.17 kB / 329.2 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.444e-05/0.4108, allocations: 1.844 kB / 329.2 MB, free: 156 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/0.4108, allocations: 7.438 kB / 329.2 MB, free: 152 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.4109, allocations: 2.188 kB / 329.3 MB, free: 152 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001248/0.411, allocations: 126.3 kB / 329.4 MB, free: 64 kB / 266.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.411, allocations: 3.938 kB / 329.4 MB, free: 60 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002798/0.4113, allocations: 24.39 kB / 329.4 MB, free: 52 kB / 266.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 (3): * Single equations (assignments): 2 * 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.0008662/0.4122, allocations: 314.7 kB / 329.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.4124, allocations: 94.75 kB / 329.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4124, allocations: 1.219 kB / 329.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.927e-05/0.4125, allocations: 11.52 kB / 329.8 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.4128, allocations: 15.25 kB / 329.8 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004954/0.4133, allocations: 172.2 kB / 330 MB, free: 15.64 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.4136, allocations: 0.7033 MB / 330.7 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.86e-05/0.4137, allocations: 7.531 kB / 330.7 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.4138, allocations: 13.53 kB / 330.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of SimCode: time 3.377e-06/0.4138, allocations: 0 / 330.7 MB, free: 14.93 MB / 282.7 MB Notification: Performance of Templates: time 0.005629/0.4194, allocations: 1.198 MB / 331.9 MB, free: 14.77 MB / 282.7 MB