Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,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.Test40") Notification: Performance of loadModel(ModelicaTest): time 2.009/2.009, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.144e-05/4.125e-05, allocations: 4 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4304/0.4305, allocations: 48.69 MB / 324.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002276/0.4328, allocations: 1.304 MB / 326.2 MB, free: 2.758 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009302/0.4338, allocations: 404.2 kB / 326.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.4338, allocations: 1.031 kB / 326.6 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.4341, allocations: 64.66 kB / 326.6 MB, free: 2.543 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001571/0.4343, allocations: 49.52 kB / 326.7 MB, free: 2.531 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001734/0.4345, allocations: 49.66 kB / 326.7 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.4347, allocations: 43.83 kB / 326.8 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.419e-05/0.4347, allocations: 5.172 kB / 326.8 MB, free: 2.492 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.67e-05/0.4348, allocations: 27.02 kB / 326.8 MB, free: 2.484 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001189/0.435, allocations: 36.67 kB / 326.8 MB, free: 2.477 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.4351, allocations: 29.47 kB / 326.9 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.272e-05/0.4351, allocations: 3.719 kB / 326.9 MB, free: 2.473 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.51e-05/0.4352, allocations: 20.83 kB / 326.9 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.655e-05/0.4352, allocations: 4.156 kB / 326.9 MB, free: 2.465 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.4355, allocations: 82.66 kB / 327 MB, free: 2.449 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.4355, allocations: 4 kB / 327 MB, free: 2.445 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4355, allocations: 0 / 327 MB, free: 2.445 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.4355, allocations: 1.219 kB / 327 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.0004256/0.4359, allocations: 404.7 kB / 327.4 MB, free: 2.027 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.436, allocations: 9.125 kB / 327.4 MB, free: 2.027 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.436, allocations: 9.625 kB / 327.4 MB, free: 2.023 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.4363, allocations: 202.3 kB / 327.6 MB, free: 1.809 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.4363, allocations: 5.422 kB / 327.6 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.409e-05/0.4363, allocations: 2.125 kB / 327.6 MB, free: 1.805 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.4365, allocations: 46.84 kB / 327.7 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.4365, allocations: 2.797 kB / 327.7 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.4365, allocations: 0 / 327.7 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.4365, allocations: 1.25 kB / 327.7 MB, free: 1.766 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.727e-05/0.4366, allocations: 17.47 kB / 327.7 MB, free: 1.758 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.437, allocations: 281.4 kB / 328 MB, free: 1.473 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002166/0.4372, allocations: 46.41 kB / 328 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.4372, allocations: 1.156 kB / 328 MB, free: 1.438 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001376/0.4374, allocations: 62.98 kB / 328.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.683e-06/0.4374, allocations: 0 / 328.1 MB, free: 1.387 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004357/0.4378, allocations: 120.4 kB / 328.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.4379, allocations: 52.59 kB / 328.2 MB, free: 1.254 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.4381, allocations: 178.8 kB / 328.4 MB, free: 1.141 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.4381, allocations: 30.77 kB / 328.4 MB, free: 1.105 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.87e-05/0.4382, allocations: 100.8 kB / 328.5 MB, free: 1.012 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.4383, allocations: 17.66 kB / 328.5 MB, free: 1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.4383, allocations: 0 / 328.5 MB, free: 1 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.743e-05/0.4383, allocations: 326.8 kB / 328.9 MB, free: 0.6797 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.861e-05/0.4384, allocations: 18.73 kB / 328.9 MB, free: 0.6719 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.686e-05/0.4385, allocations: 23.61 kB / 328.9 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.741e-05/0.4386, allocations: 51.89 kB / 329 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.4386, allocations: 0 / 329 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002266/0.4388, allocations: 118.1 kB / 329.1 MB, free: 0.5312 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.522e-05/0.4389, allocations: 34.62 kB / 329.1 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4389, allocations: 0 / 329.1 MB, free: 0.5 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.4389, allocations: 5.906 kB / 329.1 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.381e-05/0.439, allocations: 8.234 kB / 329.1 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.4391, allocations: 0.9375 kB / 329.1 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.327e-05/0.4391, allocations: 6.922 kB / 329.1 MB, free: 0.4922 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.4391, allocations: 3.625 kB / 329.1 MB, free: 0.4922 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 0.0001037/0.4393, allocations: 126.8 kB / 329.3 MB, free: 380 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.427e-05/0.4393, allocations: 12.81 kB / 329.3 MB, free: 372 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.4394, allocations: 15.09 kB / 329.3 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.4394, allocations: 0.6562 kB / 329.3 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4394, allocations: 0.7188 kB / 329.3 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.4394, allocations: 0.6562 kB / 329.3 MB, free: 364 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003693/0.4398, allocations: 343.9 kB / 329.6 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.4398, allocations: 0.6094 kB / 329.6 MB, free: 28 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.372e-05/0.4399, allocations: 10.05 kB / 329.6 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.4399, allocations: 1.828 kB / 329.6 MB, free: 24 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.4399, allocations: 10.03 kB / 329.6 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4399, allocations: 0.75 kB / 329.6 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4399, allocations: 0 / 329.6 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.4402, allocations: 172.3 kB / 329.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.828e-05/0.4402, allocations: 85.59 kB / 329.9 MB, free: 15.77 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.493e-05/0.4403, allocations: 5.812 kB / 329.9 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.667e-05/0.4404, allocations: 6.094 kB / 329.9 MB, free: 15.76 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.098e-05/0.4404, allocations: 12.64 kB / 329.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.4405, allocations: 7.078 kB / 329.9 MB, free: 15.75 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001822/0.4407, allocations: 144.6 kB / 330.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4407, allocations: 0 / 330.1 MB, free: 15.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003459/0.441, allocations: 32.73 kB / 330.1 MB, free: 15.64 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.000995/0.442, allocations: 335 kB / 330.4 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002412/0.4423, allocations: 101.2 kB / 330.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4423, allocations: 1.312 kB / 330.5 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.587e-05/0.4424, allocations: 20.86 kB / 330.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003083/0.4427, allocations: 29.91 kB / 330.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005639/0.4433, allocations: 215.5 kB / 330.8 MB, free: 15.2 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.4437, allocations: 0.7056 MB / 331.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.736e-05/0.4437, allocations: 12.61 kB / 331.5 MB, free: 14.49 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.866e-05/0.4438, allocations: 14.33 kB / 331.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4438, allocations: 0.625 kB / 331.5 MB, free: 14.48 MB / 282.7 MB Notification: Performance of Templates: time 0.005948/0.4498, allocations: 1.413 MB / 332.9 MB, free: 14.3 MB / 282.7 MB