Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadModel(ModelicaTest): time 2.035/2.035, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.153e-05/3.152e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4316/0.4316, allocations: 48.71 MB / 324.9 MB, free: 2.895 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002361/0.434, allocations: 1.304 MB / 326.2 MB, free: 2.348 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009826/0.4351, allocations: 401.3 kB / 326.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.313e-05/0.4352, allocations: 1.25 kB / 326.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003608/0.4356, allocations: 86.75 kB / 326.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.4358, allocations: 61.05 kB / 326.7 MB, free: 2.121 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.4361, allocations: 52.52 kB / 326.8 MB, free: 2.102 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.4362, allocations: 44.55 kB / 326.8 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.364e-05/0.4363, allocations: 9.25 kB / 326.8 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.016e-05/0.4364, allocations: 30.14 kB / 326.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001294/0.4366, allocations: 45.5 kB / 326.9 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.4367, allocations: 30.64 kB / 326.9 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.4368, allocations: 4.062 kB / 326.9 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/0.4368, allocations: 24.48 kB / 326.9 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.042e-05/0.4369, allocations: 9.188 kB / 326.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002357/0.4371, allocations: 91.2 kB / 327 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.4371, allocations: 0 / 327 MB, free: 2.031 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4371, allocations: 1.125 kB / 327 MB, free: 2.031 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.4372, allocations: 0 / 327 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004814/0.4376, allocations: 419.5 kB / 327.4 MB, free: 1.605 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.4377, allocations: 9.188 kB / 327.5 MB, free: 1.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.4378, allocations: 17.59 kB / 327.5 MB, free: 1.594 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.438, allocations: 200.4 kB / 327.7 MB, free: 1.387 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.438, allocations: 6.016 kB / 327.7 MB, free: 1.383 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.4381, allocations: 8.203 kB / 327.7 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.4382, allocations: 49.66 kB / 327.7 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.4383, allocations: 1.125 kB / 327.7 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.4383, allocations: 0 / 327.7 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.4383, allocations: 1.156 kB / 327.7 MB, free: 1.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.658e-05/0.4384, allocations: 27.14 kB / 327.8 MB, free: 1.328 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004/0.4388, allocations: 302.9 kB / 328.1 MB, free: 1.035 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001219/0.4389, allocations: 43.05 kB / 328.1 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.219e-05/0.439, allocations: 2.406 kB / 328.1 MB, free: 1.004 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.4392, allocations: 66.58 kB / 328.2 MB, free: 0.9453 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.4392, allocations: 5.531 kB / 328.2 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005348/0.4397, allocations: 138 kB / 328.3 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.831e-05/0.4398, allocations: 52.16 kB / 328.4 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002737/0.44, allocations: 215.7 kB / 328.6 MB, free: 0.6758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.4401, allocations: 31.77 kB / 328.6 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.4402, allocations: 165.5 kB / 328.8 MB, free: 492 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.4402, allocations: 21.22 kB / 328.8 MB, free: 476 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.146e-06/0.4402, allocations: 5.281 kB / 328.8 MB, free: 472 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.566e-05/0.4403, allocations: 320.8 kB / 329.1 MB, free: 144 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.3e-05/0.4404, allocations: 23 kB / 329.1 MB, free: 136 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.96e-05/0.4404, allocations: 22.23 kB / 329.1 MB, free: 128 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001098/0.4406, allocations: 54.41 kB / 329.2 MB, free: 84 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.4406, allocations: 0 / 329.2 MB, free: 84 kB / 266.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003027/0.4409, allocations: 131.9 kB / 329.3 MB, free: 0 / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.285e-05/0.441, allocations: 40.44 kB / 329.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.441, allocations: 0.7969 kB / 329.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.441, allocations: 1.031 kB / 329.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.4411, allocations: 11.88 kB / 329.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.4412, allocations: 4 kB / 329.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.912e-05/0.4413, allocations: 3.25 kB / 329.4 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.789e-05/0.4413, allocations: 4.719 kB / 329.4 MB, free: 15.96 MB / 282.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 (8): * Single equations (assignments): 7 * 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.0001729/0.4415, allocations: 134.5 kB / 329.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.4415, allocations: 11.05 kB / 329.5 MB, free: 15.83 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.592e-05/0.4416, allocations: 17.98 kB / 329.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4416, allocations: 1.062 kB / 329.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.4416, allocations: 1.688 kB / 329.5 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.4417, allocations: 3.938 kB / 329.6 MB, free: 15.82 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005911/0.4423, allocations: 369.9 kB / 329.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4423, allocations: 1.031 kB / 329.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.605e-05/0.4424, allocations: 8.141 kB / 329.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.034e-05/0.4424, allocations: 7.422 kB / 329.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.4424, allocations: 2.125 kB / 329.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.4424, allocations: 1.5 kB / 329.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4424, allocations: 0.6562 kB / 329.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.4427, allocations: 192.4 kB / 330.1 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.4428, allocations: 93.59 kB / 330.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.4428, allocations: 3.266 kB / 330.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.443, allocations: 5.531 kB / 330.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.736e-05/0.443, allocations: 4.328 kB / 330.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.4431, allocations: 3.406 kB / 330.2 MB, free: 15.21 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002419/0.4433, allocations: 171.3 kB / 330.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4433, allocations: 0.8125 kB / 330.4 MB, free: 15.11 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000366/0.4437, allocations: 30 kB / 330.4 MB, free: 15.1 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 (6): * Single equations (assignments): 5 * 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.0009613/0.4447, allocations: 341.1 kB / 330.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002708/0.445, allocations: 115.4 kB / 330.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.445, allocations: 1.438 kB / 330.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.102e-05/0.445, allocations: 17.69 kB / 330.9 MB, free: 14.82 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.4454, allocations: 23.36 kB / 330.9 MB, free: 14.8 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006571/0.446, allocations: 286.7 kB / 331.2 MB, free: 14.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.4464, allocations: 0.7186 MB / 331.9 MB, free: 13.89 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/0.4465, allocations: 14.7 kB / 331.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of SimCode: time 8.02e-07/0.4465, allocations: 5.188 kB / 331.9 MB, free: 13.88 MB / 282.7 MB Notification: Performance of Templates: time 0.005498/0.452, allocations: 1.889 MB / 333.8 MB, free: 13.66 MB / 282.7 MB