Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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_cpp_ModelicaTest.Tables.CombiTimeTable.Test33") Notification: Performance of loadModel(ModelicaTest): time 2.524/2.524, allocations: 234.9 MB / 250.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.415e-05/4.41e-05, allocations: 7.984 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.43, allocations: 54.86 MB / 362.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.002589/0.4326, allocations: 1.359 MB / 364.2 MB, free: 10.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.4343, allocations: 0.6507 MB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.821e-05/0.4344, allocations: 0 / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002357/0.4347, allocations: 17.72 kB / 364.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001802/0.4349, allocations: 34.09 kB / 364.9 MB, free: 10.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.4351, allocations: 47.03 kB / 365 MB, free: 10.31 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.4353, allocations: 48.2 kB / 365 MB, free: 10.28 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.933e-05/0.4354, allocations: 6.266 kB / 365 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.786e-05/0.4355, allocations: 39.06 kB / 365.1 MB, free: 10.25 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.514e-05/0.4356, allocations: 21.64 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.4357, allocations: 26.41 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.527e-05/0.4357, allocations: 4.531 kB / 365.1 MB, free: 10.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.014e-05/0.4358, allocations: 21.95 kB / 365.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.4358, allocations: 4.938 kB / 365.1 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.4361, allocations: 88.5 kB / 365.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.4361, allocations: 0 / 365.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.4361, allocations: 0 / 365.2 MB, free: 10.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.4361, allocations: 0 / 365.2 MB, free: 10.16 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.0006646/0.4368, allocations: 445.4 kB / 365.7 MB, free: 9.688 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.4369, allocations: 12.97 kB / 365.7 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.775e-05/0.437, allocations: 12.81 kB / 365.7 MB, free: 9.676 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003254/0.4373, allocations: 212.3 kB / 365.9 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.4373, allocations: 2.469 kB / 365.9 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.942e-05/0.4374, allocations: 3.969 kB / 365.9 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.4376, allocations: 56.89 kB / 365.9 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.4376, allocations: 1.125 kB / 366 MB, free: 9.395 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.4376, allocations: 4 kB / 366 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.216e-06/0.4377, allocations: 4.984 kB / 366 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000121/0.4378, allocations: 22.58 kB / 366 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.4383, allocations: 289.7 kB / 366.3 MB, free: 9.066 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002559/0.4386, allocations: 54.84 kB / 366.3 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.4386, allocations: 5.531 kB / 366.3 MB, free: 9.023 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.4388, allocations: 72.2 kB / 366.4 MB, free: 8.953 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 5.27e-06/0.4388, allocations: 0 / 366.4 MB, free: 8.953 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007898/0.4396, allocations: 177.5 kB / 366.6 MB, free: 8.852 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.4397, allocations: 52.72 kB / 366.6 MB, free: 8.789 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002419/0.44, allocations: 173.9 kB / 366.8 MB, free: 8.656 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.44, allocations: 27.67 kB / 366.8 MB, free: 8.625 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.4401, allocations: 168.6 kB / 367 MB, free: 8.461 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.4402, allocations: 27.2 kB / 367 MB, free: 8.438 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.626e-06/0.4402, allocations: 1.094 kB / 367 MB, free: 8.438 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.4404, allocations: 321.3 kB / 367.3 MB, free: 8.117 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.4405, allocations: 26.89 kB / 367.3 MB, free: 8.105 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.4407, allocations: 51.94 kB / 367.4 MB, free: 8.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.4408, allocations: 61.53 kB / 367.5 MB, free: 8.023 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4408, allocations: 4 kB / 367.5 MB, free: 8.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004605/0.4413, allocations: 156.6 kB / 367.6 MB, free: 7.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.463e-05/0.4414, allocations: 36.94 kB / 367.7 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4414, allocations: 0 / 367.7 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/0.4414, allocations: 5.312 kB / 367.7 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/0.4416, allocations: 17.42 kB / 367.7 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.4416, allocations: 1.031 kB / 367.7 MB, free: 7.867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.4417, allocations: 7.469 kB / 367.7 MB, free: 7.863 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.4418, allocations: 4.781 kB / 367.7 MB, free: 7.863 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.0001557/0.4419, allocations: 135.7 kB / 367.8 MB, free: 7.73 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.075e-05/0.442, allocations: 12.66 kB / 367.8 MB, free: 7.723 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.119e-05/0.442, allocations: 17.27 kB / 367.8 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.4421, allocations: 9.078 kB / 367.9 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.4421, allocations: 0 / 367.9 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.4421, allocations: 1.438 kB / 367.9 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006765/0.4428, allocations: 393.5 kB / 368.2 MB, free: 7.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.4428, allocations: 9 kB / 368.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.196e-05/0.4429, allocations: 7.656 kB / 368.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.4429, allocations: 1.094 kB / 368.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.4429, allocations: 1.312 kB / 368.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.4429, allocations: 1.312 kB / 368.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4429, allocations: 1.156 kB / 368.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003699/0.4433, allocations: 222.6 kB / 368.5 MB, free: 7.113 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-05/0.4434, allocations: 89.53 kB / 368.6 MB, free: 7.012 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.4435, allocations: 10.45 kB / 368.6 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.4436, allocations: 1.375 kB / 368.6 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.4436, allocations: 3.531 kB / 368.6 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.4437, allocations: 7.422 kB / 368.6 MB, free: 7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001741/0.4439, allocations: 137.1 kB / 368.7 MB, free: 6.898 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4439, allocations: 0 / 368.7 MB, free: 6.898 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003651/0.4443, allocations: 37.53 kB / 368.8 MB, free: 6.883 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.001257/0.4455, allocations: 401.6 kB / 369.2 MB, free: 6.633 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000432/0.446, allocations: 154.3 kB / 369.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.446, allocations: 0 / 369.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001208/0.4461, allocations: 30.92 kB / 369.3 MB, free: 6.508 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.4465, allocations: 24.09 kB / 369.4 MB, free: 6.492 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006783/0.4472, allocations: 264 kB / 369.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.4476, allocations: 0.7103 MB / 370.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.4477, allocations: 13.69 kB / 370.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of SimCode: time 1.212e-06/0.4477, allocations: 1.719 kB / 370.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of Templates: time 0.005955/0.4536, allocations: 1.878 MB / 372.2 MB, free: 4.121 MB / 298.7 MB