Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadModel(Modelica): time 1.814/1.814, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.853e-05/2.905e-05, allocations: 4 kB / 225 MB, free: 2.789 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2132, allocations: 38.77 MB / 263.8 MB, free: 9.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1084/0.3217, allocations: 71.71 MB / 335.5 MB, free: 2.062 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.3219, allocations: 63.97 kB / 335.5 MB, free: 2 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0549/0.3768, allocations: 16.47 MB / 352 MB, free: 1.543 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.802e-06/0.3769, allocations: 0 / 352 MB, free: 1.543 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.3769, allocations: 4 kB / 352 MB, free: 1.539 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007426/0.3777, allocations: 0.6096 MB / 352.6 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3777, allocations: 12.03 kB / 352.6 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.639e-05/0.3778, allocations: 35.53 kB / 352.7 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.3782, allocations: 253.5 kB / 352.9 MB, free: 0.5234 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.3783, allocations: 12 kB / 352.9 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.3783, allocations: 8 kB / 352.9 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.3787, allocations: 129.6 kB / 353.1 MB, free: 380 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3787, allocations: 0 / 353.1 MB, free: 380 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.3787, allocations: 11.97 kB / 353.1 MB, free: 368 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.3788, allocations: 0 / 353.1 MB, free: 368 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000166/0.3789, allocations: 55.98 kB / 353.1 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009145/0.3799, allocations: 452.6 kB / 353.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.3801, allocations: 102.5 kB / 353.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/0.3803, allocations: 80.91 kB / 353.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.3803, allocations: 0 / 353.7 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003728/0.3807, allocations: 210.6 kB / 353.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 5.347e-06/0.3807, allocations: 4.109 kB / 353.9 MB, free: 15.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008259/0.3816, allocations: 392 kB / 354.3 MB, free: 14.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.3817, allocations: 174.1 kB / 354.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008766/0.3826, allocations: 462.5 kB / 355 MB, free: 14.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.726e-05/0.3827, allocations: 29.7 kB / 355 MB, free: 14.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.3828, allocations: 163.5 kB / 355.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.3829, allocations: 35.62 kB / 355.2 MB, free: 14.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.3829, allocations: 4 kB / 355.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3831, allocations: 318.8 kB / 355.5 MB, free: 13.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.3833, allocations: 55.98 kB / 355.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.3834, allocations: 63.98 kB / 355.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/0.3837, allocations: 165.1 kB / 355.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.123e-06/0.3837, allocations: 0 / 355.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007561/0.3845, allocations: 368.3 kB / 356.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001451/0.3846, allocations: 122.8 kB / 356.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.826e-06/0.3846, allocations: 0 / 356.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3847, allocations: 0 / 356.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.375e-05/0.3847, allocations: 4 kB / 356.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.199e-06/0.3847, allocations: 0 / 356.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.3849, allocations: 15.98 kB / 356.3 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.3851, allocations: 59.94 kB / 356.3 MB, free: 12.84 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.000254/0.3853, allocations: 246 kB / 356.6 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.556e-05/0.3854, allocations: 35.62 kB / 356.6 MB, free: 12.53 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002027/0.3856, allocations: 59.44 kB / 356.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.3856, allocations: 4 kB / 356.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.731e-06/0.3857, allocations: 0 / 356.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.711e-06/0.3857, allocations: 0 / 356.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/0.3871, allocations: 0.8096 MB / 357.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.44e-06/0.3871, allocations: 0 / 357.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.143e-05/0.3872, allocations: 0 / 357.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.748e-06/0.3872, allocations: 0 / 357.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.272e-05/0.3872, allocations: 15.98 kB / 357.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.748e-06/0.3872, allocations: 0 / 357.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.703e-06/0.3873, allocations: 3.938 kB / 357.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008997/0.3882, allocations: 0.5215 MB / 358 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004799/0.3887, allocations: 256.3 kB / 358.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.4e-05/0.3888, allocations: 8 kB / 358.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.389, allocations: 16.17 kB / 358.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.3891, allocations: 27.95 kB / 358.3 MB, free: 10.67 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.063e-05/0.3893, allocations: 63.94 kB / 358.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006612/0.3899, allocations: 384.9 kB / 358.8 MB, free: 10.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.7e-07/0.3899, allocations: 0 / 358.8 MB, free: 10.23 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004152/0.3904, allocations: 44 kB / 358.8 MB, free: 10.19 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.0001853/0.3906, allocations: 121.9 kB / 358.9 MB, free: 10.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000647/0.3912, allocations: 425.6 kB / 359.3 MB, free: 9.594 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.3912, allocations: 0 / 359.3 MB, free: 9.594 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004415/0.3917, allocations: 377.5 kB / 359.7 MB, free: 9.176 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005509/0.3923, allocations: 97.33 kB / 359.8 MB, free: 9.086 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.3936, allocations: 0.5716 MB / 360.4 MB, free: 8.484 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000629/0.3942, allocations: 0.8104 MB / 361.2 MB, free: 7.645 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.3943, allocations: 7.438 kB / 361.2 MB, free: 7.637 MB / 314.7 MB Notification: Performance of SimCode: time 1.781e-06/0.3943, allocations: 4 kB / 361.2 MB, free: 7.633 MB / 314.7 MB Notification: Performance of Templates: time 0.00626/0.4006, allocations: 2.625 MB / 363.8 MB, free: 4.953 MB / 314.7 MB