Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadModel(ModelicaTest): time 2.049/2.049, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.431e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3601, allocations: 48.7 MB / 324.9 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003145/0.3634, allocations: 1.353 MB / 326.2 MB, free: 2.297 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.3653, allocations: 0.6376 MB / 326.8 MB, free: 1.957 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001003/0.3654, allocations: 6.656 kB / 326.8 MB, free: 1.953 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008128/0.3663, allocations: 269.5 kB / 327.1 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004758/0.3668, allocations: 166.4 kB / 327.3 MB, free: 1.926 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004978/0.3673, allocations: 92.48 kB / 327.4 MB, free: 1.891 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.3676, allocations: 87.72 kB / 327.5 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.3676, allocations: 2.031 kB / 327.5 MB, free: 1.859 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.3678, allocations: 79.17 kB / 327.5 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003577/0.3682, allocations: 124.5 kB / 327.7 MB, free: 1.824 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000299/0.3685, allocations: 57.7 kB / 327.7 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.649e-05/0.3686, allocations: 9.75 kB / 327.7 MB, free: 1.809 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000243/0.3689, allocations: 130 kB / 327.8 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.844e-05/0.369, allocations: 12.91 kB / 327.9 MB, free: 1.777 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007272/0.3697, allocations: 282 kB / 328.1 MB, free: 1.734 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3697, allocations: 0 / 328.1 MB, free: 1.734 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3698, allocations: 1.125 kB / 328.1 MB, free: 1.734 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.3698, allocations: 0 / 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.001011/0.3708, allocations: 0.6203 MB / 328.8 MB, free: 1.168 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.3709, allocations: 10.45 kB / 328.8 MB, free: 1.168 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000136/0.371, allocations: 43.38 kB / 328.8 MB, free: 1.145 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009866/0.372, allocations: 394.9 kB / 329.2 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.3721, allocations: 9.938 kB / 329.2 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.062e-05/0.3721, allocations: 3.906 kB / 329.2 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.3723, allocations: 60.59 kB / 329.3 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3724, allocations: 4 kB / 329.3 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.3724, allocations: 0.5156 kB / 329.3 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.3724, allocations: 1.344 kB / 329.3 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.3725, allocations: 19.77 kB / 329.3 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007142/0.3733, allocations: 371.3 kB / 329.7 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.3735, allocations: 66.42 kB / 329.7 MB, free: 488 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3735, allocations: 5.938 kB / 329.7 MB, free: 484 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002522/0.3738, allocations: 82.53 kB / 329.8 MB, free: 412 kB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 2.916e-06/0.3738, allocations: 0 / 329.8 MB, free: 412 kB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005585/0.3744, allocations: 141.6 kB / 329.9 MB, free: 336 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.3744, allocations: 78.27 kB / 330 MB, free: 240 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/0.377, allocations: 0.9533 MB / 331 MB, free: 15.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.582e-05/0.3771, allocations: 29.11 kB / 331 MB, free: 15.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.3774, allocations: 256 kB / 331.2 MB, free: 15.68 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/0.3775, allocations: 10.03 kB / 331.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.586e-05/0.3775, allocations: 4 kB / 331.3 MB, free: 15.68 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3777, allocations: 315 kB / 331.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.3779, allocations: 36.98 kB / 331.6 MB, free: 15.34 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.378, allocations: 47.84 kB / 331.7 MB, free: 15.31 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002053/0.3783, allocations: 89.48 kB / 331.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.3783, allocations: 0 / 331.7 MB, free: 15.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005226/0.3788, allocations: 177.7 kB / 331.9 MB, free: 15.11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.179e-05/0.3789, allocations: 69.88 kB / 332 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.379, allocations: 0.9375 kB / 332 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.379, allocations: 1.938 kB / 332 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.3792, allocations: 11.73 kB / 332 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.3792, allocations: 1.375 kB / 332 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.3795, allocations: 14.09 kB / 332 MB, free: 15.03 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.695e-05/0.3795, allocations: 8.812 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.0004668/0.38, allocations: 217.6 kB / 332.2 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.3801, allocations: 48.77 kB / 332.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.3803, allocations: 60.39 kB / 332.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.3803, allocations: 1.375 kB / 332.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.3803, allocations: 1.375 kB / 332.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.3803, allocations: 0 / 332.3 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005943/0.3809, allocations: 320.1 kB / 332.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.381, allocations: 5.312 kB / 332.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.782e-05/0.381, allocations: 9.344 kB / 332.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.3811, allocations: 0 / 332.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.3811, allocations: 8.203 kB / 332.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3811, allocations: 0 / 332.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3811, allocations: 1.375 kB / 332.7 MB, free: 14.59 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.3816, allocations: 160.1 kB / 332.8 MB, free: 14.47 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002661/0.3819, allocations: 142.1 kB / 333 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.382, allocations: 7.359 kB / 333 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.3822, allocations: 2.422 kB / 333 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.3823, allocations: 10.66 kB / 333 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.3823, allocations: 8.641 kB / 333 MB, free: 14.33 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001852/0.3842, allocations: 0.7469 MB / 333.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3842, allocations: 0 / 333.7 MB, free: 14.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006906/0.3849, allocations: 61.61 kB / 333.8 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.001822/0.3868, allocations: 436.4 kB / 334.2 MB, free: 13.8 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004856/0.3873, allocations: 188.3 kB / 334.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3873, allocations: 1.219 kB / 334.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.3874, allocations: 20.02 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.0006149/0.388, allocations: 41.86 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.002508/0.3906, allocations: 0.8942 MB / 335.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005925/0.3912, allocations: 0.8427 MB / 336.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001371/0.3914, allocations: 28.86 kB / 336.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of SimCode: time 1.392e-06/0.3914, allocations: 0 / 336.2 MB, free: 12.45 MB / 282.7 MB Notification: Performance of Templates: time 0.01637/0.4078, allocations: 4.823 MB / 341.1 MB, free: 10.87 MB / 282.7 MB