Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.89e-05/1.93e-05, allocations: 4 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2634, allocations: 44.5 MB / 294.1 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.3814, allocations: 76.37 MB / 370.5 MB, free: 5.613 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.3817, allocations: 79.89 kB / 370.5 MB, free: 5.535 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0521/0.4338, allocations: 16.34 MB / 386.9 MB, free: 5.215 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.206e-06/0.4339, allocations: 0 / 386.9 MB, free: 5.215 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.4339, allocations: 8 kB / 386.9 MB, free: 5.207 MB / 330.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.0007491/0.4347, allocations: 0.6135 MB / 387.5 MB, free: 4.523 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4347, allocations: 12.03 kB / 387.5 MB, free: 4.512 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.755e-05/0.4348, allocations: 39.58 kB / 387.6 MB, free: 4.473 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.4352, allocations: 251.7 kB / 387.8 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.725e-05/0.4353, allocations: 4 kB / 387.8 MB, free: 4.184 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.4353, allocations: 8 kB / 387.8 MB, free: 4.176 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001835/0.4355, allocations: 47.98 kB / 387.9 MB, free: 4.129 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002775/0.4358, allocations: 131.3 kB / 388 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.4358, allocations: 0 / 388 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.4359, allocations: 4 kB / 388 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.273e-06/0.4359, allocations: 0 / 388 MB, free: 3.992 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008297/0.4367, allocations: 437 kB / 388.4 MB, free: 3.527 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002125/0.437, allocations: 94.5 kB / 388.5 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001638/0.4372, allocations: 80.84 kB / 388.6 MB, free: 3.344 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.4372, allocations: 4 kB / 388.6 MB, free: 3.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00035/0.4375, allocations: 198.7 kB / 388.8 MB, free: 3.121 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.822e-06/0.4376, allocations: 0 / 388.8 MB, free: 3.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007264/0.4383, allocations: 273.2 kB / 389.1 MB, free: 2.848 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.4384, allocations: 166.2 kB / 389.2 MB, free: 2.648 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007954/0.4393, allocations: 448.8 kB / 389.7 MB, free: 2.203 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.4393, allocations: 33.64 kB / 389.7 MB, free: 2.164 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.4394, allocations: 167.9 kB / 389.9 MB, free: 2 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.887e-05/0.4395, allocations: 27.66 kB / 389.9 MB, free: 1.973 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.4396, allocations: 4 kB / 389.9 MB, free: 1.969 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4397, allocations: 318.8 kB / 390.2 MB, free: 1.648 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.4399, allocations: 48 kB / 390.2 MB, free: 1.602 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.44, allocations: 55.97 kB / 390.3 MB, free: 1.547 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.4402, allocations: 44.67 kB / 390.3 MB, free: 1.504 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.702e-06/0.4402, allocations: 0 / 390.3 MB, free: 1.504 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006098/0.4408, allocations: 242.2 kB / 390.6 MB, free: 1.262 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.4409, allocations: 126.8 kB / 390.7 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.604e-06/0.441, allocations: 4 kB / 390.7 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.441, allocations: 0 / 390.7 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.965e-05/0.441, allocations: 0 / 390.7 MB, free: 1.109 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.109e-06/0.441, allocations: 3.953 kB / 390.7 MB, free: 1.105 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.4413, allocations: 15.98 kB / 390.7 MB, free: 1.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-05/0.4414, allocations: 55.94 kB / 390.8 MB, free: 1.035 MB / 330.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,nXFERGATE.nextstate,nXFERGATE.yy,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.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.0002637/0.4417, allocations: 249.9 kB / 391 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.55e-05/0.4417, allocations: 35.53 kB / 391.1 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.442, allocations: 67.44 kB / 391.1 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.225e-06/0.442, allocations: 0 / 391.1 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.977e-06/0.442, allocations: 112 / 391.1 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.442, allocations: 7.891 kB / 391.1 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.4432, allocations: 0.6435 MB / 391.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4433, allocations: 0 / 391.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.509e-06/0.4433, allocations: 0 / 391.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.532e-06/0.4433, allocations: 0 / 391.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.278e-05/0.4433, allocations: 15.98 kB / 391.8 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.265e-06/0.4434, allocations: 4 kB / 391.8 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.536e-06/0.4434, allocations: 3.984 kB / 391.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007634/0.4442, allocations: 387 kB / 392.2 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005018/0.4447, allocations: 248.3 kB / 392.4 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/0.4448, allocations: 12 kB / 392.4 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002191/0.445, allocations: 15.92 kB / 392.4 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001426/0.4452, allocations: 27.97 kB / 392.5 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.889e-05/0.4453, allocations: 63.88 kB / 392.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006643/0.446, allocations: 378.6 kB / 392.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.77e-07/0.446, allocations: 0 / 392.9 MB, free: 14.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004214/0.4464, allocations: 40 kB / 392.9 MB, free: 14.75 MB / 346.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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.0001964/0.4466, allocations: 119.1 kB / 393.1 MB, free: 14.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000621/0.4472, allocations: 413.6 kB / 393.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4473, allocations: 0 / 393.5 MB, free: 14.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004302/0.4477, allocations: 369.5 kB / 393.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005861/0.4483, allocations: 101.3 kB / 393.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.4497, allocations: 0.561 MB / 394.5 MB, free: 13.08 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/0.4503, allocations: 0.8101 MB / 395.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.816e-05/0.4504, allocations: 7.438 kB / 395.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of SimCode: time 1.767e-06/0.4504, allocations: 7.938 kB / 395.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of Templates: time 0.005951/0.4564, allocations: 2.612 MB / 397.9 MB, free: 9.543 MB / 346.7 MB