Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,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.Test35") Notification: Performance of loadModel(ModelicaTest): time 2.544/2.544, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.234e-05/6.226e-05, allocations: 8.047 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4302, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002639/0.4329, allocations: 1.362 MB / 364.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.4346, allocations: 0.6509 MB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.694e-05/0.4347, allocations: 1 kB / 364.9 MB, free: 10.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003144/0.435, allocations: 70.7 kB / 364.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002113/0.4353, allocations: 59.31 kB / 365 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.4355, allocations: 47.28 kB / 365 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001523/0.4357, allocations: 53.8 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.107e-05/0.4357, allocations: 2.375 kB / 365.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.4359, allocations: 39.14 kB / 365.1 MB, free: 10.24 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001345/0.436, allocations: 43.52 kB / 365.2 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.4362, allocations: 30.47 kB / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.4362, allocations: 3.406 kB / 365.2 MB, free: 10.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.4363, allocations: 25.14 kB / 365.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.4363, allocations: 9.406 kB / 365.2 MB, free: 10.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002169/0.4365, allocations: 86.7 kB / 365.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.4365, allocations: 0 / 365.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4366, allocations: 1.281 kB / 365.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.4366, allocations: 0 / 365.3 MB, free: 10.14 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.0006171/0.4372, allocations: 455.2 kB / 365.8 MB, free: 9.656 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.4373, allocations: 13.69 kB / 365.8 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.56e-05/0.4373, allocations: 9.188 kB / 365.8 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.4376, allocations: 206.2 kB / 366 MB, free: 9.422 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.4377, allocations: 6.312 kB / 366 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.112e-05/0.4377, allocations: 3.719 kB / 366 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.4379, allocations: 53.67 kB / 366.1 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.4379, allocations: 0 / 366.1 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.438, allocations: 1.25 kB / 366.1 MB, free: 9.371 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.016e-06/0.438, allocations: 13.11 kB / 366.1 MB, free: 9.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.4381, allocations: 18.92 kB / 366.1 MB, free: 9.352 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.4386, allocations: 303.8 kB / 366.4 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002494/0.4389, allocations: 58.27 kB / 366.4 MB, free: 8.988 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.058e-05/0.4389, allocations: 0 / 366.4 MB, free: 8.988 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000215/0.4391, allocations: 73.77 kB / 366.5 MB, free: 8.918 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.4392, allocations: 0 / 366.5 MB, free: 8.918 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007685/0.4399, allocations: 185.7 kB / 366.7 MB, free: 8.809 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.44, allocations: 52.66 kB / 366.8 MB, free: 8.746 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.4403, allocations: 204.2 kB / 367 MB, free: 8.605 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.4403, allocations: 31.98 kB / 367 MB, free: 8.57 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.4405, allocations: 172.5 kB / 367.2 MB, free: 8.402 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.4405, allocations: 24 kB / 367.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.4405, allocations: 1 kB / 367.2 MB, free: 8.383 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.4407, allocations: 320.9 kB / 367.5 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001225/0.4408, allocations: 30.77 kB / 367.5 MB, free: 8.047 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001382/0.441, allocations: 44.7 kB / 367.6 MB, free: 8.016 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001561/0.4411, allocations: 65.17 kB / 367.6 MB, free: 7.965 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4411, allocations: 0 / 367.6 MB, free: 7.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004011/0.4416, allocations: 157.1 kB / 367.8 MB, free: 7.855 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.041e-05/0.4416, allocations: 44.55 kB / 367.8 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4416, allocations: 0 / 367.8 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.4417, allocations: 5.406 kB / 367.8 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.4418, allocations: 17.52 kB / 367.8 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.4418, allocations: 1.469 kB / 367.8 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.473e-05/0.442, allocations: 3.469 kB / 367.9 MB, free: 7.805 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.442, allocations: 8.562 kB / 367.9 MB, free: 7.801 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.0001899/0.4422, allocations: 131.3 kB / 368 MB, free: 7.676 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.282e-05/0.4422, allocations: 12.88 kB / 368 MB, free: 7.668 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.022e-05/0.4423, allocations: 19.52 kB / 368 MB, free: 7.652 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.4423, allocations: 9.484 kB / 368 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.4423, allocations: 0 / 368 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.4424, allocations: 0 / 368 MB, free: 7.645 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006629/0.443, allocations: 401.8 kB / 368.4 MB, free: 7.258 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.4431, allocations: 5.422 kB / 368.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.921e-05/0.4431, allocations: 7.688 kB / 368.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.4431, allocations: 0 / 368.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.4432, allocations: 2.312 kB / 368.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.4432, allocations: 1.062 kB / 368.4 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4432, allocations: 4.031 kB / 368.4 MB, free: 7.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000362/0.4436, allocations: 232.8 kB / 368.7 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.441e-05/0.4437, allocations: 101.2 kB / 368.8 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.575e-05/0.4437, allocations: 6.547 kB / 368.8 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.4438, allocations: 1.375 kB / 368.8 MB, free: 6.926 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.05e-05/0.4439, allocations: 15.64 kB / 368.8 MB, free: 6.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.4439, allocations: 4.156 kB / 368.8 MB, free: 6.914 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002049/0.4441, allocations: 157.4 kB / 368.9 MB, free: 6.809 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.4441, allocations: 0 / 368.9 MB, free: 6.809 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003572/0.4445, allocations: 29.02 kB / 369 MB, free: 6.801 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.00122/0.4457, allocations: 399.1 kB / 369.4 MB, free: 6.555 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004337/0.4462, allocations: 156.1 kB / 369.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.4462, allocations: 0 / 369.5 MB, free: 6.441 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.4463, allocations: 33.64 kB / 369.6 MB, free: 6.426 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.4467, allocations: 20.66 kB / 369.6 MB, free: 6.414 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006967/0.4474, allocations: 291.8 kB / 369.9 MB, free: 6.18 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.4478, allocations: 0.7127 MB / 370.6 MB, free: 5.465 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.4478, allocations: 15.66 kB / 370.6 MB, free: 5.457 MB / 298.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4478, allocations: 0 / 370.6 MB, free: 5.457 MB / 298.7 MB Notification: Performance of Templates: time 0.00582/0.4537, allocations: 1.949 MB / 372.5 MB, free: 3.832 MB / 298.7 MB