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_ModelicaTest.Tables.CombiTimeTable.Test69") Notification: Performance of loadModel(ModelicaTest): time 2.1/2.1, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.782e-05/3.804e-05, allocations: 7.984 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4236, allocations: 48.7 MB / 324.9 MB, free: 3.355 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003742/0.4274, allocations: 1.349 MB / 326.2 MB, free: 2.711 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002298/0.4298, allocations: 0.6335 MB / 326.9 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001814/0.43, allocations: 1.031 kB / 326.9 MB, free: 2.371 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009055/0.431, allocations: 266.9 kB / 327.1 MB, free: 2.359 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006308/0.4316, allocations: 165.7 kB / 327.3 MB, free: 2.336 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006829/0.4323, allocations: 89.27 kB / 327.4 MB, free: 2.305 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004771/0.4329, allocations: 90.62 kB / 327.5 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.955e-05/0.4329, allocations: 6.156 kB / 327.5 MB, free: 2.27 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002159/0.4332, allocations: 66.41 kB / 327.5 MB, free: 2.254 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004494/0.4336, allocations: 125.8 kB / 327.7 MB, free: 2.238 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004856/0.4342, allocations: 53.55 kB / 327.7 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.796e-05/0.4342, allocations: 6.781 kB / 327.7 MB, free: 2.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002965/0.4346, allocations: 130.3 kB / 327.8 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001109/0.4347, allocations: 12.31 kB / 327.9 MB, free: 2.195 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.4357, allocations: 282.8 kB / 328.1 MB, free: 2.145 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.4358, allocations: 1.25 kB / 328.1 MB, free: 2.145 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.308e-06/0.4358, allocations: 0 / 328.1 MB, free: 2.145 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.378e-05/0.4358, allocations: 0 / 328.1 MB, free: 2.145 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.00111/0.4369, allocations: 0.6138 MB / 328.7 MB, free: 1.582 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.437, allocations: 9.844 kB / 328.8 MB, free: 1.582 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.4372, allocations: 39.97 kB / 328.8 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008631/0.4381, allocations: 394.2 kB / 329.2 MB, free: 1.285 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.47e-05/0.4381, allocations: 10.67 kB / 329.2 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.941e-05/0.4382, allocations: 3.969 kB / 329.2 MB, free: 1.277 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001815/0.4384, allocations: 67.22 kB / 329.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4384, allocations: 0 / 329.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.4384, allocations: 2.219 kB / 329.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.4384, allocations: 0 / 329.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.811e-05/0.4385, allocations: 21.56 kB / 329.3 MB, free: 1.211 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006454/0.4392, allocations: 367.5 kB / 329.6 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.4394, allocations: 58.02 kB / 329.7 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.4394, allocations: 0 / 329.7 MB, free: 0.8984 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.4396, allocations: 96.67 kB / 329.8 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.4397, allocations: 0 / 329.8 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005324/0.4402, allocations: 139.1 kB / 329.9 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.4403, allocations: 78.52 kB / 330 MB, free: 0.6523 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.442, allocations: 0.9213 MB / 330.9 MB, free: 344 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.4421, allocations: 27.05 kB / 331 MB, free: 312 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002176/0.4423, allocations: 225.4 kB / 331.2 MB, free: 124 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.109e-05/0.4423, allocations: 19.72 kB / 331.2 MB, free: 112 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.255e-05/0.4424, allocations: 1.281 kB / 331.2 MB, free: 112 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002052/0.4426, allocations: 370.1 kB / 331.6 MB, free: 15.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.4427, allocations: 30.11 kB / 331.6 MB, free: 15.76 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001107/0.4428, allocations: 43.2 kB / 331.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001568/0.443, allocations: 92.11 kB / 331.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.443, allocations: 1.031 kB / 331.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005968/0.4436, allocations: 214.1 kB / 331.9 MB, free: 15.5 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.344e-05/0.4437, allocations: 66.22 kB / 332 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.4437, allocations: 0.7031 kB / 332 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.4438, allocations: 5.406 kB / 332 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.4439, allocations: 10.52 kB / 332 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.4439, allocations: 2.109 kB / 332 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.4442, allocations: 13.97 kB / 332 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.4442, allocations: 5.891 kB / 332 MB, free: 15.42 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.0004366/0.4447, allocations: 215 kB / 332.2 MB, free: 15.29 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/0.4448, allocations: 46.73 kB / 332.3 MB, free: 15.26 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.445, allocations: 55.88 kB / 332.3 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.445, allocations: 1.156 kB / 332.3 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.445, allocations: 4.875 kB / 332.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.445, allocations: 5.672 kB / 332.4 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000459/0.4455, allocations: 311.8 kB / 332.7 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.4455, allocations: 0.6094 kB / 332.7 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.4456, allocations: 5.016 kB / 332.7 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.4456, allocations: 2.547 kB / 332.7 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.13e-05/0.4456, allocations: 10.78 kB / 332.7 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.4456, allocations: 4.594 kB / 332.7 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.4457, allocations: 1.188 kB / 332.7 MB, free: 14.99 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004153/0.4461, allocations: 163.5 kB / 332.8 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.4463, allocations: 137.6 kB / 333 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.516e-05/0.4464, allocations: 6.938 kB / 333 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.4465, allocations: 3.594 kB / 333 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.4466, allocations: 10.08 kB / 333 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.4466, allocations: 8.672 kB / 333 MB, free: 14.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00151/0.4482, allocations: 0.7268 MB / 333.7 MB, free: 14.47 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.4482, allocations: 0 / 333.7 MB, free: 14.47 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005662/0.4488, allocations: 57.41 kB / 333.8 MB, free: 14.46 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.001326/0.4501, allocations: 441.2 kB / 334.2 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004698/0.4507, allocations: 189.4 kB / 334.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.4507, allocations: 0 / 334.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.062e-05/0.4508, allocations: 19.09 kB / 334.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.4514, allocations: 47.83 kB / 334.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002103/0.4535, allocations: 0.8248 MB / 335.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000597/0.4542, allocations: 0.8428 MB / 336.1 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002457/0.4545, allocations: 45.92 kB / 336.2 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.4546, allocations: 23.67 kB / 336.2 MB, free: 12.89 MB / 282.7 MB Notification: Performance of SimCode: time 1.152e-06/0.4546, allocations: 0 / 336.2 MB, free: 12.89 MB / 282.7 MB Notification: Performance of Templates: time 0.01366/0.4683, allocations: 3.292 MB / 339.5 MB, free: 11.97 MB / 282.7 MB