Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadModel(ModelicaTest): time 1.91/1.91, allocations: 209.3 MB / 224.4 MB, free: 0.6641 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.914e-05/3.923e-05, allocations: 6.5 kB / 276.1 MB, free: 15.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4396/0.4397, allocations: 48.7 MB / 324.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002413/0.4421, allocations: 1.305 MB / 326.2 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009619/0.4431, allocations: 403.5 kB / 326.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.544e-05/0.4433, allocations: 4.25 kB / 326.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002383/0.4435, allocations: 17.08 kB / 326.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001658/0.4437, allocations: 29.42 kB / 326.6 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002561/0.444, allocations: 50.73 kB / 326.7 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001378/0.4441, allocations: 39.05 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.257e-05/0.4442, allocations: 3.031 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.699e-05/0.4443, allocations: 28.64 kB / 326.7 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.387e-05/0.4444, allocations: 18.97 kB / 326.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001567/0.4446, allocations: 34.41 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.4446, allocations: 3.562 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.449e-05/0.4447, allocations: 13.97 kB / 326.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.689e-05/0.4447, allocations: 3.781 kB / 326.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.4449, allocations: 74.91 kB / 326.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.4449, allocations: 0 / 326.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.445, allocations: 0 / 326.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.445, allocations: 1.469 kB / 326.9 MB, free: 2.047 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.0004625/0.4455, allocations: 402.5 kB / 327.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4455, allocations: 9.062 kB / 327.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.819e-05/0.4456, allocations: 8.625 kB / 327.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002304/0.4458, allocations: 199.4 kB / 327.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.4458, allocations: 1.062 kB / 327.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.902e-05/0.4459, allocations: 2.531 kB / 327.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000136/0.446, allocations: 50.64 kB / 327.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4461, allocations: 1.031 kB / 327.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.4461, allocations: 0.9844 kB / 327.5 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.4461, allocations: 5.406 kB / 327.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.152e-05/0.4462, allocations: 7.922 kB / 327.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.4465, allocations: 282.9 kB / 327.8 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.4468, allocations: 47.55 kB / 327.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.4468, allocations: 1.156 kB / 327.9 MB, free: 1.043 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.447, allocations: 62.81 kB / 327.9 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.334e-06/0.447, allocations: 0 / 327.9 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000477/0.4475, allocations: 118.3 kB / 328 MB, free: 0.9219 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/0.4475, allocations: 53.16 kB / 328.1 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001908/0.4477, allocations: 156.6 kB / 328.2 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.4478, allocations: 27.05 kB / 328.3 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.335e-05/0.4478, allocations: 161.9 kB / 328.4 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.4479, allocations: 15.98 kB / 328.4 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.635e-06/0.4479, allocations: 8 kB / 328.5 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.682e-05/0.4479, allocations: 317.6 kB / 328.8 MB, free: 236 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.139e-05/0.448, allocations: 20.2 kB / 328.8 MB, free: 228 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.679e-05/0.4481, allocations: 19.92 kB / 328.8 MB, free: 220 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.014e-05/0.4482, allocations: 46.17 kB / 328.8 MB, free: 180 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4482, allocations: 0.9844 kB / 328.8 MB, free: 180 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002364/0.4485, allocations: 114 kB / 329 MB, free: 96 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/0.4485, allocations: 32.28 kB / 329 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.4485, allocations: 1.562 kB / 329 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.4486, allocations: 1.062 kB / 329 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.481e-05/0.4487, allocations: 16.66 kB / 329 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.4487, allocations: 1 kB / 329 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.931e-05/0.4488, allocations: 3.438 kB / 329 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.4488, allocations: 3.406 kB / 329 MB, free: 56 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 0.0001446/0.449, allocations: 127.5 kB / 329.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.735e-05/0.449, allocations: 8.578 kB / 329.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.841e-05/0.4491, allocations: 9.875 kB / 329.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.4491, allocations: 5.281 kB / 329.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.4491, allocations: 4 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.4491, allocations: 0.7031 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004845/0.4496, allocations: 348.8 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.4496, allocations: 1.938 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-05/0.4497, allocations: 6.609 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4497, allocations: 0 / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.4497, allocations: 3.031 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.4497, allocations: 1.312 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.4497, allocations: 0 / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.45, allocations: 175.2 kB / 329.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.197e-05/0.4501, allocations: 84.09 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.056e-05/0.4501, allocations: 2.125 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.4502, allocations: 7.875 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.101e-05/0.4503, allocations: 7.781 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.4503, allocations: 1.188 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.4505, allocations: 128.4 kB / 329.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.4505, allocations: 0 / 329.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003796/0.4509, allocations: 32.94 kB / 330 MB, free: 15.22 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.0009734/0.4518, allocations: 346 kB / 330.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002832/0.4522, allocations: 102.1 kB / 330.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.706e-05/0.4522, allocations: 1.031 kB / 330.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.088e-05/0.4523, allocations: 23.66 kB / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.4526, allocations: 14.67 kB / 330.4 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005635/0.4532, allocations: 223.1 kB / 330.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003115/0.4536, allocations: 0.7006 MB / 331.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.138e-05/0.4536, allocations: 18.67 kB / 331.4 MB, free: 14.03 MB / 282.7 MB Notification: Performance of SimCode: time 9.11e-07/0.4536, allocations: 0 / 331.4 MB, free: 14.03 MB / 282.7 MB Notification: Performance of Templates: time 0.006118/0.4598, allocations: 1.663 MB / 333 MB, free: 13.84 MB / 282.7 MB