Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,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.Test77") Notification: Performance of loadModel(ModelicaTest): time 2.58/2.58, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.244e-05/5.234e-05, allocations: 4 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4886/0.4887, allocations: 54.86 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002711/0.4915, allocations: 1.481 MB / 364.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.4942, allocations: 0.8657 MB / 365.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.4944, allocations: 2.781 kB / 365.2 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004033/0.4948, allocations: 130.3 kB / 365.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.4951, allocations: 105.1 kB / 365.4 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.4955, allocations: 88.16 kB / 365.5 MB, free: 9.977 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.4958, allocations: 108.5 kB / 365.6 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.405e-05/0.4959, allocations: 4.812 kB / 365.6 MB, free: 9.898 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000171/0.4961, allocations: 80.22 kB / 365.7 MB, free: 9.855 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002077/0.4963, allocations: 87.58 kB / 365.8 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.4965, allocations: 43.77 kB / 365.8 MB, free: 9.805 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.133e-05/0.4966, allocations: 11.94 kB / 365.9 MB, free: 9.801 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.285e-05/0.4967, allocations: 45.8 kB / 365.9 MB, free: 9.773 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.4967, allocations: 9.688 kB / 365.9 MB, free: 9.773 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00035/0.4971, allocations: 170.6 kB / 366.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4971, allocations: 0 / 366.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.4971, allocations: 1.094 kB / 366.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.4972, allocations: 0 / 366.1 MB, free: 9.668 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.0008104/0.498, allocations: 0.5683 MB / 366.6 MB, free: 9.074 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.498, allocations: 12.72 kB / 366.7 MB, free: 9.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.4981, allocations: 31.06 kB / 366.7 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003881/0.4985, allocations: 245.3 kB / 366.9 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.4986, allocations: 3.625 kB / 366.9 MB, free: 8.805 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.296e-05/0.4986, allocations: 14.55 kB / 366.9 MB, free: 8.797 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003198/0.499, allocations: 109.7 kB / 367.1 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.499, allocations: 0.9375 kB / 367.1 MB, free: 8.703 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.499, allocations: 5.516 kB / 367.1 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.499, allocations: 1.562 kB / 367.1 MB, free: 8.699 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.4992, allocations: 41.03 kB / 367.1 MB, free: 8.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008794/0.5001, allocations: 463.1 kB / 367.6 MB, free: 8.227 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005697/0.5007, allocations: 124.5 kB / 367.7 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.736e-05/0.5008, allocations: 1.469 kB / 367.7 MB, free: 8.133 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004077/0.5012, allocations: 114.3 kB / 367.8 MB, free: 8.031 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 3.357e-06/0.5012, allocations: 0 / 367.8 MB, free: 8.031 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.00176/0.503, allocations: 360.1 kB / 368.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.5031, allocations: 83.42 kB / 368.2 MB, free: 7.738 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006624/0.5038, allocations: 319.3 kB / 368.5 MB, free: 7.555 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.421e-05/0.5039, allocations: 32.86 kB / 368.6 MB, free: 7.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.504, allocations: 187.8 kB / 368.7 MB, free: 7.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.972e-05/0.5041, allocations: 46.8 kB / 368.8 MB, free: 7.301 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.5042, allocations: 6.344 kB / 368.8 MB, free: 7.297 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.5043, allocations: 325.3 kB / 369.1 MB, free: 6.973 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.5046, allocations: 58.84 kB / 369.2 MB, free: 6.945 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003259/0.505, allocations: 94.59 kB / 369.3 MB, free: 6.879 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.5054, allocations: 124.7 kB / 369.4 MB, free: 6.781 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.5054, allocations: 1.312 kB / 369.4 MB, free: 6.781 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009291/0.5064, allocations: 281.2 kB / 369.7 MB, free: 6.598 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.035e-05/0.5065, allocations: 68.7 kB / 369.7 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.5065, allocations: 3.938 kB / 369.7 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.5065, allocations: 2.656 kB / 369.7 MB, free: 6.523 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003084/0.5069, allocations: 30.64 kB / 369.8 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.5069, allocations: 5.047 kB / 369.8 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.5071, allocations: 15.38 kB / 369.8 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.879e-05/0.5072, allocations: 12.56 kB / 369.8 MB, free: 6.504 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.0002731/0.5075, allocations: 164.2 kB / 370 MB, free: 6.359 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.125e-05/0.5076, allocations: 26.17 kB / 370 MB, free: 6.344 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001211/0.5077, allocations: 28.52 kB / 370 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.5077, allocations: 2.188 kB / 370 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5078, allocations: 1.062 kB / 370 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.5078, allocations: 0.9688 kB / 370 MB, free: 6.324 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.5092, allocations: 0.6189 MB / 370.6 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.5092, allocations: 0 / 370.6 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.5094, allocations: 16 kB / 370.7 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.104e-06/0.5094, allocations: 0.75 kB / 370.7 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.156e-05/0.5095, allocations: 11.98 kB / 370.7 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.006e-05/0.5095, allocations: 4 kB / 370.7 MB, free: 5.648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5095, allocations: 3.938 kB / 370.7 MB, free: 5.645 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008187/0.5103, allocations: 400.3 kB / 371.1 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001756/0.5105, allocations: 120.7 kB / 371.2 MB, free: 5.078 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.139e-05/0.5106, allocations: 4 kB / 371.2 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/0.5111, allocations: 23.94 kB / 371.2 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.723e-05/0.5112, allocations: 7.984 kB / 371.2 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.202e-05/0.5113, allocations: 11.98 kB / 371.2 MB, free: 5.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005091/0.5118, allocations: 253.9 kB / 371.5 MB, free: 4.781 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5118, allocations: 0 / 371.5 MB, free: 4.781 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008439/0.5127, allocations: 59.98 kB / 371.5 MB, free: 4.723 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.002783/0.5155, allocations: 0.6178 MB / 372.2 MB, free: 4.199 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001043/0.5166, allocations: 298.6 kB / 372.4 MB, free: 3.883 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.5166, allocations: 384 / 372.4 MB, free: 3.883 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003162/0.5169, allocations: 64.17 kB / 372.5 MB, free: 3.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008589/0.5178, allocations: 44.78 kB / 372.6 MB, free: 3.773 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.5193, allocations: 491.1 kB / 373 MB, free: 3.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/0.5199, allocations: 0.7556 MB / 373.8 MB, free: 2.473 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.52, allocations: 19.44 kB / 373.8 MB, free: 2.453 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.52, allocations: 0 / 373.8 MB, free: 2.453 MB / 298.7 MB Notification: Performance of Templates: time 0.01146/0.5315, allocations: 3.404 MB / 377.2 MB, free: 15.05 MB / 314.7 MB