Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadModel(ModelicaTest): time 2.009/2.009, allocations: 209.3 MB / 224.4 MB, free: 0.5234 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.11e-05/3.128e-05, allocations: 4 kB / 276.2 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.361, allocations: 48.7 MB / 324.9 MB, free: 2.879 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002424/0.3635, allocations: 1.355 MB / 326.2 MB, free: 2.293 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.365, allocations: 0.6334 MB / 326.8 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.732e-05/0.3651, allocations: 5.375 kB / 326.8 MB, free: 1.953 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000587/0.3657, allocations: 269 kB / 327.1 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003786/0.3661, allocations: 161.7 kB / 327.3 MB, free: 1.918 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.3665, allocations: 87.98 kB / 327.4 MB, free: 1.887 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002179/0.3667, allocations: 92.44 kB / 327.4 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.192e-05/0.3668, allocations: 1.094 kB / 327.4 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.3669, allocations: 76.38 kB / 327.5 MB, free: 1.832 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.3672, allocations: 121.8 kB / 327.6 MB, free: 1.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002339/0.3674, allocations: 61.19 kB / 327.7 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.829e-05/0.3675, allocations: 5.281 kB / 327.7 MB, free: 1.805 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001695/0.3677, allocations: 126.6 kB / 327.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.044e-05/0.3677, allocations: 12.22 kB / 327.8 MB, free: 1.773 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005227/0.3683, allocations: 280.5 kB / 328.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.3683, allocations: 0 / 328.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.3683, allocations: 0 / 328.1 MB, free: 1.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.3683, allocations: 0 / 328.1 MB, free: 1.73 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.0007354/0.3691, allocations: 0.6084 MB / 328.7 MB, free: 1.172 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.3691, allocations: 9.625 kB / 328.7 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.537e-05/0.3692, allocations: 39.69 kB / 328.8 MB, free: 1.152 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007202/0.37, allocations: 402.2 kB / 329.2 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.37, allocations: 10.64 kB / 329.2 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.37, allocations: 4.188 kB / 329.2 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.3702, allocations: 58.66 kB / 329.2 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.3702, allocations: 1.031 kB / 329.2 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.398e-05/0.3703, allocations: 0.6562 kB / 329.2 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.58e-06/0.3703, allocations: 1 kB / 329.2 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.226e-05/0.3704, allocations: 20.48 kB / 329.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005076/0.3709, allocations: 363.2 kB / 329.6 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.371, allocations: 58.92 kB / 329.7 MB, free: 500 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/0.3711, allocations: 4.688 kB / 329.7 MB, free: 496 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001937/0.3713, allocations: 88.97 kB / 329.8 MB, free: 420 kB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.695e-06/0.3713, allocations: 0 / 329.8 MB, free: 420 kB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004149/0.3717, allocations: 140.1 kB / 329.9 MB, free: 348 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.591e-05/0.3717, allocations: 81.81 kB / 330 MB, free: 248 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.3734, allocations: 0.9249 MB / 330.9 MB, free: 15.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.3734, allocations: 27.08 kB / 330.9 MB, free: 15.92 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.3737, allocations: 247.8 kB / 331.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.209e-05/0.3737, allocations: 21.67 kB / 331.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/0.3737, allocations: 5.312 kB / 331.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3739, allocations: 318.2 kB / 331.5 MB, free: 15.35 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.985e-05/0.374, allocations: 33.8 kB / 331.5 MB, free: 15.33 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.3741, allocations: 51.08 kB / 331.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.3743, allocations: 85.91 kB / 331.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3743, allocations: 0 / 331.7 MB, free: 15.22 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003817/0.3747, allocations: 171.8 kB / 331.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/0.3748, allocations: 68.34 kB / 331.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3748, allocations: 1.375 kB / 331.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3748, allocations: 6.484 kB / 331.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.375, allocations: 10.66 kB / 331.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.375, allocations: 0 / 331.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002061/0.3752, allocations: 16.19 kB / 331.9 MB, free: 15.02 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.295e-05/0.3752, allocations: 8.969 kB / 332 MB, free: 15.02 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.0003654/0.3756, allocations: 211.4 kB / 332.2 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.375e-05/0.3757, allocations: 47.61 kB / 332.2 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.3758, allocations: 54.73 kB / 332.3 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.3759, allocations: 1.312 kB / 332.3 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.3759, allocations: 1.031 kB / 332.3 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3759, allocations: 0.875 kB / 332.3 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.3763, allocations: 321.1 kB / 332.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3763, allocations: 0 / 332.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-05/0.3764, allocations: 9.016 kB / 332.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3764, allocations: 2.375 kB / 332.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.3765, allocations: 5.453 kB / 332.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3765, allocations: 2.344 kB / 332.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3765, allocations: 4 kB / 332.6 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.3768, allocations: 159.6 kB / 332.8 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001933/0.377, allocations: 138 kB / 332.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.757e-05/0.3771, allocations: 1.844 kB / 332.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.3772, allocations: 4.828 kB / 332.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.3773, allocations: 13.03 kB / 332.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.3773, allocations: 4.578 kB / 332.9 MB, free: 14.32 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001273/0.3786, allocations: 0.7234 MB / 333.6 MB, free: 14.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.424e-06/0.3786, allocations: 1.375 kB / 333.6 MB, free: 14.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004359/0.3791, allocations: 63.91 kB / 333.7 MB, free: 14.05 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.001272/0.3804, allocations: 442.9 kB / 334.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003576/0.3807, allocations: 180.1 kB / 334.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3808, allocations: 1.5 kB / 334.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.481e-05/0.3809, allocations: 22.69 kB / 334.3 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.0004621/0.3813, allocations: 42.59 kB / 334.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.3832, allocations: 0.8738 MB / 335.2 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/0.3838, allocations: 0.8351 MB / 336.1 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000137/0.384, allocations: 24.11 kB / 336.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of SimCode: time 1.163e-06/0.384, allocations: 0 / 336.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of Templates: time 0.01323/0.3972, allocations: 4.729 MB / 340.8 MB, free: 10.96 MB / 282.7 MB