Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadModel(ModelicaTest): time 1.923/1.923, allocations: 209.3 MB / 224.4 MB, free: 0.6641 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.212e-05, allocations: 4 kB / 276.1 MB, free: 15.88 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3481, allocations: 48.7 MB / 324.9 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002261/0.3504, allocations: 1.275 MB / 326.1 MB, free: 2.352 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009615/0.3514, allocations: 382 kB / 326.5 MB, free: 2.156 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.564e-05/0.3515, allocations: 4.25 kB / 326.5 MB, free: 2.156 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.3518, allocations: 42.45 kB / 326.5 MB, free: 2.152 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.352, allocations: 39.91 kB / 326.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.3523, allocations: 45.91 kB / 326.6 MB, free: 2.125 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.3524, allocations: 34.39 kB / 326.7 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.3525, allocations: 2.25 kB / 326.7 MB, free: 2.109 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.669e-05/0.3526, allocations: 20.17 kB / 326.7 MB, free: 2.105 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000103/0.3527, allocations: 34.84 kB / 326.7 MB, free: 2.094 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.3528, allocations: 20.89 kB / 326.7 MB, free: 2.09 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.3528, allocations: 7.469 kB / 326.7 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.592e-05/0.3529, allocations: 8.594 kB / 326.8 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.3529, allocations: 3.969 kB / 326.8 MB, free: 2.086 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.3532, allocations: 68.17 kB / 326.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3532, allocations: 1.344 kB / 326.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.3532, allocations: 0 / 326.8 MB, free: 2.074 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.32e-05/0.3532, allocations: 0 / 326.8 MB, free: 2.074 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004731/0.3537, allocations: 394.9 kB / 327.2 MB, free: 1.664 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3537, allocations: 9.219 kB / 327.2 MB, free: 1.664 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.3538, allocations: 3.188 kB / 327.2 MB, free: 1.664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.354, allocations: 202 kB / 327.4 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.3541, allocations: 1.375 kB / 327.4 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3541, allocations: 2.719 kB / 327.4 MB, free: 1.449 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.3542, allocations: 39.08 kB / 327.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3542, allocations: 0 / 327.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.3543, allocations: 0 / 327.5 MB, free: 1.414 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.3543, allocations: 5.281 kB / 327.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.811e-05/0.3543, allocations: 6.734 kB / 327.5 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000179/0.3545, allocations: 181.3 kB / 327.7 MB, free: 1.207 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.3547, allocations: 32.19 kB / 327.7 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.3547, allocations: 1.5 kB / 327.7 MB, free: 1.176 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.3549, allocations: 54.02 kB / 327.7 MB, free: 1.125 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.863e-06/0.3549, allocations: 4 kB / 327.7 MB, free: 1.121 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002343/0.3551, allocations: 61.56 kB / 327.8 MB, free: 1.082 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.3552, allocations: 56.44 kB / 327.9 MB, free: 1.016 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.3554, allocations: 164.2 kB / 328 MB, free: 0.9023 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.3554, allocations: 31.61 kB / 328 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.127e-05/0.3555, allocations: 155.6 kB / 328.2 MB, free: 0.7148 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.3555, allocations: 16.69 kB / 328.2 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-06/0.3555, allocations: 1.25 kB / 328.2 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.702e-05/0.3556, allocations: 315.5 kB / 328.5 MB, free: 396 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.979e-05/0.3556, allocations: 18.2 kB / 328.5 MB, free: 388 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.402e-05/0.3557, allocations: 16.73 kB / 328.6 MB, free: 380 kB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.629e-05/0.3558, allocations: 40.05 kB / 328.6 MB, free: 344 kB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3558, allocations: 0.9688 kB / 328.6 MB, free: 344 kB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001813/0.356, allocations: 101.9 kB / 328.7 MB, free: 260 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.356, allocations: 37.67 kB / 328.7 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.356, allocations: 1.078 kB / 328.7 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.3561, allocations: 1.281 kB / 328.7 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.095e-05/0.3562, allocations: 10.14 kB / 328.7 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.3562, allocations: 4.078 kB / 328.8 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.772e-05/0.3563, allocations: 5.125 kB / 328.8 MB, free: 220 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.3563, allocations: 6.703 kB / 328.8 MB, free: 216 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 (5): * Single equations (assignments): 4 * 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 8.88e-05/0.3564, allocations: 118.5 kB / 328.9 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.3564, allocations: 12.47 kB / 328.9 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.3565, allocations: 13.83 kB / 328.9 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3565, allocations: 0 / 328.9 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3565, allocations: 1.094 kB / 328.9 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3565, allocations: 0 / 328.9 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.3567, allocations: 177 kB / 329.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3567, allocations: 3.234 kB / 329.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.614e-05/0.3568, allocations: 3.281 kB / 329.1 MB, free: 15.88 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.3568, allocations: 3.953 kB / 329.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3568, allocations: 2.406 kB / 329.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3568, allocations: 0 / 329.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3568, allocations: 1.312 kB / 329.1 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001706/0.357, allocations: 84.69 kB / 329.2 MB, free: 15.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.3571, allocations: 89.19 kB / 329.3 MB, free: 15.69 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.3571, allocations: 9.953 kB / 329.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.862e-05/0.3572, allocations: 2.172 kB / 329.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.929e-05/0.3572, allocations: 2.641 kB / 329.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.3573, allocations: 6.594 kB / 329.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001429/0.3574, allocations: 130.5 kB / 329.4 MB, free: 15.59 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3574, allocations: 1.031 kB / 329.4 MB, free: 15.59 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002876/0.3577, allocations: 20.02 kB / 329.4 MB, free: 15.59 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 (3): * Single equations (assignments): 2 * 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.0008542/0.3586, allocations: 302.4 kB / 329.7 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.3588, allocations: 94.09 kB / 329.8 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.3588, allocations: 1.438 kB / 329.8 MB, free: 15.33 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.363e-05/0.3589, allocations: 11.34 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.3592, allocations: 14.56 kB / 329.8 MB, free: 15.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004971/0.3597, allocations: 205.6 kB / 330 MB, free: 15.14 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.36, allocations: 0.7029 MB / 330.7 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.3601, allocations: 16.25 kB / 330.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3601, allocations: 0 / 330.8 MB, free: 14.43 MB / 282.7 MB Notification: Performance of Templates: time 0.004721/0.3648, allocations: 1.449 MB / 332.2 MB, free: 14.28 MB / 282.7 MB