Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|t_new.nextTimeEvent",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadModel(ModelicaTest): time 1.965/1.965, allocations: 209.3 MB / 224.4 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.314e-05/3.322e-05, allocations: 4 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.4009, allocations: 48.69 MB / 324.8 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003528/0.4045, allocations: 1.462 MB / 326.3 MB, free: 2.273 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001391/0.4059, allocations: 427.8 kB / 326.7 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.4061, allocations: 6.406 kB / 326.7 MB, free: 2.047 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002812/0.4064, allocations: 22 kB / 326.8 MB, free: 2.039 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.4066, allocations: 27.45 kB / 326.8 MB, free: 2.031 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.4069, allocations: 61 kB / 326.8 MB, free: 2.004 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002085/0.4072, allocations: 64.84 kB / 326.9 MB, free: 1.973 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.4073, allocations: 14.03 kB / 326.9 MB, free: 1.969 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.4074, allocations: 29.31 kB / 326.9 MB, free: 1.961 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.4075, allocations: 23.56 kB / 327 MB, free: 1.953 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.4077, allocations: 30.58 kB / 327 MB, free: 1.949 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.4078, allocations: 8.812 kB / 327 MB, free: 1.945 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.4079, allocations: 14.08 kB / 327 MB, free: 1.941 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.4079, allocations: 8.906 kB / 327 MB, free: 1.938 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.4082, allocations: 99.73 kB / 327.1 MB, free: 1.918 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.4083, allocations: 0 / 327.1 MB, free: 1.918 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.4083, allocations: 5.156 kB / 327.1 MB, free: 1.914 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.4083, allocations: 0 / 327.1 MB, free: 1.914 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006725/0.409, allocations: 445.6 kB / 327.6 MB, free: 1.465 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.409, allocations: 8.906 kB / 327.6 MB, free: 1.465 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.226e-05/0.4092, allocations: 9.688 kB / 327.6 MB, free: 1.461 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003077/0.4095, allocations: 215.2 kB / 327.8 MB, free: 1.242 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.4095, allocations: 6.422 kB / 327.8 MB, free: 1.238 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.4096, allocations: 8.719 kB / 327.8 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.4099, allocations: 73.91 kB / 327.9 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.4099, allocations: 0 / 327.9 MB, free: 1.188 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/0.41, allocations: 5.281 kB / 327.9 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.41, allocations: 1.219 kB / 327.9 MB, free: 1.184 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002551/0.4102, allocations: 45.28 kB / 327.9 MB, free: 1.172 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000721/0.411, allocations: 332.2 kB / 328.3 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.4114, allocations: 74.41 kB / 328.3 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.4115, allocations: 1.125 kB / 328.3 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002962/0.4118, allocations: 76.97 kB / 328.4 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of pre-optimization done (n=7): time 3.457e-06/0.4118, allocations: 0 / 328.4 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006006/0.4124, allocations: 122 kB / 328.5 MB, free: 0.707 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.4125, allocations: 54 kB / 328.6 MB, free: 0.6445 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002344/0.4127, allocations: 145.7 kB / 328.7 MB, free: 0.543 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.4128, allocations: 31.61 kB / 328.8 MB, free: 0.5078 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.255e-05/0.4129, allocations: 170.4 kB / 328.9 MB, free: 352 kB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.4129, allocations: 17.2 kB / 328.9 MB, free: 340 kB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.181e-05/0.4129, allocations: 1.312 kB / 328.9 MB, free: 340 kB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.069e-05/0.413, allocations: 321.3 kB / 329.3 MB, free: 12 kB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.4132, allocations: 28.83 kB / 329.3 MB, free: 4 kB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.4135, allocations: 51.14 kB / 329.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002031/0.4137, allocations: 64.05 kB / 329.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.8e-06/0.4138, allocations: 1.125 kB / 329.4 MB, free: 15.93 MB / 282.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005345/0.4143, allocations: 145.8 kB / 329.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.902e-05/0.4144, allocations: 36.58 kB / 329.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.4144, allocations: 1.25 kB / 329.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.4145, allocations: 1.844 kB / 329.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.4147, allocations: 19.3 kB / 329.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.4147, allocations: 1.984 kB / 329.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000152/0.4148, allocations: 14.25 kB / 329.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.4149, allocations: 5.906 kB / 329.6 MB, free: 15.8 MB / 282.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: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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.0001921/0.4151, allocations: 127.1 kB / 329.7 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.37e-05/0.4152, allocations: 12.28 kB / 329.8 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.04e-05/0.4152, allocations: 16.92 kB / 329.8 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4153, allocations: 1.438 kB / 329.8 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.4153, allocations: 0.8906 kB / 329.8 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.4153, allocations: 1.469 kB / 329.8 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003297/0.4156, allocations: 199.3 kB / 330 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.4157, allocations: 1.844 kB / 330 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001651/0.4158, allocations: 14.77 kB / 330 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.4159, allocations: 4.656 kB / 330 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.205e-05/0.4159, allocations: 1.781 kB / 330 MB, free: 15.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/0.4159, allocations: 9.094 kB / 330 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.4159, allocations: 3.422 kB / 330 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006248/0.4166, allocations: 150 kB / 330.1 MB, free: 15.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.042e-05/0.4167, allocations: 93.3 kB / 330.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.278e-05/0.4167, allocations: 2.797 kB / 330.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.4169, allocations: 6.547 kB / 330.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.191e-05/0.417, allocations: 9.422 kB / 330.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.417, allocations: 3.438 kB / 330.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002111/0.4172, allocations: 123.4 kB / 330.4 MB, free: 15.14 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4172, allocations: 0 / 330.4 MB, free: 15.14 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005179/0.4178, allocations: 24.86 kB / 330.4 MB, free: 15.14 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001172/0.419, allocations: 316.1 kB / 330.7 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005168/0.4195, allocations: 124 kB / 330.8 MB, free: 14.87 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.4195, allocations: 0 / 330.8 MB, free: 14.87 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001686/0.4197, allocations: 35.36 kB / 330.9 MB, free: 14.86 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.4201, allocations: 27.52 kB / 330.9 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008666/0.421, allocations: 282.7 kB / 331.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004689/0.4215, allocations: 0.7144 MB / 331.9 MB, free: 13.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.341e-05/0.4216, allocations: 13.94 kB / 331.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.4216, allocations: 1.094 kB / 331.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of Templates: time 0.007318/0.429, allocations: 1.833 MB / 333.7 MB, free: 13.73 MB / 282.7 MB