Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadModel(Modelica): time 1.894/1.894, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.777e-05/2.786e-05, allocations: 4 kB / 269.3 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08868/0.08872, allocations: 47.58 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3612/0.45, allocations: 81.26 MB / 398.2 MB, free: 6.844 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.4503, allocations: 71.12 kB / 398.3 MB, free: 6.805 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05303/0.5033, allocations: 16.49 MB / 414.7 MB, free: 9.055 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.151e-06/0.5034, allocations: 0 / 414.7 MB, free: 9.055 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.384e-05/0.5034, allocations: 4 kB / 414.8 MB, free: 9.051 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.0007115/0.5041, allocations: 0.6145 MB / 415.4 MB, free: 8.387 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5042, allocations: 8.031 kB / 415.4 MB, free: 8.379 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001019/0.5043, allocations: 35.62 kB / 415.4 MB, free: 8.344 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.5047, allocations: 252.2 kB / 415.7 MB, free: 8.066 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.5047, allocations: 15.44 kB / 415.7 MB, free: 8.055 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.5048, allocations: 8 kB / 415.7 MB, free: 8.047 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003143/0.5051, allocations: 132.8 kB / 415.8 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.729e-06/0.5051, allocations: 0 / 415.8 MB, free: 7.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.5052, allocations: 6.875 kB / 415.8 MB, free: 7.926 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-06/0.5052, allocations: 0 / 415.8 MB, free: 7.926 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.5054, allocations: 55.23 kB / 415.9 MB, free: 7.887 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008274/0.5062, allocations: 472.4 kB / 416.3 MB, free: 7.434 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.5064, allocations: 96.98 kB / 416.4 MB, free: 7.359 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.5066, allocations: 82.03 kB / 416.5 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.5066, allocations: 0 / 416.5 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000353/0.507, allocations: 198 kB / 416.7 MB, free: 7.109 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.601e-06/0.507, allocations: 4 kB / 416.7 MB, free: 7.105 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008282/0.5079, allocations: 406.2 kB / 417.1 MB, free: 6.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.508, allocations: 162.2 kB / 417.3 MB, free: 6.535 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008009/0.5088, allocations: 465.9 kB / 417.7 MB, free: 6.145 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.5089, allocations: 33.64 kB / 417.7 MB, free: 6.105 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.509, allocations: 99.25 kB / 417.8 MB, free: 6.012 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.069e-05/0.509, allocations: 27.64 kB / 417.9 MB, free: 5.988 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.5091, allocations: 3.984 kB / 417.9 MB, free: 5.984 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.5093, allocations: 326.5 kB / 418.2 MB, free: 5.664 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001552/0.5094, allocations: 57.3 kB / 418.2 MB, free: 5.625 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.5096, allocations: 61.38 kB / 418.3 MB, free: 5.586 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002211/0.5098, allocations: 167.8 kB / 418.5 MB, free: 5.418 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.541e-06/0.5098, allocations: 0 / 418.5 MB, free: 5.418 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000716/0.5106, allocations: 377.1 kB / 418.8 MB, free: 5.07 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.5107, allocations: 124.9 kB / 419 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.427e-06/0.5107, allocations: 0 / 419 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.5107, allocations: 0 / 419 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.977e-05/0.5108, allocations: 0 / 419 MB, free: 4.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.517e-06/0.5108, allocations: 4 kB / 419 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003008/0.5111, allocations: 15.98 kB / 419 MB, free: 4.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.5113, allocations: 59.89 kB / 419 MB, free: 4.852 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.0002487/0.5116, allocations: 248.8 kB / 419.3 MB, free: 4.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.445e-05/0.5116, allocations: 43.47 kB / 419.3 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.5118, allocations: 59.38 kB / 419.4 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.751e-06/0.5118, allocations: 0 / 419.4 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.481e-06/0.5119, allocations: 0 / 419.4 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.97e-06/0.5119, allocations: 4 kB / 419.4 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.5132, allocations: 0.7959 MB / 420.2 MB, free: 3.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.094e-06/0.5132, allocations: 4 kB / 420.2 MB, free: 3.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.245e-05/0.5132, allocations: 8.109 kB / 420.2 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.33e-06/0.5133, allocations: 0 / 420.2 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/0.5133, allocations: 15.94 kB / 420.2 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.812e-06/0.5133, allocations: 0 / 420.2 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.198e-06/0.5133, allocations: 0 / 420.2 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008606/0.5142, allocations: 0.5166 MB / 420.7 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004359/0.5147, allocations: 248.2 kB / 421 MB, free: 2.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/0.5147, allocations: 11.12 kB / 421 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.515, allocations: 11.98 kB / 421 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001295/0.5151, allocations: 26.34 kB / 421 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.066e-05/0.5152, allocations: 63.3 kB / 421.1 MB, free: 2.883 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006377/0.5159, allocations: 380.4 kB / 421.5 MB, free: 2.574 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.93e-07/0.5159, allocations: 0 / 421.5 MB, free: 2.574 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004132/0.5163, allocations: 51.95 kB / 421.5 MB, free: 2.523 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: 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.0001817/0.5165, allocations: 118.1 kB / 421.6 MB, free: 2.398 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006171/0.5171, allocations: 433.7 kB / 422 MB, free: 2.016 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.5172, allocations: 3.5 kB / 422 MB, free: 2.016 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004037/0.5176, allocations: 373.4 kB / 422.4 MB, free: 1.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000548/0.5181, allocations: 98.8 kB / 422.5 MB, free: 1.594 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.5194, allocations: 0.5245 MB / 423 MB, free: 1.102 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/0.52, allocations: 0.8116 MB / 423.8 MB, free: 280 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.529e-05/0.5201, allocations: 20.56 kB / 423.9 MB, free: 256 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.5201, allocations: 11.44 kB / 423.9 MB, free: 244 kB / 330.7 MB Notification: Performance of SimCode: time 1.642e-06/0.5201, allocations: 0 / 423.9 MB, free: 244 kB / 330.7 MB Notification: Performance of Templates: time 0.009869/0.53, allocations: 4.054 MB / 427.9 MB, free: 12.11 MB / 346.7 MB