Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime.nextTimeEvent|startTime_0.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadModel(ModelicaTest): time 2.185/2.185, allocations: 209.3 MB / 223.8 MB, free: 436 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.318e-05/4.303e-05, allocations: 8 kB / 276.2 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3966, allocations: 48.69 MB / 324.9 MB, free: 3.363 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002659/0.3993, allocations: 1.35 MB / 326.2 MB, free: 2.719 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001613/0.401, allocations: 0.6335 MB / 326.9 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.4012, allocations: 2.5 kB / 326.9 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007427/0.402, allocations: 274.8 kB / 327.1 MB, free: 2.367 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004892/0.4025, allocations: 169.9 kB / 327.3 MB, free: 2.344 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000554/0.4031, allocations: 92.42 kB / 327.4 MB, free: 2.309 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003535/0.4034, allocations: 91.25 kB / 327.5 MB, free: 2.273 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.573e-05/0.4035, allocations: 2.688 kB / 327.5 MB, free: 2.273 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.4037, allocations: 71.88 kB / 327.6 MB, free: 2.258 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003584/0.4041, allocations: 128.8 kB / 327.7 MB, free: 2.242 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003614/0.4044, allocations: 53.2 kB / 327.7 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.948e-05/0.4045, allocations: 6.844 kB / 327.7 MB, free: 2.234 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.4047, allocations: 132.3 kB / 327.9 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.132e-05/0.4048, allocations: 12.28 kB / 327.9 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006921/0.4055, allocations: 295 kB / 328.2 MB, free: 2.141 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.4056, allocations: 1.094 kB / 328.2 MB, free: 2.141 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.529e-06/0.4056, allocations: 0.7969 kB / 328.2 MB, free: 2.141 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.015e-05/0.4056, allocations: 0 / 328.2 MB, free: 2.141 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.0009295/0.4066, allocations: 0.6098 MB / 328.8 MB, free: 1.586 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/0.4066, allocations: 9.219 kB / 328.8 MB, free: 1.586 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.4068, allocations: 42.94 kB / 328.8 MB, free: 1.562 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008915/0.4077, allocations: 396.8 kB / 329.2 MB, free: 1.289 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.4078, allocations: 10.3 kB / 329.2 MB, free: 1.281 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-05/0.4078, allocations: 4.078 kB / 329.2 MB, free: 1.281 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.408, allocations: 66.16 kB / 329.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.4081, allocations: 1.094 kB / 329.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.4081, allocations: 1 kB / 329.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4081, allocations: 0 / 329.3 MB, free: 1.223 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.665e-05/0.4082, allocations: 16.92 kB / 329.3 MB, free: 1.219 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007434/0.409, allocations: 377.8 kB / 329.7 MB, free: 0.957 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.4092, allocations: 61.81 kB / 329.7 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.4092, allocations: 5.875 kB / 329.8 MB, free: 0.8906 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/0.4095, allocations: 92.7 kB / 329.8 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 3.216e-06/0.4095, allocations: 0 / 329.8 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005971/0.4101, allocations: 139 kB / 330 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.4102, allocations: 83.88 kB / 330.1 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/0.4122, allocations: 0.9369 MB / 331 MB, free: 336 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.255e-05/0.4124, allocations: 31.78 kB / 331 MB, free: 300 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002452/0.4126, allocations: 230.4 kB / 331.3 MB, free: 108 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.058e-05/0.4127, allocations: 13.64 kB / 331.3 MB, free: 100 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.16e-05/0.4127, allocations: 1.375 kB / 331.3 MB, free: 100 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002611/0.413, allocations: 367.9 kB / 331.6 MB, free: 15.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.4131, allocations: 24.89 kB / 331.7 MB, free: 15.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.4133, allocations: 48.42 kB / 331.7 MB, free: 15.72 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.4135, allocations: 91.72 kB / 331.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4135, allocations: 1.5 kB / 331.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006818/0.4142, allocations: 222.1 kB / 332 MB, free: 15.48 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.239e-05/0.4143, allocations: 66.16 kB / 332.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.4143, allocations: 1.312 kB / 332.1 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/0.4144, allocations: 4.656 kB / 332.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.4145, allocations: 11.61 kB / 332.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.4146, allocations: 0.8438 kB / 332.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002677/0.4148, allocations: 11.53 kB / 332.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.097e-05/0.4149, allocations: 5.625 kB / 332.1 MB, free: 15.41 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.0005511/0.4154, allocations: 221.9 kB / 332.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.4156, allocations: 52.36 kB / 332.4 MB, free: 15.24 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.4158, allocations: 56.22 kB / 332.4 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.4158, allocations: 5.656 kB / 332.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.4158, allocations: 0 / 332.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.4159, allocations: 2.953 kB / 332.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005625/0.4164, allocations: 318.4 kB / 332.7 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.4165, allocations: 1.875 kB / 332.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.211e-05/0.4166, allocations: 4.141 kB / 332.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.4166, allocations: 4.219 kB / 332.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.4166, allocations: 7.594 kB / 332.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.4166, allocations: 0.6562 kB / 332.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.4166, allocations: 1.281 kB / 332.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005105/0.4172, allocations: 168.2 kB / 332.9 MB, free: 14.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002624/0.4174, allocations: 137.9 kB / 333.1 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.147e-05/0.4175, allocations: 10.64 kB / 333.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.4177, allocations: 5.188 kB / 333.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.917e-05/0.4178, allocations: 4.922 kB / 333.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.305e-05/0.4178, allocations: 8.844 kB / 333.1 MB, free: 14.71 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.00183/0.4197, allocations: 0.7503 MB / 333.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.373e-06/0.4197, allocations: 0 / 333.8 MB, free: 14.45 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007035/0.4205, allocations: 61.44 kB / 333.9 MB, free: 14.43 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.001511/0.422, allocations: 438.3 kB / 334.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000499/0.4225, allocations: 189 kB / 334.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.4226, allocations: 0 / 334.5 MB, free: 14.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.4227, allocations: 24.39 kB / 334.5 MB, free: 14.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006112/0.4233, allocations: 47.22 kB / 334.6 MB, free: 13.99 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.4255, allocations: 0.8484 MB / 335.4 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006583/0.4262, allocations: 0.8391 MB / 336.3 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002671/0.4265, allocations: 48.59 kB / 336.3 MB, free: 12.87 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.4267, allocations: 24.81 kB / 336.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of SimCode: time 1.423e-06/0.4267, allocations: 0 / 336.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of Templates: time 0.01432/0.441, allocations: 3.329 MB / 339.7 MB, free: 11.91 MB / 282.7 MB