Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,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.Test15") Notification: Performance of loadModel(ModelicaTest): time 2.6/2.6, allocations: 234.9 MB / 250.1 MB, free: 9.703 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.384e-05/4.382e-05, allocations: 4 kB / 308 MB, free: 15.69 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5042/0.5043, allocations: 54.87 MB / 362.9 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.003484/0.5078, allocations: 1.361 MB / 364.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.5102, allocations: 0.6526 MB / 364.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.5103, allocations: 0 / 364.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.5106, allocations: 15.92 kB / 364.9 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.5109, allocations: 35.88 kB / 364.9 MB, free: 9.684 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002642/0.5112, allocations: 43.83 kB / 365 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.5114, allocations: 55.86 kB / 365 MB, free: 9.586 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.973e-05/0.5115, allocations: 4 kB / 365 MB, free: 9.582 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.5117, allocations: 31.92 kB / 365.1 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.5118, allocations: 19.92 kB / 365.1 MB, free: 9.531 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.512, allocations: 31.97 kB / 365.1 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.562e-05/0.5121, allocations: 7.938 kB / 365.1 MB, free: 9.492 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.265e-05/0.5122, allocations: 15.92 kB / 365.1 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.5122, allocations: 4 kB / 365.1 MB, free: 9.473 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002891/0.5125, allocations: 77.72 kB / 365.2 MB, free: 9.398 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5125, allocations: 4 kB / 365.2 MB, free: 9.395 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5126, allocations: 0 / 365.2 MB, free: 9.395 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.5126, allocations: 0 / 365.2 MB, free: 9.395 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.0008686/0.5135, allocations: 442.5 kB / 365.6 MB, free: 8.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/0.5135, allocations: 19.91 kB / 365.7 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/0.5136, allocations: 15.75 kB / 365.7 MB, free: 8.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003795/0.514, allocations: 191.6 kB / 365.9 MB, free: 8.641 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.5141, allocations: 8 kB / 365.9 MB, free: 8.633 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.5142, allocations: 8 kB / 365.9 MB, free: 8.625 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002714/0.5144, allocations: 53.67 kB / 365.9 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.5145, allocations: 0 / 365.9 MB, free: 8.566 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.5145, allocations: 3.938 kB / 365.9 MB, free: 8.562 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.5145, allocations: 3.953 kB / 365.9 MB, free: 8.559 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.5147, allocations: 19.98 kB / 366 MB, free: 8.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006438/0.5154, allocations: 300.7 kB / 366.3 MB, free: 8.195 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/0.5159, allocations: 58.69 kB / 366.3 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.607e-05/0.516, allocations: 0 / 366.3 MB, free: 8.129 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/0.5164, allocations: 75.39 kB / 366.4 MB, free: 8.043 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.886e-06/0.5164, allocations: 4 kB / 366.4 MB, free: 8.039 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.001067/0.5175, allocations: 165.2 kB / 366.6 MB, free: 7.871 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.5176, allocations: 59.39 kB / 366.6 MB, free: 7.801 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003014/0.5179, allocations: 161.4 kB / 366.8 MB, free: 7.637 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/0.5179, allocations: 29.7 kB / 366.8 MB, free: 7.602 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.5181, allocations: 158.6 kB / 367 MB, free: 7.445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.5181, allocations: 23.7 kB / 367 MB, free: 7.422 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.574e-05/0.5182, allocations: 4 kB / 367 MB, free: 7.418 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001734/0.5184, allocations: 318.8 kB / 367.3 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.5185, allocations: 31.98 kB / 367.3 MB, free: 7.066 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001879/0.5188, allocations: 53.3 kB / 367.4 MB, free: 7.012 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.519, allocations: 61.7 kB / 367.4 MB, free: 6.945 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.519, allocations: 0 / 367.4 MB, free: 6.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005823/0.5196, allocations: 155.2 kB / 367.6 MB, free: 6.781 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.939e-05/0.5197, allocations: 45.64 kB / 367.6 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.5197, allocations: 0 / 367.6 MB, free: 6.73 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.5198, allocations: 4 kB / 367.6 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.52, allocations: 15.98 kB / 367.6 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.52, allocations: 4.031 kB / 367.7 MB, free: 6.707 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00013/0.5201, allocations: 4 kB / 367.7 MB, free: 6.703 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.902e-05/0.5202, allocations: 4 kB / 367.7 MB, free: 6.699 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.0001982/0.5204, allocations: 137.8 kB / 367.8 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.72e-05/0.5205, allocations: 7.906 kB / 367.8 MB, free: 6.547 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.489e-05/0.5206, allocations: 16.67 kB / 367.8 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.5206, allocations: 0 / 367.8 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.5206, allocations: 384 / 367.8 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.5206, allocations: 3.938 kB / 367.8 MB, free: 6.527 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008735/0.5215, allocations: 391.4 kB / 368.2 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.5215, allocations: 11.89 kB / 368.2 MB, free: 6.074 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.17e-05/0.5216, allocations: 12 kB / 368.2 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.5217, allocations: 0 / 368.2 MB, free: 6.062 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.327e-05/0.5217, allocations: 7.984 kB / 368.2 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.5217, allocations: 0 / 368.2 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5217, allocations: 0 / 368.2 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004931/0.5222, allocations: 221.8 kB / 368.5 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001111/0.5224, allocations: 93 kB / 368.5 MB, free: 5.703 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.325e-05/0.5224, allocations: 4 kB / 368.5 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.5226, allocations: 0 / 368.5 MB, free: 5.699 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.5227, allocations: 11.98 kB / 368.6 MB, free: 5.688 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.5228, allocations: 8 kB / 368.6 MB, free: 5.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001975/0.523, allocations: 127.5 kB / 368.7 MB, free: 5.559 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.523, allocations: 0 / 368.7 MB, free: 5.559 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006356/0.5236, allocations: 27.98 kB / 368.7 MB, free: 5.531 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.001707/0.5254, allocations: 397.1 kB / 369.1 MB, free: 5.215 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005368/0.5259, allocations: 147.3 kB / 369.3 MB, free: 5.059 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5259, allocations: 4.062 kB / 369.3 MB, free: 5.055 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000162/0.5261, allocations: 31.92 kB / 369.3 MB, free: 5.023 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004858/0.5266, allocations: 28.06 kB / 369.3 MB, free: 4.996 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008238/0.5275, allocations: 248.2 kB / 369.6 MB, free: 4.715 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.5279, allocations: 0.7043 MB / 370.3 MB, free: 3.984 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.36e-05/0.528, allocations: 19.44 kB / 370.3 MB, free: 3.965 MB / 298.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5281, allocations: 0 / 370.3 MB, free: 3.965 MB / 298.7 MB Notification: Performance of Templates: time 0.00738/0.5354, allocations: 1.857 MB / 372.1 MB, free: 2.113 MB / 298.7 MB