Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadModel(Modelica): time 1.796/1.796, allocations: 194.9 MB / 208.5 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.576e-05/2.587e-05, allocations: 0 / 255.4 MB, free: 3.188 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1009, allocations: 44.5 MB / 299.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3195/0.4204, allocations: 77.03 MB / 376.9 MB, free: 22.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000199/0.4207, allocations: 67.55 kB / 376.9 MB, free: 22.52 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04516/0.4659, allocations: 16.47 MB / 393.4 MB, free: 20.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.103e-06/0.4659, allocations: 3.938 kB / 393.4 MB, free: 20.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.4659, allocations: 3.969 kB / 393.4 MB, free: 20.15 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004525/0.4664, allocations: 0.6062 MB / 394 MB, free: 19.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.4664, allocations: 7.812 kB / 394 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.684e-05/0.4665, allocations: 39.11 kB / 394.1 MB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.4668, allocations: 258.6 kB / 394.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.4668, allocations: 7.812 kB / 394.3 MB, free: 19.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.447e-05/0.4669, allocations: 11.8 kB / 394.4 MB, free: 19.33 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.4671, allocations: 131.1 kB / 394.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.4672, allocations: 0 / 394.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/0.4672, allocations: 3.906 kB / 394.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4672, allocations: 3.906 kB / 394.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.4674, allocations: 56.17 kB / 394.5 MB, free: 19.29 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006375/0.468, allocations: 466.4 kB / 395 MB, free: 18.99 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.4682, allocations: 92.81 kB / 395.1 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.4684, allocations: 83.19 kB / 395.2 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.4684, allocations: 0 / 395.2 MB, free: 18.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002867/0.4687, allocations: 207.6 kB / 395.4 MB, free: 18.84 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.763e-06/0.4687, allocations: 0 / 395.4 MB, free: 18.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006569/0.4694, allocations: 392.5 kB / 395.8 MB, free: 18.66 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.4695, allocations: 165.9 kB / 395.9 MB, free: 18.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005983/0.4701, allocations: 470 kB / 396.4 MB, free: 18.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.4701, allocations: 29.67 kB / 396.4 MB, free: 18.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.717e-05/0.4702, allocations: 158.8 kB / 396.6 MB, free: 18.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.4702, allocations: 33.92 kB / 396.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.4703, allocations: 7.281 kB / 396.6 MB, free: 18.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.868e-05/0.4703, allocations: 310.8 kB / 396.9 MB, free: 17.77 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.4705, allocations: 61.66 kB / 397 MB, free: 17.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.4706, allocations: 59.56 kB / 397 MB, free: 17.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.4708, allocations: 168.6 kB / 397.2 MB, free: 17.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.4708, allocations: 3.938 kB / 397.2 MB, free: 17.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005801/0.4714, allocations: 357.6 kB / 397.5 MB, free: 17.47 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.337e-05/0.4715, allocations: 128.4 kB / 397.7 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.336e-06/0.4715, allocations: 80 / 397.7 MB, free: 17.35 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.4715, allocations: 3.953 kB / 397.7 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.634e-05/0.4716, allocations: 0 / 397.7 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.554e-06/0.4716, allocations: 3.984 kB / 397.7 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.4717, allocations: 18.72 kB / 397.7 MB, free: 17.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.871e-05/0.4718, allocations: 58.66 kB / 397.7 MB, free: 17.33 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: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.0001385/0.472, allocations: 243.9 kB / 398 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.629e-05/0.4721, allocations: 39.06 kB / 398 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.4722, allocations: 64.69 kB / 398.1 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.057e-06/0.4722, allocations: 0 / 398.1 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.922e-06/0.4722, allocations: 3.953 kB / 398.1 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.923e-06/0.4722, allocations: 64 / 398.1 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009559/0.4732, allocations: 0.7993 MB / 398.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.981e-06/0.4732, allocations: 0 / 398.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.865e-06/0.4732, allocations: 0 / 398.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.6e-06/0.4733, allocations: 0 / 398.9 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/0.4733, allocations: 26.05 kB / 398.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.519e-06/0.4733, allocations: 3.938 kB / 398.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.808e-06/0.4733, allocations: 0 / 398.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000698/0.474, allocations: 0.5074 MB / 399.4 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003601/0.4744, allocations: 254.7 kB / 399.7 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.307e-05/0.4745, allocations: 15.28 kB / 399.7 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.4747, allocations: 14.55 kB / 399.7 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001094/0.4748, allocations: 28.55 kB / 399.7 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.709e-05/0.4749, allocations: 65.31 kB / 399.8 MB, free: 16.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004844/0.4754, allocations: 382.5 kB / 400.2 MB, free: 15.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.16e-07/0.4754, allocations: 0 / 400.2 MB, free: 15.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003688/0.4758, allocations: 42.97 kB / 400.2 MB, free: 15.99 MB / 314.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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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 Backend phase and start with SimCode phase: time 0.0001321/0.476, allocations: 123.7 kB / 400.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004541/0.4764, allocations: 428.4 kB / 400.8 MB, free: 15.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.4765, allocations: 3.938 kB / 400.8 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002816/0.4767, allocations: 374.5 kB / 401.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.4773, allocations: 96.69 kB / 401.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009858/0.4783, allocations: 0.5622 MB / 401.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.4786, allocations: 0.8161 MB / 402.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.083e-05/0.4787, allocations: 11.28 kB / 402.6 MB, free: 14.4 MB / 314.7 MB Notification: Performance of SimCode: time 1.55e-06/0.4787, allocations: 0 / 402.6 MB, free: 14.4 MB / 314.7 MB Notification: Performance of Templates: time 0.004435/0.4831, allocations: 2.622 MB / 405.2 MB, free: 14.07 MB / 314.7 MB