Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test43") Notification: Performance of loadModel(ModelicaTest): time 1.861/1.861, allocations: 209.3 MB / 221.9 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.891e-05/3.897e-05, allocations: 8 kB / 273.1 MB, free: 3.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08625/0.08631, allocations: 48.7 MB / 321.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3421/0.4285, allocations: 75.78 MB / 397.5 MB, free: 7.199 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001745/0.4287, allocations: 75.52 kB / 397.6 MB, free: 7.191 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01527/0.444, allocations: 4.078 MB / 401.7 MB, free: 6.191 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.769e-06/0.444, allocations: 0 / 401.7 MB, free: 6.191 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.444, allocations: 0 / 401.7 MB, free: 6.191 MB / 314.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.0003737/0.4444, allocations: 425.8 kB / 402.1 MB, free: 5.758 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.4445, allocations: 7.688 kB / 402.1 MB, free: 5.758 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.655e-05/0.4445, allocations: 7.75 kB / 402.1 MB, free: 5.754 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.4447, allocations: 201.5 kB / 402.3 MB, free: 5.539 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.4448, allocations: 3.875 kB / 402.3 MB, free: 5.539 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.4448, allocations: 7.844 kB / 402.3 MB, free: 5.535 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.327e-05/0.4449, allocations: 45.17 kB / 402.4 MB, free: 5.496 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.4449, allocations: 7.922 kB / 402.4 MB, free: 5.488 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.445, allocations: 0 / 402.4 MB, free: 5.488 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.204e-06/0.445, allocations: 0 / 402.4 MB, free: 5.488 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.309e-05/0.445, allocations: 19.41 kB / 402.4 MB, free: 5.484 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.4454, allocations: 294.5 kB / 402.7 MB, free: 5.195 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.4456, allocations: 42 kB / 402.7 MB, free: 5.164 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.37e-05/0.4456, allocations: 16.39 kB / 402.7 MB, free: 5.156 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.4457, allocations: 0 / 402.7 MB, free: 5.156 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.4458, allocations: 67.3 kB / 402.8 MB, free: 5.094 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.339e-06/0.4458, allocations: 0 / 402.8 MB, free: 5.094 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003899/0.4462, allocations: 103.1 kB / 402.9 MB, free: 5.039 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.138e-05/0.4462, allocations: 55.28 kB / 403 MB, free: 4.977 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.4464, allocations: 179.1 kB / 403.1 MB, free: 4.863 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.516e-05/0.4465, allocations: 25.7 kB / 403.2 MB, free: 4.832 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/0.4465, allocations: 170 kB / 403.3 MB, free: 4.68 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.4465, allocations: 11.62 kB / 403.3 MB, free: 4.676 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-06/0.4466, allocations: 0 / 403.3 MB, free: 4.676 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.789e-05/0.4466, allocations: 318.5 kB / 403.7 MB, free: 4.359 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.061e-05/0.4467, allocations: 26.62 kB / 403.7 MB, free: 4.355 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.931e-05/0.4467, allocations: 19.22 kB / 403.7 MB, free: 4.355 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.255e-05/0.4468, allocations: 56.91 kB / 403.8 MB, free: 4.316 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4468, allocations: 0 / 403.8 MB, free: 4.316 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002029/0.4471, allocations: 123.7 kB / 403.9 MB, free: 4.242 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.4471, allocations: 37.53 kB / 403.9 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.068e-06/0.4471, allocations: 0 / 403.9 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.4471, allocations: 0 / 403.9 MB, free: 4.207 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.928e-05/0.4472, allocations: 11.72 kB / 403.9 MB, free: 4.203 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.36e-06/0.4472, allocations: 3.938 kB / 403.9 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.438e-05/0.4473, allocations: 7.781 kB / 403.9 MB, free: 4.195 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.892e-05/0.4473, allocations: 15.62 kB / 403.9 MB, free: 4.188 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * 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 5.372e-05/0.4474, allocations: 112.9 kB / 404.1 MB, free: 4.074 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.4474, allocations: 7.75 kB / 404.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.4477, allocations: 87.64 kB / 404.2 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.4477, allocations: 0 / 404.2 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.316e-06/0.4477, allocations: 0 / 404.2 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.135e-06/0.4477, allocations: 0 / 404.2 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.4481, allocations: 359.3 kB / 404.5 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.724e-06/0.4481, allocations: 4 kB / 404.5 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.728e-05/0.4482, allocations: 3.844 kB / 404.5 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.448e-06/0.4482, allocations: 3.844 kB / 404.5 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.4482, allocations: 0 / 404.5 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.421e-06/0.4482, allocations: 0 / 404.5 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.711e-06/0.4482, allocations: 0 / 404.5 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00018/0.4484, allocations: 189.3 kB / 404.7 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.4486, allocations: 84.89 kB / 404.8 MB, free: 19.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.4486, allocations: 4 kB / 404.8 MB, free: 19.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.511e-05/0.4488, allocations: 15.7 kB / 404.8 MB, free: 19.44 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.4488, allocations: 3.984 kB / 404.8 MB, free: 19.44 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.4488, allocations: 3.984 kB / 404.8 MB, free: 19.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001403/0.449, allocations: 140.9 kB / 404.9 MB, free: 19.35 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.449, allocations: 0 / 404.9 MB, free: 19.35 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003637/0.4494, allocations: 38.94 kB / 405 MB, free: 19.34 MB / 330.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: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.001054/0.4504, allocations: 354.8 kB / 405.3 MB, free: 19.1 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.4507, allocations: 109.3 kB / 405.4 MB, free: 19.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4507, allocations: 0 / 405.4 MB, free: 19.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.38e-05/0.4507, allocations: 23.48 kB / 405.5 MB, free: 19.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.451, allocations: 11.64 kB / 405.5 MB, free: 19.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003713/0.4514, allocations: 172.9 kB / 405.6 MB, free: 18.89 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.4518, allocations: 0.7035 MB / 406.3 MB, free: 18.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.4519, allocations: 19.27 kB / 406.4 MB, free: 18.17 MB / 330.7 MB Notification: Performance of SimCode: time 1.274e-06/0.4519, allocations: 0 / 406.4 MB, free: 18.17 MB / 330.7 MB Notification: Performance of Templates: time 0.003623/0.4555, allocations: 1.741 MB / 408.1 MB, free: 17.29 MB / 330.7 MB