Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadModel(Modelica): time 2.048/2.048, allocations: 225.8 MB / 239.4 MB, free: 1.238 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.924e-05/3.944e-05, allocations: 4 kB / 292.6 MB, free: 11.49 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 50.42 MB / 343.1 MB, free: 9.062 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3669/0.4718, allocations: 82.14 MB / 425.2 MB, free: 8.324 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/0.4721, allocations: 70.77 kB / 425.3 MB, free: 8.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04608/0.5182, allocations: 16.7 MB / 442 MB, free: 3.309 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.908e-06/0.5182, allocations: 4 kB / 442 MB, free: 3.305 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.196e-05/0.5182, allocations: 3.719 kB / 442 MB, free: 3.305 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.0004851/0.5187, allocations: 0.6115 MB / 442.6 MB, free: 2.707 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.5188, allocations: 7.844 kB / 442.6 MB, free: 2.707 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.267e-05/0.5189, allocations: 38.09 kB / 442.6 MB, free: 2.691 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002628/0.5191, allocations: 258.3 kB / 442.9 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.5192, allocations: 3.812 kB / 442.9 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.5192, allocations: 11.06 kB / 442.9 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000272/0.5195, allocations: 133 kB / 443 MB, free: 2.391 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.844e-06/0.5195, allocations: 0 / 443 MB, free: 2.391 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.852e-05/0.5196, allocations: 3.844 kB / 443 MB, free: 2.391 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.756e-06/0.5196, allocations: 0 / 443 MB, free: 2.391 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.5197, allocations: 58.36 kB / 443.1 MB, free: 2.387 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006441/0.5204, allocations: 465.7 kB / 443.6 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.5206, allocations: 92.94 kB / 443.7 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001506/0.5208, allocations: 83.94 kB / 443.7 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.5208, allocations: 0 / 443.7 MB, free: 1.988 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00028/0.5211, allocations: 216 kB / 443.9 MB, free: 1.836 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 3.084e-06/0.5211, allocations: 0 / 443.9 MB, free: 1.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006862/0.5218, allocations: 394.1 kB / 444.3 MB, free: 1.637 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.5219, allocations: 173.2 kB / 444.5 MB, free: 1.441 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007021/0.5226, allocations: 468.5 kB / 445 MB, free: 1.211 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.5226, allocations: 29.55 kB / 445 MB, free: 1.18 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.667e-05/0.5227, allocations: 96.3 kB / 445.1 MB, free: 1.094 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.613e-05/0.5228, allocations: 31.27 kB / 445.1 MB, free: 1.074 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.063e-05/0.5228, allocations: 3.875 kB / 445.1 MB, free: 1.074 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.761e-05/0.5229, allocations: 322.3 kB / 445.4 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.523, allocations: 54.17 kB / 445.5 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.5232, allocations: 53.38 kB / 445.5 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001679/0.5234, allocations: 175.6 kB / 445.7 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.5234, allocations: 3.953 kB / 445.7 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006165/0.524, allocations: 372.6 kB / 446.1 MB, free: 428 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.273e-05/0.5241, allocations: 122.4 kB / 446.2 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.226e-06/0.5241, allocations: 3.781 kB / 446.2 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.5241, allocations: 0 / 446.2 MB, free: 296 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.164e-05/0.5242, allocations: 3.938 kB / 446.2 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.095e-06/0.5242, allocations: 0 / 446.2 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.5244, allocations: 15.52 kB / 446.2 MB, free: 288 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.348e-05/0.5245, allocations: 58.12 kB / 446.3 MB, free: 280 kB / 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,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.0001647/0.5247, allocations: 248.8 kB / 446.5 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.526e-05/0.5247, allocations: 46.61 kB / 446.6 MB, free: 8 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.525, allocations: 62.41 kB / 446.6 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.991e-06/0.525, allocations: 0 / 446.6 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.2e-06/0.525, allocations: 4.094 kB / 446.6 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.525, allocations: 3.938 kB / 446.6 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.5263, allocations: 0.8014 MB / 447.4 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.176e-06/0.5263, allocations: 4 kB / 447.4 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.068e-05/0.5264, allocations: 0 / 447.4 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.986e-06/0.5264, allocations: 3.688 kB / 447.4 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.264e-05/0.5264, allocations: 7.688 kB / 447.4 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.914e-06/0.5264, allocations: 3.844 kB / 447.4 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.028e-06/0.5264, allocations: 0 / 447.4 MB, free: 15.42 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007891/0.5272, allocations: 0.5102 MB / 448 MB, free: 15.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004455/0.5277, allocations: 249 kB / 448.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.387e-05/0.5278, allocations: 15.73 kB / 448.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.528, allocations: 14.84 kB / 448.2 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.5282, allocations: 23.28 kB / 448.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.868e-05/0.5283, allocations: 65.36 kB / 448.3 MB, free: 14.91 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000601/0.5289, allocations: 383.9 kB / 448.7 MB, free: 14.74 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.5289, allocations: 0 / 448.7 MB, free: 14.74 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003892/0.5293, allocations: 41.84 kB / 448.7 MB, free: 14.74 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,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.0001787/0.5295, allocations: 124.1 kB / 448.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005811/0.5301, allocations: 439.1 kB / 449.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.118e-06/0.5301, allocations: 0 / 449.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003723/0.5305, allocations: 368.9 kB / 449.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005394/0.531, allocations: 98.12 kB / 449.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.5322, allocations: 0.5188 MB / 450.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006308/0.5329, allocations: 0.819 MB / 451.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.801e-05/0.533, allocations: 12.95 kB / 451.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.533, allocations: 11.22 kB / 451.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of SimCode: time 1.769e-06/0.533, allocations: 0 / 451.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of Templates: time 0.009738/0.5428, allocations: 4.07 MB / 455.2 MB, free: 10.34 MB / 346.7 MB