Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadModel(ModelicaTest): time 2.059/2.059, allocations: 209.3 MB / 224.4 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.207e-05/4.193e-05, allocations: 4 kB / 276.2 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3918/0.3919, allocations: 48.7 MB / 324.9 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.002358/0.3943, allocations: 1.349 MB / 326.2 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001443/0.3958, allocations: 0.6424 MB / 326.8 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.476e-05/0.3959, allocations: 5.25 kB / 326.8 MB, free: 1.965 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005961/0.3965, allocations: 266 kB / 327.1 MB, free: 1.953 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003711/0.3969, allocations: 161.9 kB / 327.3 MB, free: 1.934 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000437/0.3974, allocations: 87.69 kB / 327.4 MB, free: 1.902 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002527/0.3977, allocations: 96.56 kB / 327.4 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.56e-05/0.3977, allocations: 1.594 kB / 327.4 MB, free: 1.863 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.3979, allocations: 67.17 kB / 327.5 MB, free: 1.852 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002729/0.3981, allocations: 130 kB / 327.6 MB, free: 1.832 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000263/0.3984, allocations: 56 kB / 327.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.798e-05/0.3985, allocations: 9.219 kB / 327.7 MB, free: 1.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.3987, allocations: 128.3 kB / 327.8 MB, free: 1.785 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.731e-05/0.3987, allocations: 13.22 kB / 327.8 MB, free: 1.785 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005295/0.3993, allocations: 276.2 kB / 328.1 MB, free: 1.742 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.3993, allocations: 0 / 328.1 MB, free: 1.742 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3993, allocations: 2 kB / 328.1 MB, free: 1.742 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.3993, allocations: 0 / 328.1 MB, free: 1.742 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.0007372/0.4001, allocations: 0.6131 MB / 328.7 MB, free: 1.18 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.4001, allocations: 10.78 kB / 328.7 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.616e-05/0.4002, allocations: 38.19 kB / 328.8 MB, free: 1.16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007001/0.401, allocations: 394.8 kB / 329.2 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.401, allocations: 6.641 kB / 329.2 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.401, allocations: 8.438 kB / 329.2 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001589/0.4012, allocations: 62.42 kB / 329.2 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4012, allocations: 0 / 329.2 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/0.4012, allocations: 1.094 kB / 329.2 MB, free: 0.8203 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.4013, allocations: 4.562 kB / 329.2 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.177e-05/0.4014, allocations: 17.33 kB / 329.3 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005181/0.4019, allocations: 358.8 kB / 329.6 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.402, allocations: 57.86 kB / 329.7 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.402, allocations: 2.516 kB / 329.7 MB, free: 0.5039 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.4023, allocations: 94.98 kB / 329.8 MB, free: 432 kB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.963e-06/0.4023, allocations: 1.344 kB / 329.8 MB, free: 432 kB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004367/0.4027, allocations: 131.6 kB / 329.9 MB, free: 364 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.4028, allocations: 83.16 kB / 330 MB, free: 264 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.4044, allocations: 0.9245 MB / 330.9 MB, free: 15.95 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.739e-05/0.4045, allocations: 33.91 kB / 330.9 MB, free: 15.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.4047, allocations: 247 kB / 331.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.4048, allocations: 17.03 kB / 331.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.06e-05/0.4048, allocations: 2.125 kB / 331.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4049, allocations: 313.8 kB / 331.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.4051, allocations: 34.86 kB / 331.5 MB, free: 15.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.4052, allocations: 51.5 kB / 331.6 MB, free: 15.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.4054, allocations: 84.23 kB / 331.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.4054, allocations: 4 kB / 331.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004285/0.4058, allocations: 174.4 kB / 331.8 MB, free: 15.1 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.87e-05/0.4059, allocations: 69.41 kB / 331.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.4059, allocations: 1.156 kB / 331.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.4059, allocations: 1.531 kB / 331.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000127/0.4061, allocations: 10.58 kB / 331.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.4061, allocations: 2.125 kB / 331.9 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002344/0.4063, allocations: 14.16 kB / 331.9 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.4064, allocations: 12.86 kB / 331.9 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.0003905/0.4068, allocations: 226.8 kB / 332.2 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.941e-05/0.4069, allocations: 47.62 kB / 332.2 MB, free: 14.85 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001159/0.407, allocations: 51.36 kB / 332.3 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.407, allocations: 1.219 kB / 332.3 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.413e-06/0.4071, allocations: 0 / 332.3 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.4071, allocations: 1.828 kB / 332.3 MB, free: 14.83 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.4075, allocations: 315.4 kB / 332.6 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4075, allocations: 1.375 kB / 332.6 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.017e-05/0.4076, allocations: 5.812 kB / 332.6 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.4076, allocations: 1.375 kB / 332.6 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.908e-05/0.4077, allocations: 10.22 kB / 332.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.4077, allocations: 1.375 kB / 332.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.4077, allocations: 0 / 332.6 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003522/0.408, allocations: 163.5 kB / 332.8 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.4082, allocations: 137.5 kB / 332.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.4083, allocations: 2.125 kB / 332.9 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.4085, allocations: 9.25 kB / 332.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.885e-05/0.4085, allocations: 9.422 kB / 332.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.4086, allocations: 3.312 kB / 332.9 MB, free: 14.33 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001328/0.4099, allocations: 0.7242 MB / 333.6 MB, free: 14.08 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.4099, allocations: 0 / 333.6 MB, free: 14.08 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004911/0.4104, allocations: 61.05 kB / 333.7 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.001289/0.4117, allocations: 442.8 kB / 334.1 MB, free: 13.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003955/0.4122, allocations: 188.8 kB / 334.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.4122, allocations: 0 / 334.3 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.298e-05/0.4123, allocations: 19.45 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.0005286/0.4128, allocations: 44.05 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.001919/0.4147, allocations: 0.8776 MB / 335.3 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/0.4154, allocations: 0.8349 MB / 336.1 MB, free: 12.47 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.4156, allocations: 23.39 kB / 336.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of SimCode: time 1.223e-06/0.4156, allocations: 0 / 336.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of Templates: time 0.01384/0.4294, allocations: 4.719 MB / 340.8 MB, free: 10.98 MB / 282.7 MB