Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74") Notification: Performance of loadModel(ModelicaTest): time 2.495/2.495, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.092e-05/4.117e-05, allocations: 8 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.3829, allocations: 54.85 MB / 362.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002787/0.3857, allocations: 1.474 MB / 364.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002186/0.388, allocations: 0.8745 MB / 365.2 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.3882, allocations: 6.75 kB / 365.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000553/0.3888, allocations: 225.6 kB / 365.4 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003814/0.3892, allocations: 146 kB / 365.6 MB, free: 9.984 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004129/0.3896, allocations: 88.48 kB / 365.7 MB, free: 9.918 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002796/0.3899, allocations: 111.1 kB / 365.8 MB, free: 9.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.39, allocations: 8.641 kB / 365.8 MB, free: 9.836 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002188/0.3902, allocations: 92.59 kB / 365.9 MB, free: 9.789 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.3906, allocations: 126.7 kB / 366 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.3908, allocations: 52.69 kB / 366 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.3909, allocations: 7.312 kB / 366 MB, free: 9.715 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.391, allocations: 53.95 kB / 366.1 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.344e-05/0.3911, allocations: 12 kB / 366.1 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004042/0.3915, allocations: 192.2 kB / 366.3 MB, free: 9.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3915, allocations: 0 / 366.3 MB, free: 9.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3915, allocations: 4 kB / 366.3 MB, free: 9.566 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.3915, allocations: 0 / 366.3 MB, free: 9.566 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008992/0.3924, allocations: 0.5965 MB / 366.9 MB, free: 8.953 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.3925, allocations: 12.81 kB / 366.9 MB, free: 8.949 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.822e-05/0.3926, allocations: 30.28 kB / 366.9 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.3931, allocations: 257.4 kB / 367.2 MB, free: 8.676 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.3931, allocations: 8.312 kB / 367.2 MB, free: 8.672 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/0.3932, allocations: 6.312 kB / 367.2 MB, free: 8.672 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.3936, allocations: 107 kB / 367.3 MB, free: 8.582 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.3936, allocations: 3.938 kB / 367.3 MB, free: 8.578 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.481e-05/0.3936, allocations: 9.141 kB / 367.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.3936, allocations: 1.031 kB / 367.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.3939, allocations: 37.94 kB / 367.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008087/0.3947, allocations: 478.5 kB / 367.8 MB, free: 8.094 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004693/0.3952, allocations: 116.2 kB / 367.9 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.743e-05/0.3952, allocations: 2.906 kB / 367.9 MB, free: 8.008 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003476/0.3956, allocations: 126.2 kB / 368.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 2.514e-06/0.3956, allocations: 0 / 368.1 MB, free: 7.895 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001468/0.3971, allocations: 389.3 kB / 368.5 MB, free: 7.676 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.3972, allocations: 79.27 kB / 368.5 MB, free: 7.582 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007372/0.3979, allocations: 429.8 kB / 368.9 MB, free: 7.355 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/0.398, allocations: 36.95 kB / 369 MB, free: 7.316 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000163/0.3982, allocations: 200.3 kB / 369.2 MB, free: 7.125 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.742e-05/0.3983, allocations: 51.17 kB / 369.2 MB, free: 7.082 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.787e-05/0.3983, allocations: 1.844 kB / 369.2 MB, free: 7.082 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.3985, allocations: 322 kB / 369.5 MB, free: 6.762 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.3987, allocations: 65.94 kB / 369.6 MB, free: 6.727 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.399, allocations: 97.14 kB / 369.7 MB, free: 6.656 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.3993, allocations: 129.8 kB / 369.8 MB, free: 6.555 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.3994, allocations: 1.062 kB / 369.8 MB, free: 6.555 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000762/0.4001, allocations: 281.6 kB / 370.1 MB, free: 6.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.227e-05/0.4002, allocations: 67.39 kB / 370.2 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.4003, allocations: 4 kB / 370.2 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/0.4003, allocations: 0 / 370.2 MB, free: 6.188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.4006, allocations: 36.05 kB / 370.2 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.046e-06/0.4006, allocations: 0 / 370.2 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002277/0.4008, allocations: 15.98 kB / 370.2 MB, free: 6.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/0.4009, allocations: 8 kB / 370.2 MB, free: 6.129 MB / 298.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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * 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.0002845/0.4012, allocations: 173.7 kB / 370.4 MB, free: 5.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.157e-05/0.4012, allocations: 35.58 kB / 370.4 MB, free: 5.914 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001134/0.4014, allocations: 38.8 kB / 370.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4014, allocations: 0 / 370.5 MB, free: 5.875 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.4014, allocations: 4 kB / 370.5 MB, free: 5.871 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.4014, allocations: 4 kB / 370.5 MB, free: 5.867 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.4027, allocations: 0.6285 MB / 371.1 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.4028, allocations: 4 kB / 371.1 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.4029, allocations: 19.92 kB / 371.1 MB, free: 5.152 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.4029, allocations: 8 kB / 371.1 MB, free: 5.145 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.593e-05/0.403, allocations: 12 kB / 371.2 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.403, allocations: 0 / 371.2 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.403, allocations: 0.8281 kB / 371.2 MB, free: 5.133 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007132/0.4037, allocations: 412.1 kB / 371.6 MB, free: 4.691 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.4039, allocations: 116.7 kB / 371.7 MB, free: 4.559 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.404, allocations: 8 kB / 371.7 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000218/0.4042, allocations: 15.94 kB / 371.7 MB, free: 4.535 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/0.4043, allocations: 15.92 kB / 371.7 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.4043, allocations: 8 kB / 371.7 MB, free: 4.512 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005601/0.4049, allocations: 351 kB / 372.1 MB, free: 4.168 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4049, allocations: 0 / 372.1 MB, free: 4.168 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005313/0.4055, allocations: 63.98 kB / 372.1 MB, free: 4.105 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * 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.001867/0.4073, allocations: 0.6007 MB / 372.7 MB, free: 3.598 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007764/0.4082, allocations: 302.6 kB / 373 MB, free: 3.277 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.4082, allocations: 0 / 373 MB, free: 3.277 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002296/0.4084, allocations: 63.91 kB / 373.1 MB, free: 3.215 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005686/0.409, allocations: 45.47 kB / 373.1 MB, free: 3.176 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.4104, allocations: 0.6053 MB / 373.7 MB, free: 2.531 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004858/0.4109, allocations: 0.7789 MB / 374.5 MB, free: 1.727 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.411, allocations: 23.42 kB / 374.5 MB, free: 1.703 MB / 298.7 MB Notification: Performance of SimCode: time 1.022e-06/0.4111, allocations: 4 kB / 374.5 MB, free: 1.699 MB / 298.7 MB Notification: Performance of Templates: time 0.009927/0.421, allocations: 3.659 MB / 378.2 MB, free: 14.04 MB / 314.7 MB