Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,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.Test31") Notification: Performance of loadModel(ModelicaTest): time 1.91/1.91, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.985e-05/3.995e-05, allocations: 8 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4459/0.446, allocations: 48.69 MB / 324.9 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002263/0.4483, allocations: 1.307 MB / 326.2 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009191/0.4492, allocations: 400.2 kB / 326.5 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.009e-05/0.4493, allocations: 1.156 kB / 326.5 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002031/0.4495, allocations: 24.39 kB / 326.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.4497, allocations: 26.66 kB / 326.6 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001694/0.4499, allocations: 49.36 kB / 326.6 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.45, allocations: 41.94 kB / 326.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.327e-05/0.4501, allocations: 5.875 kB / 326.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.395e-05/0.4501, allocations: 17.98 kB / 326.7 MB, free: 2.066 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.905e-05/0.4502, allocations: 21.25 kB / 326.7 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.4504, allocations: 36.31 kB / 326.8 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.4504, allocations: 7.469 kB / 326.8 MB, free: 2.043 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.4504, allocations: 15.3 kB / 326.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.403e-05/0.4505, allocations: 4.594 kB / 326.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.4507, allocations: 73.88 kB / 326.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.4507, allocations: 0 / 326.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4507, allocations: 1.188 kB / 326.9 MB, free: 2.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.4507, allocations: 0 / 326.9 MB, free: 2.031 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.0004184/0.4512, allocations: 393.4 kB / 327.3 MB, free: 1.621 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.4512, allocations: 13.91 kB / 327.3 MB, free: 1.617 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.002e-05/0.4513, allocations: 12.27 kB / 327.3 MB, free: 1.609 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001984/0.4515, allocations: 201 kB / 327.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.4515, allocations: 1.438 kB / 327.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.602e-05/0.4515, allocations: 2.469 kB / 327.5 MB, free: 1.398 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.4517, allocations: 42.34 kB / 327.5 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.4517, allocations: 5.469 kB / 327.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4517, allocations: 0.875 kB / 327.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4517, allocations: 0 / 327.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.974e-05/0.4518, allocations: 15.45 kB / 327.5 MB, free: 1.355 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003225/0.4521, allocations: 287.7 kB / 327.8 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.4523, allocations: 38.53 kB / 327.9 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.4524, allocations: 5.25 kB / 327.9 MB, free: 1.031 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.4525, allocations: 56.06 kB / 327.9 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.833e-06/0.4525, allocations: 4 kB / 327.9 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004234/0.453, allocations: 114.8 kB / 328 MB, free: 0.9141 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.453, allocations: 52.62 kB / 328.1 MB, free: 0.8516 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.4532, allocations: 157.1 kB / 328.2 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.4532, allocations: 30.77 kB / 328.3 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.4533, allocations: 162.2 kB / 328.4 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.4533, allocations: 19.92 kB / 328.4 MB, free: 0.5391 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-06/0.4533, allocations: 5.219 kB / 328.5 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.53e-05/0.4534, allocations: 321 kB / 328.8 MB, free: 220 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.044e-05/0.4535, allocations: 19.53 kB / 328.8 MB, free: 212 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.374e-05/0.4535, allocations: 16.34 kB / 328.8 MB, free: 208 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.877e-05/0.4536, allocations: 51.3 kB / 328.9 MB, free: 164 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.4536, allocations: 0 / 328.9 MB, free: 164 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002175/0.4539, allocations: 115.3 kB / 329 MB, free: 80 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.4539, allocations: 37.69 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.4539, allocations: 1.219 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.454, allocations: 0 / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/0.454, allocations: 9.344 kB / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4541, allocations: 0 / 329 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.365e-05/0.4541, allocations: 11.61 kB / 329 MB, free: 40 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.4542, allocations: 2.969 kB / 329 MB, free: 40 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.0001366/0.4543, allocations: 125.1 kB / 329.1 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.4543, allocations: 7.562 kB / 329.2 MB, free: 15.91 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.101e-05/0.4544, allocations: 17.98 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.4544, allocations: 1.406 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4544, allocations: 0 / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.4544, allocations: 0.5156 kB / 329.2 MB, free: 15.9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.4549, allocations: 346.6 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.4549, allocations: 3.938 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.293e-05/0.455, allocations: 5.969 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.455, allocations: 1.031 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.455, allocations: 2.906 kB / 329.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.455, allocations: 3.938 kB / 329.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.455, allocations: 1.844 kB / 329.5 MB, free: 15.56 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.4552, allocations: 175.9 kB / 329.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.4553, allocations: 88.66 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.4553, allocations: 5.5 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.589e-05/0.4554, allocations: 2.641 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.4555, allocations: 3.953 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.4555, allocations: 3.25 kB / 329.8 MB, free: 15.3 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001488/0.4557, allocations: 131.2 kB / 329.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4557, allocations: 0 / 329.9 MB, free: 15.21 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003369/0.456, allocations: 23.72 kB / 330 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.0009861/0.457, allocations: 344.2 kB / 330.3 MB, free: 15 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002373/0.4573, allocations: 106.1 kB / 330.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.4573, allocations: 0 / 330.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.288e-05/0.4574, allocations: 16.48 kB / 330.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.4577, allocations: 10.92 kB / 330.4 MB, free: 14.92 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005407/0.4582, allocations: 230.1 kB / 330.6 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.4586, allocations: 0.6986 MB / 331.3 MB, free: 14.03 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.96e-05/0.4586, allocations: 13.61 kB / 331.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of SimCode: time 7.12e-07/0.4586, allocations: 4 kB / 331.4 MB, free: 14.02 MB / 282.7 MB Notification: Performance of Templates: time 0.005089/0.4637, allocations: 1.668 MB / 333 MB, free: 13.83 MB / 282.7 MB