Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadModel(ModelicaTest): time 2.011/2.011, allocations: 209.3 MB / 224.4 MB, free: 0.5039 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.254e-05/4.264e-05, allocations: 8 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3545/0.3546, allocations: 48.69 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002387/0.3571, allocations: 1.353 MB / 326.2 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00145/0.3586, allocations: 0.6377 MB / 326.8 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.224e-05/0.3587, allocations: 5.344 kB / 326.8 MB, free: 1.961 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000608/0.3593, allocations: 274 kB / 327.1 MB, free: 1.949 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003826/0.3597, allocations: 165 kB / 327.3 MB, free: 1.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004176/0.3601, allocations: 93.53 kB / 327.4 MB, free: 1.895 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00022/0.3604, allocations: 92.67 kB / 327.5 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.202e-05/0.3604, allocations: 2.234 kB / 327.5 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001369/0.3606, allocations: 70.53 kB / 327.5 MB, free: 1.844 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.3609, allocations: 133 kB / 327.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002416/0.3611, allocations: 54.17 kB / 327.7 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.036e-05/0.3612, allocations: 6.25 kB / 327.7 MB, free: 1.816 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.3614, allocations: 132.6 kB / 327.8 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.718e-05/0.3615, allocations: 11.97 kB / 327.9 MB, free: 1.781 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.362, allocations: 288.1 kB / 328.1 MB, free: 1.734 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.362, allocations: 0 / 328.1 MB, free: 1.734 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.362, allocations: 0 / 328.1 MB, free: 1.734 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.299e-05/0.3621, allocations: 1.375 kB / 328.1 MB, free: 1.734 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.0007594/0.3628, allocations: 0.616 MB / 328.8 MB, free: 1.172 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.3629, allocations: 8.969 kB / 328.8 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.363, allocations: 43.84 kB / 328.8 MB, free: 1.148 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007204/0.3637, allocations: 398.1 kB / 329.2 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.3638, allocations: 5.141 kB / 329.2 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.3638, allocations: 8.266 kB / 329.2 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.364, allocations: 63.86 kB / 329.3 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.364, allocations: 1.469 kB / 329.3 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.364, allocations: 4.609 kB / 329.3 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.75e-06/0.3641, allocations: 1.344 kB / 329.3 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.203e-05/0.3641, allocations: 16.36 kB / 329.3 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005243/0.3647, allocations: 371.1 kB / 329.7 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.3648, allocations: 61.84 kB / 329.7 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.3649, allocations: 7.297 kB / 329.7 MB, free: 492 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.3651, allocations: 87.7 kB / 329.8 MB, free: 416 kB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.505e-06/0.3651, allocations: 0 / 329.8 MB, free: 416 kB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004446/0.3655, allocations: 139.3 kB / 329.9 MB, free: 344 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.757e-05/0.3656, allocations: 82.08 kB / 330 MB, free: 244 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.3674, allocations: 0.9531 MB / 331 MB, free: 15.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.3675, allocations: 27.45 kB / 331 MB, free: 15.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/0.3677, allocations: 254 kB / 331.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/0.3678, allocations: 9.234 kB / 331.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.451e-05/0.3678, allocations: 5.062 kB / 331.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.368, allocations: 314.3 kB / 331.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.3681, allocations: 34.27 kB / 331.6 MB, free: 15.35 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001258/0.3682, allocations: 44.53 kB / 331.7 MB, free: 15.32 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001499/0.3684, allocations: 96.97 kB / 331.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.3684, allocations: 0 / 331.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004278/0.3688, allocations: 177.9 kB / 331.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.462e-05/0.3689, allocations: 70.41 kB / 332 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3689, allocations: 0.7969 kB / 332 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.369, allocations: 0 / 332 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.3691, allocations: 11.59 kB / 332 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.3691, allocations: 1.938 kB / 332 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/0.3693, allocations: 15.22 kB / 332 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.201e-05/0.3694, allocations: 7.75 kB / 332 MB, free: 15.03 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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.0003678/0.3698, allocations: 226.4 kB / 332.2 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.3699, allocations: 47.75 kB / 332.3 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.37, allocations: 55.94 kB / 332.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.37, allocations: 1.438 kB / 332.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.37, allocations: 1.406 kB / 332.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3701, allocations: 0.6562 kB / 332.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004605/0.3705, allocations: 319.7 kB / 332.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3705, allocations: 0 / 332.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.3706, allocations: 5.625 kB / 332.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.3706, allocations: 5.375 kB / 332.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.731e-05/0.3707, allocations: 6.078 kB / 332.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.3707, allocations: 1.375 kB / 332.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.3707, allocations: 1.891 kB / 332.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003427/0.371, allocations: 163.4 kB / 332.8 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.3712, allocations: 139.2 kB / 333 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.109e-05/0.3713, allocations: 10.12 kB / 333 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.3715, allocations: 3.5 kB / 333 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.3715, allocations: 6.703 kB / 333 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-05/0.3716, allocations: 3.312 kB / 333 MB, free: 14.33 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00139/0.373, allocations: 0.7467 MB / 333.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.373, allocations: 1.625 kB / 333.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000482/0.3735, allocations: 61.28 kB / 333.8 MB, free: 14.06 MB / 282.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: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001305/0.3748, allocations: 443.2 kB / 334.2 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003897/0.3752, allocations: 185.7 kB / 334.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.3752, allocations: 0 / 334.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.053e-05/0.3753, allocations: 18.97 kB / 334.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.3758, allocations: 44.33 kB / 334.5 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.3778, allocations: 0.8962 MB / 335.4 MB, free: 13.17 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006449/0.3785, allocations: 0.8393 MB / 336.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001548/0.3787, allocations: 24.62 kB / 336.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3787, allocations: 4 kB / 336.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of Templates: time 0.01411/0.3928, allocations: 4.824 MB / 341.1 MB, free: 10.88 MB / 282.7 MB