Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadModel(ModelicaTest): time 2.411/2.411, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.45e-05/5.459e-05, allocations: 7.234 kB / 348.4 MB, free: 10.81 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1201/0.1202, allocations: 61.88 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5629/0.6831, allocations: 89.12 MB / 499.4 MB, free: 15.03 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/0.6834, allocations: 72.45 kB / 499.5 MB, free: 14.96 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03187/0.7153, allocations: 6.609 MB / 0.4942 GB, free: 8.352 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7153, allocations: 0 / 0.4942 GB, free: 8.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.394e-05/0.7154, allocations: 4 kB / 0.4942 GB, free: 8.348 MB / 410.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.0009003/0.7163, allocations: 0.5908 MB / 0.4948 GB, free: 7.711 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.7164, allocations: 8.031 kB / 0.4948 GB, free: 7.703 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001141/0.7165, allocations: 47.42 kB / 0.4948 GB, free: 7.656 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.7175, allocations: 483 kB / 0.4953 GB, free: 7.141 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.7176, allocations: 11.95 kB / 0.4953 GB, free: 7.129 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.7176, allocations: 4 kB / 0.4953 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.7178, allocations: 79.38 kB / 0.4954 GB, free: 7.035 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.374e-06/0.7179, allocations: 0 / 0.4954 GB, free: 7.035 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.7179, allocations: 3.938 kB / 0.4954 GB, free: 7.031 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.422e-06/0.7179, allocations: 0 / 0.4954 GB, free: 7.031 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.718, allocations: 31.98 kB / 0.4954 GB, free: 7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000555/0.7186, allocations: 382.3 kB / 0.4958 GB, free: 6.574 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.7188, allocations: 105.3 kB / 0.4959 GB, free: 6.453 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.671e-05/0.719, allocations: 37.8 kB / 0.4959 GB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.719, allocations: 0 / 0.4959 GB, free: 6.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002389/0.7192, allocations: 108.9 kB / 0.496 GB, free: 6.285 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.583e-06/0.7193, allocations: 0 / 0.496 GB, free: 6.285 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004633/0.7197, allocations: 165 kB / 0.4962 GB, free: 6.117 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.652e-05/0.7198, allocations: 77.11 kB / 0.4963 GB, free: 6.023 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001773/0.7216, allocations: 0.9109 MB / 0.4972 GB, free: 5.109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.7216, allocations: 29.69 kB / 0.4972 GB, free: 5.074 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.7219, allocations: 228.1 kB / 0.4974 GB, free: 4.848 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.616e-05/0.722, allocations: 27.64 kB / 0.4974 GB, free: 4.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.335e-05/0.722, allocations: 8 kB / 0.4974 GB, free: 4.812 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.7222, allocations: 362.8 kB / 0.4978 GB, free: 4.449 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/0.7223, allocations: 24 kB / 0.4978 GB, free: 4.426 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.7225, allocations: 55.42 kB / 0.4979 GB, free: 4.359 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.777e-05/0.7226, allocations: 36.11 kB / 0.4979 GB, free: 4.324 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.7226, allocations: 0 / 0.4979 GB, free: 4.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003823/0.723, allocations: 168.9 kB / 0.498 GB, free: 4.152 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.723, allocations: 4 kB / 0.4981 GB, free: 4.148 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.52e-06/0.723, allocations: 3.938 kB / 0.4981 GB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.723, allocations: 4 kB / 0.4981 GB, free: 4.141 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.7232, allocations: 19.98 kB / 0.4981 GB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.631e-06/0.7232, allocations: 0 / 0.4981 GB, free: 4.121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.7234, allocations: 23.95 kB / 0.4981 GB, free: 4.098 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.7235, allocations: 4 kB / 0.4981 GB, free: 4.094 MB / 410.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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * 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.0001146/0.7236, allocations: 112.9 kB / 0.4982 GB, free: 3.977 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.7237, allocations: 59.33 kB / 0.4983 GB, free: 3.918 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004564/0.7242, allocations: 185.5 kB / 0.4984 GB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.025e-06/0.7242, allocations: 0 / 0.4984 GB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.7242, allocations: 0 / 0.4984 GB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.702e-06/0.7242, allocations: 3.984 kB / 0.4985 GB, free: 3.723 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.7248, allocations: 397.1 kB / 0.4988 GB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.7248, allocations: 0 / 0.4988 GB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.055e-05/0.7249, allocations: 16.17 kB / 0.4988 GB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/0.7249, allocations: 3.953 kB / 0.4988 GB, free: 3.266 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.7249, allocations: 12 kB / 0.4989 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.919e-06/0.7249, allocations: 0 / 0.4989 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.027e-06/0.7249, allocations: 0 / 0.4989 GB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.7254, allocations: 215 kB / 0.4991 GB, free: 3.016 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/0.7257, allocations: 196.4 kB / 0.4993 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.93e-05/0.7258, allocations: 7.984 kB / 0.4993 GB, free: 2.797 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.726, allocations: 12 kB / 0.4993 GB, free: 2.785 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.394e-05/0.7261, allocations: 11.92 kB / 0.4993 GB, free: 2.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.818e-05/0.7261, allocations: 7.938 kB / 0.4993 GB, free: 2.766 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001237/0.7273, allocations: 0.724 MB / 0.5 GB, free: 2.043 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.07e-07/0.7274, allocations: 0 / 0.5 GB, free: 2.043 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004473/0.7278, allocations: 87.92 kB / 0.5001 GB, free: 1.957 MB / 410.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.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001424/0.7292, allocations: 393 kB / 0.5005 GB, free: 1.68 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002537/0.7295, allocations: 83.92 kB / 0.5005 GB, free: 1.598 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.072e-06/0.7295, allocations: 0 / 0.5005 GB, free: 1.598 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.7297, allocations: 39.94 kB / 0.5006 GB, free: 1.559 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.7302, allocations: 69.97 kB / 0.5006 GB, free: 1.492 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00162/0.7318, allocations: 0.7482 MB / 0.5014 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006589/0.7325, allocations: 0.8507 MB / 0.5022 GB, free: 15.84 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000228/0.7327, allocations: 86.95 kB / 0.5023 GB, free: 15.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001482/0.7329, allocations: 39.42 kB / 0.5023 GB, free: 15.72 MB / 426.7 MB Notification: Performance of SimCode: time 1.664e-06/0.7329, allocations: 0 / 0.5023 GB, free: 15.72 MB / 426.7 MB Notification: Performance of Templates: time 0.01375/0.7467, allocations: 4.487 MB / 0.5067 GB, free: 11.25 MB / 426.7 MB