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_cpp_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadModel(ModelicaTest): time 1.924/1.924, allocations: 209.2 MB / 224.4 MB, free: 0.8516 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.771e-05/3.762e-05, allocations: 15.88 kB / 276.2 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4115, allocations: 48.68 MB / 324.8 MB, free: 2.91 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002386/0.414, allocations: 1.308 MB / 326.2 MB, free: 2.367 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001001/0.415, allocations: 393.9 kB / 326.5 MB, free: 2.168 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.336e-05/0.4151, allocations: 5.281 kB / 326.5 MB, free: 2.164 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003351/0.4155, allocations: 65.83 kB / 326.6 MB, free: 2.156 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.4157, allocations: 47.91 kB / 326.7 MB, free: 2.145 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.416, allocations: 52.48 kB / 326.7 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.4161, allocations: 44.22 kB / 326.8 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.737e-05/0.4162, allocations: 5.984 kB / 326.8 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.914e-05/0.4163, allocations: 28.89 kB / 326.8 MB, free: 2.098 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.4164, allocations: 35.5 kB / 326.8 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.4166, allocations: 29.64 kB / 326.9 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.251e-05/0.4166, allocations: 3.125 kB / 326.9 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.89e-05/0.4167, allocations: 20.97 kB / 326.9 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.943e-05/0.4167, allocations: 7.688 kB / 326.9 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.4169, allocations: 81.52 kB / 327 MB, free: 2.059 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.417, allocations: 0 / 327 MB, free: 2.059 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.417, allocations: 1.219 kB / 327 MB, free: 2.059 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.417, allocations: 0 / 327 MB, free: 2.059 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.0004634/0.4175, allocations: 406.8 kB / 327.4 MB, free: 1.641 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4175, allocations: 10.72 kB / 327.4 MB, free: 1.641 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.709e-05/0.4176, allocations: 7.562 kB / 327.4 MB, free: 1.637 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002187/0.4178, allocations: 198.9 kB / 327.6 MB, free: 1.426 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.4178, allocations: 9.203 kB / 327.6 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.777e-05/0.4179, allocations: 2.375 kB / 327.6 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.418, allocations: 43.58 kB / 327.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.418, allocations: 0 / 327.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.4181, allocations: 2.125 kB / 327.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.4181, allocations: 0.7969 kB / 327.6 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.484e-05/0.4181, allocations: 17.64 kB / 327.6 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.4185, allocations: 285.3 kB / 327.9 MB, free: 1.086 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.4188, allocations: 38.23 kB / 328 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.295e-05/0.4188, allocations: 1.703 kB / 328 MB, free: 1.059 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.419, allocations: 63.86 kB / 328 MB, free: 1.004 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.044e-06/0.419, allocations: 0 / 328 MB, free: 1.004 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004778/0.4195, allocations: 124.5 kB / 328.1 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.4195, allocations: 57.56 kB / 328.2 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.4198, allocations: 177.4 kB / 328.4 MB, free: 0.75 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.4198, allocations: 30.8 kB / 328.4 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.4199, allocations: 165.4 kB / 328.6 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.932e-05/0.4199, allocations: 14.23 kB / 328.6 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-06/0.4199, allocations: 0 / 328.6 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.42, allocations: 321.2 kB / 328.9 MB, free: 232 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.19e-05/0.4201, allocations: 15.89 kB / 328.9 MB, free: 228 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.837e-05/0.4201, allocations: 19.91 kB / 328.9 MB, free: 220 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.232e-05/0.4202, allocations: 51.98 kB / 329 MB, free: 176 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4202, allocations: 0 / 329 MB, free: 176 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000233/0.4205, allocations: 116.5 kB / 329.1 MB, free: 88 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.4205, allocations: 33.97 kB / 329.1 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4205, allocations: 0 / 329.1 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.4206, allocations: 1.688 kB / 329.1 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.59e-05/0.4207, allocations: 9.156 kB / 329.1 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.4207, allocations: 0 / 329.1 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.4208, allocations: 3.688 kB / 329.1 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.503e-05/0.4208, allocations: 4.125 kB / 329.1 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.0001681/0.421, allocations: 138.7 kB / 329.3 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.421, allocations: 12.81 kB / 329.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.715e-05/0.4211, allocations: 15.62 kB / 329.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.4211, allocations: 0 / 329.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4211, allocations: 1.406 kB / 329.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.4211, allocations: 0.6562 kB / 329.3 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.4217, allocations: 343.3 kB / 329.6 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.4217, allocations: 4.656 kB / 329.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-05/0.4217, allocations: 10.86 kB / 329.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.4218, allocations: 0 / 329.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.4218, allocations: 2 kB / 329.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4218, allocations: 1.25 kB / 329.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4218, allocations: 4.641 kB / 329.7 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.4221, allocations: 168.3 kB / 329.8 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.561e-05/0.4221, allocations: 89.23 kB / 329.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.4222, allocations: 1.969 kB / 329.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.835e-05/0.4223, allocations: 6.078 kB / 329.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.4223, allocations: 3.125 kB / 329.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/0.4224, allocations: 3.594 kB / 329.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001958/0.4226, allocations: 153.7 kB / 330.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4226, allocations: 0 / 330.1 MB, free: 15.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003527/0.423, allocations: 27.89 kB / 330.1 MB, free: 15.21 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.0009687/0.424, allocations: 333.9 kB / 330.4 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002631/0.4242, allocations: 106.2 kB / 330.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4243, allocations: 0 / 330.5 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.082e-05/0.4243, allocations: 12.66 kB / 330.6 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.0003233/0.4247, allocations: 25.94 kB / 330.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006241/0.4253, allocations: 251.2 kB / 330.8 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.4257, allocations: 0.7021 MB / 331.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.937e-05/0.4258, allocations: 22.3 kB / 331.5 MB, free: 14.01 MB / 282.7 MB Notification: Performance of SimCode: time 1.262e-06/0.4258, allocations: 0 / 331.5 MB, free: 14.01 MB / 282.7 MB Notification: Performance of Templates: time 0.005431/0.4312, allocations: 1.712 MB / 333.3 MB, free: 13.82 MB / 282.7 MB