Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,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.Test29") Notification: Performance of loadModel(ModelicaTest): time 1.982/1.982, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.286e-05/3.285e-05, allocations: 11.94 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3472, allocations: 48.7 MB / 324.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002454/0.3497, allocations: 1.312 MB / 326.2 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.3508, allocations: 399.1 kB / 326.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.988e-05/0.3509, allocations: 3.938 kB / 326.6 MB, free: 2.137 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000238/0.3511, allocations: 20.08 kB / 326.6 MB, free: 2.133 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.3513, allocations: 24.28 kB / 326.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.3515, allocations: 50.98 kB / 326.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000134/0.3517, allocations: 44.22 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.049e-05/0.3517, allocations: 3.016 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.164e-05/0.3518, allocations: 22.86 kB / 326.7 MB, free: 2.078 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.492e-05/0.3519, allocations: 22.53 kB / 326.7 MB, free: 2.07 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.3521, allocations: 34.23 kB / 326.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.3521, allocations: 6.656 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.115e-05/0.3522, allocations: 10.72 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.3522, allocations: 2.812 kB / 326.8 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.3524, allocations: 78.03 kB / 326.9 MB, free: 2.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3524, allocations: 3.938 kB / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3524, allocations: 0 / 326.9 MB, free: 2.043 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.3525, allocations: 0 / 326.9 MB, free: 2.043 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.0004686/0.3529, allocations: 395.7 kB / 327.3 MB, free: 1.633 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.353, allocations: 12.88 kB / 327.3 MB, free: 1.629 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.3531, allocations: 7.375 kB / 327.3 MB, free: 1.625 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.3533, allocations: 195.1 kB / 327.5 MB, free: 1.418 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.3533, allocations: 5.219 kB / 327.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.3533, allocations: 2.312 kB / 327.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.3535, allocations: 44.34 kB / 327.5 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3535, allocations: 3.938 kB / 327.5 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3535, allocations: 0 / 327.5 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.3535, allocations: 1.469 kB / 327.5 MB, free: 1.375 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.227e-05/0.3536, allocations: 18.02 kB / 327.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003968/0.354, allocations: 283 kB / 327.8 MB, free: 1.078 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.3543, allocations: 37.17 kB / 327.9 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.3543, allocations: 1.781 kB / 327.9 MB, free: 1.051 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.3545, allocations: 66.84 kB / 327.9 MB, free: 0.9922 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.3545, allocations: 9.188 kB / 327.9 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004689/0.355, allocations: 108.1 kB / 328 MB, free: 0.9258 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.826e-05/0.355, allocations: 56.69 kB / 328.1 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001921/0.3552, allocations: 157.1 kB / 328.2 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.3553, allocations: 26.83 kB / 328.3 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.478e-05/0.3553, allocations: 161.2 kB / 328.4 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.3554, allocations: 19.48 kB / 328.5 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.504e-06/0.3554, allocations: 1.25 kB / 328.5 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.054e-05/0.3554, allocations: 321.5 kB / 328.8 MB, free: 236 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.2e-05/0.3555, allocations: 20 kB / 328.8 MB, free: 228 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.676e-05/0.3556, allocations: 15.44 kB / 328.8 MB, free: 224 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.447e-05/0.3557, allocations: 52.03 kB / 328.9 MB, free: 180 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3557, allocations: 0 / 328.9 MB, free: 180 kB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002263/0.3559, allocations: 112.2 kB / 329 MB, free: 96 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.356, allocations: 34.05 kB / 329 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.356, allocations: 0 / 329 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.356, allocations: 1.406 kB / 329 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.989e-05/0.3561, allocations: 8.812 kB / 329 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.3561, allocations: 0.6562 kB / 329 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.272e-05/0.3562, allocations: 11.36 kB / 329 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.3562, allocations: 7.047 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.0001457/0.3564, allocations: 123.8 kB / 329.1 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.3564, allocations: 7.906 kB / 329.2 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.151e-05/0.3565, allocations: 14.25 kB / 329.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.3565, allocations: 1.781 kB / 329.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3565, allocations: 3.938 kB / 329.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.3565, allocations: 0.8438 kB / 329.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.3571, allocations: 344.9 kB / 329.5 MB, free: 15.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3571, allocations: 3.938 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.764e-05/0.3571, allocations: 8.094 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3571, allocations: 0 / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.3572, allocations: 3.031 kB / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3572, allocations: 0 / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3572, allocations: 0 / 329.5 MB, free: 15.58 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.3574, allocations: 180.2 kB / 329.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.3575, allocations: 89.73 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.972e-05/0.3575, allocations: 1.875 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/0.3576, allocations: 2.047 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.3577, allocations: 3.703 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.3577, allocations: 2.344 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000189/0.3579, allocations: 127.8 kB / 329.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3579, allocations: 0 / 329.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000348/0.3583, allocations: 28.58 kB / 329.9 MB, free: 15.23 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.0009539/0.3592, allocations: 348.4 kB / 330.3 MB, free: 15.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002636/0.3595, allocations: 112.2 kB / 330.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3595, allocations: 0 / 330.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.65e-05/0.3596, allocations: 11.23 kB / 330.4 MB, free: 14.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003012/0.3599, allocations: 15.22 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.0005516/0.3605, allocations: 225.6 kB / 330.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003231/0.3608, allocations: 0.7019 MB / 331.3 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.3609, allocations: 14.92 kB / 331.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of SimCode: time 8.22e-07/0.3609, allocations: 4 kB / 331.4 MB, free: 14.03 MB / 282.7 MB Notification: Performance of Templates: time 0.005409/0.3663, allocations: 1.671 MB / 333 MB, free: 13.84 MB / 282.7 MB