Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test62") Notification: Performance of loadModel(ModelicaTest): time 2.526/2.526, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.416e-05/4.423e-05, allocations: 4 kB / 308 MB, free: 15.99 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4233/0.4234, allocations: 54.86 MB / 362.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002594/0.4261, allocations: 1.318 MB / 364.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001566/0.4277, allocations: 0.6433 MB / 364.8 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.792e-05/0.4278, allocations: 1.031 kB / 364.8 MB, free: 10.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002322/0.428, allocations: 21.33 kB / 364.8 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.4282, allocations: 36.45 kB / 364.9 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.4284, allocations: 50.19 kB / 364.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.4285, allocations: 35.83 kB / 365 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.4286, allocations: 1.188 kB / 365 MB, free: 10.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.4287, allocations: 34.97 kB / 365 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.4288, allocations: 29.23 kB / 365 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.561e-05/0.4289, allocations: 20.31 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.429, allocations: 4.375 kB / 365 MB, free: 10.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.092e-05/0.429, allocations: 26.44 kB / 365.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.264e-05/0.4291, allocations: 5.312 kB / 365.1 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.4293, allocations: 89.72 kB / 365.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4293, allocations: 1.25 kB / 365.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4293, allocations: 0 / 365.2 MB, free: 10.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.829e-06/0.4294, allocations: 3.938 kB / 365.2 MB, free: 10.25 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006201/0.43, allocations: 445.2 kB / 365.6 MB, free: 9.777 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.43, allocations: 12.59 kB / 365.6 MB, free: 9.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.463e-05/0.4301, allocations: 18.28 kB / 365.6 MB, free: 9.762 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.4304, allocations: 207.2 kB / 365.8 MB, free: 9.535 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.4305, allocations: 2.281 kB / 365.8 MB, free: 9.535 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.4305, allocations: 2.938 kB / 365.8 MB, free: 9.535 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001905/0.4307, allocations: 50.95 kB / 365.9 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4307, allocations: 0 / 365.9 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.4308, allocations: 5.719 kB / 365.9 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.4308, allocations: 3.953 kB / 365.9 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.4309, allocations: 16.45 kB / 365.9 MB, free: 9.473 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.4312, allocations: 196.8 kB / 366.1 MB, free: 9.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002331/0.4314, allocations: 51.59 kB / 366.2 MB, free: 9.211 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.4315, allocations: 5.188 kB / 366.2 MB, free: 9.207 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.4317, allocations: 65.52 kB / 366.2 MB, free: 9.145 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 4.088e-06/0.4317, allocations: 4 kB / 366.2 MB, free: 9.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003952/0.4321, allocations: 105.4 kB / 366.3 MB, free: 9.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.4322, allocations: 55.36 kB / 366.4 MB, free: 9.004 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003375/0.4325, allocations: 234.3 kB / 366.6 MB, free: 8.852 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.4326, allocations: 32.05 kB / 366.7 MB, free: 8.816 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4327, allocations: 172.8 kB / 366.8 MB, free: 8.648 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.4327, allocations: 10.17 kB / 366.8 MB, free: 8.641 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.075e-05/0.4327, allocations: 5.25 kB / 366.8 MB, free: 8.637 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4329, allocations: 320 kB / 367.1 MB, free: 8.316 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000104/0.433, allocations: 24.08 kB / 367.2 MB, free: 8.305 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.4332, allocations: 40.17 kB / 367.2 MB, free: 8.273 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.4333, allocations: 49.77 kB / 367.3 MB, free: 8.234 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.4333, allocations: 1.031 kB / 367.3 MB, free: 8.234 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000358/0.4337, allocations: 133.4 kB / 367.4 MB, free: 8.133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.345e-05/0.4338, allocations: 37.62 kB / 367.4 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.4338, allocations: 7.969 kB / 367.4 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.4338, allocations: 1.25 kB / 367.4 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.4339, allocations: 9.031 kB / 367.4 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.434, allocations: 1.25 kB / 367.4 MB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.4341, allocations: 20.38 kB / 367.5 MB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.4341, allocations: 3.375 kB / 367.5 MB, free: 8.074 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 (8): * Single equations (assignments): 7 * 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.0001484/0.4343, allocations: 137.7 kB / 367.6 MB, free: 7.949 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/0.4343, allocations: 16.97 kB / 367.6 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.732e-05/0.4344, allocations: 14.94 kB / 367.6 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4344, allocations: 1.188 kB / 367.6 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4344, allocations: 1.438 kB / 367.6 MB, free: 7.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.4344, allocations: 3.984 kB / 367.6 MB, free: 7.926 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.4346, allocations: 197.9 kB / 367.8 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4346, allocations: 4 kB / 367.8 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.4347, allocations: 4.438 kB / 367.8 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.4347, allocations: 0 / 367.8 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.4347, allocations: 5.453 kB / 367.8 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4347, allocations: 0 / 367.8 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.4347, allocations: 0 / 367.8 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.435, allocations: 127.3 kB / 368 MB, free: 7.586 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.876e-05/0.4352, allocations: 89.17 kB / 368.1 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.4352, allocations: 6.094 kB / 368.1 MB, free: 7.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.849e-05/0.4353, allocations: 9.219 kB / 368.1 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.922e-05/0.4353, allocations: 2.906 kB / 368.1 MB, free: 7.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.701e-05/0.4354, allocations: 2.625 kB / 368.1 MB, free: 7.473 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002456/0.4356, allocations: 191.5 kB / 368.3 MB, free: 7.352 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4356, allocations: 4 kB / 368.3 MB, free: 7.348 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002861/0.4359, allocations: 25.97 kB / 368.3 MB, free: 7.34 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.00107/0.437, allocations: 346.9 kB / 368.6 MB, free: 7.129 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000342/0.4374, allocations: 137.3 kB / 368.8 MB, free: 7.023 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4374, allocations: 0 / 368.8 MB, free: 7.023 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.204e-05/0.4375, allocations: 23.7 kB / 368.8 MB, free: 7.012 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.4378, allocations: 28.44 kB / 368.8 MB, free: 6.992 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006763/0.4385, allocations: 299.6 kB / 369.1 MB, free: 6.762 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.4389, allocations: 0.7184 MB / 369.8 MB, free: 6.043 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.4389, allocations: 11.97 kB / 369.8 MB, free: 6.035 MB / 298.7 MB Notification: Performance of SimCode: time 7.61e-07/0.439, allocations: 4 kB / 369.8 MB, free: 6.031 MB / 298.7 MB Notification: Performance of Templates: time 0.005293/0.4443, allocations: 1.786 MB / 371.6 MB, free: 4.75 MB / 298.7 MB