Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.nextTimeEvent|startTime_0.y.1.|startTime.nextTimeEvent|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test71") Notification: Performance of loadModel(ModelicaTest): time 2.546/2.546, allocations: 234.9 MB / 250.1 MB, free: 10.92 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.631e-05/3.626e-05, allocations: 8 kB / 308 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3446, allocations: 54.86 MB / 362.9 MB, free: 11.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.002525/0.3472, allocations: 1.431 MB / 364.3 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.3492, allocations: 0.8511 MB / 365.1 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.3494, allocations: 0 / 365.1 MB, free: 9.605 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006067/0.35, allocations: 283.4 kB / 365.4 MB, free: 9.328 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003822/0.3504, allocations: 163.6 kB / 365.6 MB, free: 9.168 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.3508, allocations: 87.69 kB / 365.7 MB, free: 9.082 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002581/0.3511, allocations: 115.7 kB / 365.8 MB, free: 8.969 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.186e-05/0.3511, allocations: 8 kB / 365.8 MB, free: 8.961 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.3513, allocations: 87.81 kB / 365.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.3516, allocations: 139.7 kB / 366 MB, free: 8.738 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002034/0.3518, allocations: 51.92 kB / 366.1 MB, free: 8.688 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.201e-05/0.3519, allocations: 7.938 kB / 366.1 MB, free: 8.68 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.3521, allocations: 135.6 kB / 366.2 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.387e-05/0.3522, allocations: 16 kB / 366.2 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005043/0.3527, allocations: 297.3 kB / 366.5 MB, free: 8.242 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.3527, allocations: 0 / 366.5 MB, free: 8.242 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3527, allocations: 0 / 366.5 MB, free: 8.242 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.3527, allocations: 0 / 366.5 MB, free: 8.242 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009823/0.3537, allocations: 0.6923 MB / 367.2 MB, free: 7.477 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/0.3538, allocations: 8.031 kB / 367.2 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.3539, allocations: 47.44 kB / 367.3 MB, free: 7.422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008251/0.3547, allocations: 415.2 kB / 367.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.922e-05/0.3548, allocations: 8 kB / 367.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.088e-05/0.3548, allocations: 4 kB / 367.7 MB, free: 6.965 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.3551, allocations: 91.34 kB / 367.8 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3552, allocations: 3.938 kB / 367.8 MB, free: 6.859 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.3552, allocations: 4 kB / 367.8 MB, free: 6.855 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.3552, allocations: 3.953 kB / 367.8 MB, free: 6.852 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.3554, allocations: 27.98 kB / 367.8 MB, free: 6.824 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006157/0.356, allocations: 398.2 kB / 368.2 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004349/0.3565, allocations: 117.2 kB / 368.3 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.944e-05/0.3565, allocations: 0 / 368.3 MB, free: 6.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003138/0.3568, allocations: 105.1 kB / 368.4 MB, free: 6.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.964e-06/0.3569, allocations: 4 kB / 368.4 MB, free: 6.125 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007639/0.3576, allocations: 208.9 kB / 368.6 MB, free: 5.914 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.3577, allocations: 81.06 kB / 368.7 MB, free: 5.816 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.3594, allocations: 0.9551 MB / 369.6 MB, free: 4.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/0.3595, allocations: 33.7 kB / 369.7 MB, free: 4.812 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002335/0.3597, allocations: 262.7 kB / 369.9 MB, free: 4.555 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.589e-05/0.3598, allocations: 27.64 kB / 370 MB, free: 4.527 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.72e-05/0.3598, allocations: 4 kB / 370 MB, free: 4.523 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3599, allocations: 322.8 kB / 370.3 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.3602, allocations: 47.97 kB / 370.3 MB, free: 4.152 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002159/0.3604, allocations: 71.41 kB / 370.4 MB, free: 4.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.3607, allocations: 119.3 kB / 370.5 MB, free: 3.941 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.3607, allocations: 4 kB / 370.5 MB, free: 3.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006512/0.3614, allocations: 240.8 kB / 370.8 MB, free: 3.684 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.666e-05/0.3614, allocations: 70.36 kB / 370.8 MB, free: 3.605 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.3615, allocations: 0 / 370.8 MB, free: 3.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.3615, allocations: 4 kB / 370.8 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.3617, allocations: 19.98 kB / 370.8 MB, free: 3.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.3617, allocations: 7.984 kB / 370.9 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/0.362, allocations: 27.73 kB / 370.9 MB, free: 3.547 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.029e-05/0.362, allocations: 16.05 kB / 370.9 MB, free: 3.531 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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.0003571/0.3624, allocations: 221.7 kB / 371.1 MB, free: 3.305 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.61e-05/0.3625, allocations: 47.34 kB / 371.2 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001346/0.3626, allocations: 60 kB / 371.2 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.3626, allocations: 0 / 371.2 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.3627, allocations: 0 / 371.2 MB, free: 3.199 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.3627, allocations: 7.984 kB / 371.2 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.3631, allocations: 333.4 kB / 371.5 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3631, allocations: 0 / 371.5 MB, free: 2.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.383e-05/0.3632, allocations: 12 kB / 371.6 MB, free: 2.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.3632, allocations: 4 kB / 371.6 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.3633, allocations: 4 kB / 371.6 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.3633, allocations: 0.625 kB / 371.6 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3633, allocations: 0 / 371.6 MB, free: 2.797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005477/0.3638, allocations: 222.8 kB / 371.8 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.3641, allocations: 152.5 kB / 371.9 MB, free: 2.383 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.357e-05/0.3642, allocations: 4 kB / 371.9 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.3643, allocations: 7.984 kB / 371.9 MB, free: 2.371 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.3644, allocations: 8 kB / 372 MB, free: 2.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.899e-05/0.3644, allocations: 11.92 kB / 372 MB, free: 2.352 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001297/0.3657, allocations: 0.7604 MB / 372.7 MB, free: 1.594 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3658, allocations: 3.938 kB / 372.7 MB, free: 1.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004507/0.3662, allocations: 59.98 kB / 372.8 MB, free: 1.531 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00154/0.3678, allocations: 0.5138 MB / 373.3 MB, free: 1.086 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006861/0.3685, allocations: 258.7 kB / 373.6 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3685, allocations: 4.125 kB / 373.6 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001874/0.3687, allocations: 43.91 kB / 373.6 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005582/0.3693, allocations: 54.22 kB / 373.7 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00195/0.3713, allocations: 0.9421 MB / 374.6 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006021/0.3719, allocations: 0.8507 MB / 375.4 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.372, allocations: 27.44 kB / 375.5 MB, free: 14.83 MB / 314.7 MB Notification: Performance of SimCode: time 1.142e-06/0.372, allocations: 0 / 375.5 MB, free: 14.83 MB / 314.7 MB Notification: Performance of Templates: time 0.01342/0.3855, allocations: 5.202 MB / 380.7 MB, free: 9.621 MB / 314.7 MB