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.801/1.801, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.269e-05/4.295e-05, allocations: 8 kB / 255.3 MB, free: 3.199 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09525/0.09532, allocations: 44.5 MB / 299.8 MB, free: 6.641 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3231/0.4185, allocations: 77.02 MB / 376.9 MB, free: 22.62 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/0.4187, allocations: 66.45 kB / 376.9 MB, free: 22.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04776/0.4665, allocations: 16.47 MB / 393.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.876e-06/0.4666, allocations: 7.938 kB / 393.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.132e-05/0.4666, allocations: 3.719 kB / 393.4 MB, free: 20.25 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.0004863/0.4671, allocations: 0.608 MB / 394 MB, free: 19.69 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.4671, allocations: 7.812 kB / 394 MB, free: 19.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.613e-05/0.4672, allocations: 39.11 kB / 394 MB, free: 19.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.4675, allocations: 255.7 kB / 394.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.4676, allocations: 11.75 kB / 394.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.4676, allocations: 7.812 kB / 394.3 MB, free: 19.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.4679, allocations: 129.2 kB / 394.4 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.694e-06/0.4679, allocations: 0 / 394.4 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.4679, allocations: 7.516 kB / 394.5 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-06/0.468, allocations: 3.906 kB / 394.5 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001422/0.4681, allocations: 54.14 kB / 394.5 MB, free: 19.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006813/0.4688, allocations: 469.6 kB / 395 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002114/0.469, allocations: 99.27 kB / 395.1 MB, free: 19.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.4692, allocations: 82.41 kB / 395.1 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.4693, allocations: 0 / 395.1 MB, free: 19.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002869/0.4696, allocations: 206.2 kB / 395.3 MB, free: 18.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.657e-06/0.4696, allocations: 0 / 395.3 MB, free: 18.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007017/0.4703, allocations: 396.4 kB / 395.7 MB, free: 18.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.4704, allocations: 173.6 kB / 395.9 MB, free: 18.56 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006374/0.471, allocations: 465.1 kB / 396.4 MB, free: 18.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.4711, allocations: 29.61 kB / 396.4 MB, free: 18.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.338e-05/0.4711, allocations: 163.1 kB / 396.5 MB, free: 18.19 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.4712, allocations: 27.19 kB / 396.6 MB, free: 18.17 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.4712, allocations: 3.938 kB / 396.6 MB, free: 18.17 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.354e-05/0.4713, allocations: 322.5 kB / 396.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.4715, allocations: 54.45 kB / 396.9 MB, free: 17.86 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.4716, allocations: 57.7 kB / 397 MB, free: 17.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001656/0.4718, allocations: 169.7 kB / 397.2 MB, free: 17.72 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4718, allocations: 3.938 kB / 397.2 MB, free: 17.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005962/0.4724, allocations: 368.4 kB / 397.5 MB, free: 17.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.12e-05/0.4725, allocations: 123 kB / 397.6 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.497e-06/0.4725, allocations: 0 / 397.6 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4725, allocations: 3.953 kB / 397.7 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.018e-05/0.4726, allocations: 0 / 397.7 MB, free: 17.43 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.48e-06/0.4726, allocations: 7.844 kB / 397.7 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.4728, allocations: 11.42 kB / 397.7 MB, free: 17.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.077e-05/0.4729, allocations: 62.69 kB / 397.7 MB, free: 17.41 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,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.0001679/0.4731, allocations: 240.8 kB / 398 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.076e-05/0.4731, allocations: 39.06 kB / 398 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001426/0.4733, allocations: 65.64 kB / 398.1 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.589e-06/0.4733, allocations: 0 / 398.1 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.236e-06/0.4733, allocations: 3.953 kB / 398.1 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.578e-06/0.4733, allocations: 0 / 398.1 MB, free: 17.13 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/0.4744, allocations: 0.8044 MB / 398.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.362e-06/0.4744, allocations: 4 kB / 398.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.953e-06/0.4744, allocations: 0 / 398.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.171e-06/0.4744, allocations: 0 / 398.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.779e-05/0.4745, allocations: 19 kB / 398.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4745, allocations: 0 / 398.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.546e-06/0.4745, allocations: 128 / 398.9 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007143/0.4752, allocations: 0.5134 MB / 399.4 MB, free: 16.38 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003463/0.4756, allocations: 246.6 kB / 399.7 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.4757, allocations: 15.38 kB / 399.7 MB, free: 16.24 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002061/0.4759, allocations: 15.38 kB / 399.7 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.476, allocations: 25.88 kB / 399.7 MB, free: 16.23 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.707e-05/0.4761, allocations: 61.61 kB / 399.8 MB, free: 16.23 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005333/0.4767, allocations: 384.8 kB / 400.1 MB, free: 16.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.23e-07/0.4767, allocations: 3.938 kB / 400.1 MB, free: 16.08 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003868/0.4771, allocations: 43.03 kB / 400.2 MB, free: 16.08 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,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.0001403/0.4772, allocations: 117.9 kB / 400.3 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004854/0.4777, allocations: 434.7 kB / 400.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.008e-06/0.4778, allocations: 3.938 kB / 400.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00028/0.478, allocations: 368 kB / 401.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00056/0.4786, allocations: 98.17 kB / 401.2 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.4798, allocations: 0.5716 MB / 401.8 MB, free: 15.23 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003688/0.4801, allocations: 0.8095 MB / 402.6 MB, free: 14.5 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.051e-05/0.4802, allocations: 15.25 kB / 402.6 MB, free: 14.49 MB / 314.7 MB Notification: Performance of SimCode: time 1.889e-06/0.4802, allocations: 0 / 402.6 MB, free: 14.49 MB / 314.7 MB Notification: Performance of Templates: time 0.00462/0.4848, allocations: 2.626 MB / 405.2 MB, free: 14.16 MB / 314.7 MB