Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,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.Test72") Notification: Performance of loadModel(ModelicaTest): time 2.334/2.334, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.696e-05/6.705e-05, allocations: 8.047 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.366, allocations: 54.87 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002714/0.3688, allocations: 1.422 MB / 364.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002145/0.371, allocations: 0.857 MB / 365.1 MB, free: 10.2 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.3712, allocations: 5.219 kB / 365.1 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005912/0.3718, allocations: 275.2 kB / 365.4 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004163/0.3722, allocations: 171 kB / 365.6 MB, free: 9.98 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00038/0.3726, allocations: 86.05 kB / 365.7 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002787/0.3729, allocations: 108.9 kB / 365.8 MB, free: 9.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.052e-05/0.373, allocations: 1.25 kB / 365.8 MB, free: 9.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.3732, allocations: 96.45 kB / 365.9 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002978/0.3735, allocations: 142.7 kB / 366 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002312/0.3737, allocations: 47.7 kB / 366.1 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.217e-05/0.3738, allocations: 7.031 kB / 366.1 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.374, allocations: 138.4 kB / 366.2 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.435e-05/0.3741, allocations: 16.19 kB / 366.2 MB, free: 9.648 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005201/0.3746, allocations: 298.8 kB / 366.5 MB, free: 9.48 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3746, allocations: 0 / 366.5 MB, free: 9.48 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3746, allocations: 0 / 366.5 MB, free: 9.48 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.3746, allocations: 0 / 366.5 MB, free: 9.48 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.0009874/0.3756, allocations: 0.6918 MB / 367.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.3757, allocations: 8.969 kB / 367.2 MB, free: 8.801 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.3758, allocations: 49.42 kB / 367.3 MB, free: 8.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000845/0.3767, allocations: 415.1 kB / 367.7 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.3767, allocations: 2.844 kB / 367.7 MB, free: 8.445 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.3768, allocations: 10.47 kB / 367.7 MB, free: 8.441 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.3771, allocations: 87.39 kB / 367.8 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.3771, allocations: 0.9688 kB / 367.8 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.3771, allocations: 0 / 367.8 MB, free: 8.363 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3771, allocations: 5.203 kB / 367.8 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.3773, allocations: 28.83 kB / 367.8 MB, free: 8.348 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006466/0.378, allocations: 400.6 kB / 368.2 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.3785, allocations: 107.7 kB / 368.3 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.3785, allocations: 0.9062 kB / 368.3 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003476/0.3789, allocations: 120 kB / 368.4 MB, free: 7.816 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 2.514e-06/0.3789, allocations: 4 kB / 368.4 MB, free: 7.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0008203/0.3797, allocations: 203.8 kB / 368.6 MB, free: 7.699 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/0.3798, allocations: 82.38 kB / 368.7 MB, free: 7.602 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/0.3816, allocations: 0.9599 MB / 369.6 MB, free: 6.809 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.169e-05/0.3817, allocations: 29.7 kB / 369.7 MB, free: 6.773 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.382, allocations: 258.8 kB / 369.9 MB, free: 6.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.832e-05/0.3821, allocations: 35.58 kB / 370 MB, free: 6.484 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.3821, allocations: 0 / 370 MB, free: 6.484 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3822, allocations: 322.8 kB / 370.3 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/0.3825, allocations: 47.97 kB / 370.3 MB, free: 6.113 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.3827, allocations: 79.34 kB / 370.4 MB, free: 6.023 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002692/0.383, allocations: 111.4 kB / 370.5 MB, free: 5.902 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.383, allocations: 0 / 370.5 MB, free: 5.902 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006676/0.3837, allocations: 240.8 kB / 370.7 MB, free: 5.648 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.325e-05/0.3838, allocations: 67.39 kB / 370.8 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.3838, allocations: 0 / 370.8 MB, free: 5.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.322e-05/0.3839, allocations: 4 kB / 370.8 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.3841, allocations: 23.92 kB / 370.8 MB, free: 5.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.3841, allocations: 4 kB / 370.8 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/0.3844, allocations: 31.67 kB / 370.9 MB, free: 5.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.3845, allocations: 8 kB / 370.9 MB, free: 5.5 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.0004105/0.3849, allocations: 225.8 kB / 371.1 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.561e-05/0.385, allocations: 47.34 kB / 371.2 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001257/0.3851, allocations: 60 kB / 371.2 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.3851, allocations: 0 / 371.2 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3852, allocations: 0 / 371.2 MB, free: 5.164 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.3852, allocations: 4 kB / 371.2 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.3857, allocations: 341.4 kB / 371.5 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.3857, allocations: 0 / 371.5 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.134e-05/0.3858, allocations: 11.94 kB / 371.6 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.3858, allocations: 4 kB / 371.6 MB, free: 4.762 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.3858, allocations: 4 kB / 371.6 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.3858, allocations: 0 / 371.6 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3858, allocations: 0 / 371.6 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00059/0.3864, allocations: 223.5 kB / 371.8 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002332/0.3867, allocations: 144.5 kB / 371.9 MB, free: 4.352 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.482e-05/0.3868, allocations: 8 kB / 371.9 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/0.387, allocations: 11.98 kB / 371.9 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.585e-05/0.387, allocations: 4 kB / 372 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.3871, allocations: 11.98 kB / 372 MB, free: 4.316 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001324/0.3884, allocations: 0.7604 MB / 372.7 MB, free: 3.559 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.535e-06/0.3884, allocations: 0 / 372.7 MB, free: 3.559 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004557/0.3889, allocations: 63.92 kB / 372.8 MB, free: 3.496 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.001618/0.3905, allocations: 0.5128 MB / 373.3 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006903/0.3912, allocations: 266.6 kB / 373.6 MB, free: 2.785 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3913, allocations: 0 / 373.6 MB, free: 2.785 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.3914, allocations: 40.11 kB / 373.6 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005629/0.392, allocations: 54.22 kB / 373.6 MB, free: 2.695 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.394, allocations: 0.9537 MB / 374.6 MB, free: 1.707 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006209/0.3947, allocations: 0.8468 MB / 375.5 MB, free: 0.832 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001453/0.3949, allocations: 31.44 kB / 375.5 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of SimCode: time 1.212e-06/0.3949, allocations: 0 / 375.5 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of Templates: time 0.01389/0.4088, allocations: 5.183 MB / 380.7 MB, free: 11.61 MB / 314.7 MB