Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.596/2.596, allocations: 234.9 MB / 249.4 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.643e-05/3.626e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4139, allocations: 54.85 MB / 362.9 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002817/0.4168, allocations: 1.353 MB / 364.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.4186, allocations: 0.6593 MB / 364.9 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.4188, allocations: 0 / 364.9 MB, free: 10.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.4191, allocations: 21.03 kB / 364.9 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002077/0.4193, allocations: 30.08 kB / 364.9 MB, free: 10.56 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.4195, allocations: 42.83 kB / 365 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001766/0.4197, allocations: 61.39 kB / 365 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.969e-05/0.4198, allocations: 2.781 kB / 365 MB, free: 10.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.42, allocations: 29.98 kB / 365.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.4201, allocations: 29.12 kB / 365.1 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001373/0.4202, allocations: 32.11 kB / 365.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.4203, allocations: 3.25 kB / 365.1 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.409e-05/0.4203, allocations: 14.14 kB / 365.2 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.4204, allocations: 4.812 kB / 365.2 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002398/0.4206, allocations: 84.33 kB / 365.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.4207, allocations: 1 kB / 365.2 MB, free: 10.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4207, allocations: 4 kB / 365.2 MB, free: 10.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.4207, allocations: 0 / 365.2 MB, free: 10.37 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007366/0.4214, allocations: 441 kB / 365.7 MB, free: 9.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.713e-05/0.4215, allocations: 13.84 kB / 365.7 MB, free: 9.898 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/0.4216, allocations: 12.64 kB / 365.7 MB, free: 9.891 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003334/0.4219, allocations: 204.1 kB / 365.9 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.837e-05/0.422, allocations: 6.266 kB / 365.9 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.839e-05/0.422, allocations: 3.562 kB / 365.9 MB, free: 9.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.4222, allocations: 57.89 kB / 366 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.4223, allocations: 1.062 kB / 366 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.4223, allocations: 0 / 366 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.4223, allocations: 5.141 kB / 366 MB, free: 9.605 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.4224, allocations: 22.33 kB / 366 MB, free: 9.594 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005428/0.423, allocations: 293.3 kB / 366.3 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002656/0.4233, allocations: 62.7 kB / 366.3 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.4233, allocations: 1 kB / 366.3 MB, free: 9.234 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002449/0.4236, allocations: 73.66 kB / 366.4 MB, free: 9.164 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.4236, allocations: 0 / 366.4 MB, free: 9.164 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008591/0.4245, allocations: 184.4 kB / 366.6 MB, free: 9.055 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.4246, allocations: 52.56 kB / 366.6 MB, free: 8.992 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002552/0.4248, allocations: 166.1 kB / 366.8 MB, free: 8.867 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.4249, allocations: 31.95 kB / 366.8 MB, free: 8.832 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.869e-05/0.425, allocations: 100.5 kB / 366.9 MB, free: 8.734 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.425, allocations: 23.28 kB / 367 MB, free: 8.715 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.425, allocations: 1.25 kB / 367 MB, free: 8.715 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.4252, allocations: 330.6 kB / 367.3 MB, free: 8.387 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.4254, allocations: 26.86 kB / 367.3 MB, free: 8.375 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.4256, allocations: 51.52 kB / 367.4 MB, free: 8.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.4257, allocations: 66.36 kB / 367.4 MB, free: 8.289 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.4258, allocations: 0 / 367.4 MB, free: 8.289 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004368/0.4262, allocations: 158.3 kB / 367.6 MB, free: 8.18 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.443e-05/0.4263, allocations: 44.8 kB / 367.6 MB, free: 8.137 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.4263, allocations: 1.438 kB / 367.6 MB, free: 8.137 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.4263, allocations: 0 / 367.6 MB, free: 8.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.4265, allocations: 17.41 kB / 367.6 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.4265, allocations: 1.281 kB / 367.6 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.4267, allocations: 16.3 kB / 367.7 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.4267, allocations: 8.469 kB / 367.7 MB, free: 8.117 MB / 298.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: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001722/0.4269, allocations: 119.4 kB / 367.8 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.4269, allocations: 9.312 kB / 367.8 MB, free: 7.996 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.219e-05/0.427, allocations: 20.78 kB / 367.8 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.427, allocations: 1.125 kB / 367.8 MB, free: 7.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.427, allocations: 5.125 kB / 367.8 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.4271, allocations: 0 / 367.8 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007481/0.4278, allocations: 397.9 kB / 368.2 MB, free: 7.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.4278, allocations: 5.047 kB / 368.2 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.452e-05/0.4279, allocations: 7.781 kB / 368.2 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.4279, allocations: 1.062 kB / 368.2 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.428, allocations: 5.109 kB / 368.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.428, allocations: 1.375 kB / 368.2 MB, free: 7.582 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.428, allocations: 5.188 kB / 368.2 MB, free: 7.578 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003737/0.4284, allocations: 214.6 kB / 368.4 MB, free: 7.387 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.565e-05/0.4285, allocations: 94.16 kB / 368.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.4285, allocations: 5.438 kB / 368.5 MB, free: 7.277 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.4287, allocations: 6.438 kB / 368.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.4287, allocations: 7.984 kB / 368.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.4288, allocations: 3.625 kB / 368.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001839/0.4289, allocations: 140.2 kB / 368.7 MB, free: 7.164 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.429, allocations: 0 / 368.7 MB, free: 7.164 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003934/0.4294, allocations: 33.3 kB / 368.7 MB, free: 7.152 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001216/0.4306, allocations: 409.1 kB / 369.1 MB, free: 6.895 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004427/0.4311, allocations: 155.1 kB / 369.3 MB, free: 6.781 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.4311, allocations: 0.9375 kB / 369.3 MB, free: 6.781 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.4312, allocations: 29.12 kB / 369.3 MB, free: 6.77 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.4316, allocations: 21.16 kB / 369.3 MB, free: 6.758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006718/0.4323, allocations: 241.6 kB / 369.6 MB, free: 6.555 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.4327, allocations: 0.7055 MB / 370.3 MB, free: 5.844 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001066/0.4328, allocations: 15.77 kB / 370.3 MB, free: 5.836 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.52e-05/0.4329, allocations: 14.75 kB / 370.3 MB, free: 5.828 MB / 298.7 MB Notification: Performance of SimCode: time 1.082e-06/0.4329, allocations: 0 / 370.3 MB, free: 5.828 MB / 298.7 MB Notification: Performance of Templates: time 0.006695/0.4396, allocations: 1.591 MB / 371.9 MB, free: 4.414 MB / 298.7 MB