Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadModel(Modelica): time 1.743/1.743, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.381e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.26, allocations: 38.77 MB / 263.8 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1296/0.3896, allocations: 71.7 MB / 335.5 MB, free: 2.008 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.3899, allocations: 71.97 kB / 335.6 MB, free: 1.938 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05353/0.4434, allocations: 16.46 MB / 352 MB, free: 1.484 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.4435, allocations: 0 / 352 MB, free: 1.484 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.398e-05/0.4435, allocations: 4 kB / 352 MB, free: 1.48 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.0007271/0.4442, allocations: 0.6135 MB / 352.6 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.4443, allocations: 8.031 kB / 352.6 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.034e-05/0.4444, allocations: 35.53 kB / 352.7 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.4448, allocations: 261.5 kB / 352.9 MB, free: 468 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.4448, allocations: 4 kB / 352.9 MB, free: 464 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.4449, allocations: 12 kB / 353 MB, free: 452 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000327/0.4452, allocations: 125.6 kB / 353.1 MB, free: 320 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.032e-06/0.4452, allocations: 0 / 353.1 MB, free: 320 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.167e-05/0.4453, allocations: 7.984 kB / 353.1 MB, free: 312 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.4453, allocations: 4 kB / 353.1 MB, free: 308 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001662/0.4455, allocations: 51.98 kB / 353.1 MB, free: 256 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008705/0.4464, allocations: 464.6 kB / 353.6 MB, free: 15.75 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.4466, allocations: 94.5 kB / 353.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.4468, allocations: 80.91 kB / 353.8 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.4468, allocations: 0 / 353.8 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003708/0.4472, allocations: 214.6 kB / 354 MB, free: 15.33 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.768e-06/0.4472, allocations: 0 / 354 MB, free: 15.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008331/0.4481, allocations: 388.2 kB / 354.4 MB, free: 14.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.4482, allocations: 174.1 kB / 354.5 MB, free: 14.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008025/0.449, allocations: 458.5 kB / 355 MB, free: 14.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.4491, allocations: 29.7 kB / 355 MB, free: 14.22 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.585e-05/0.4492, allocations: 105 kB / 355.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.4493, allocations: 27.66 kB / 355.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.4493, allocations: 8 kB / 355.1 MB, free: 14.08 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.4495, allocations: 322.8 kB / 355.5 MB, free: 13.76 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001729/0.4497, allocations: 60.52 kB / 355.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.4498, allocations: 55.98 kB / 355.6 MB, free: 13.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.4501, allocations: 162.8 kB / 355.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.724e-06/0.4501, allocations: 0 / 355.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007439/0.4508, allocations: 372.3 kB / 356.1 MB, free: 13.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.451, allocations: 126.8 kB / 356.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.277e-06/0.451, allocations: 0 / 356.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.451, allocations: 0 / 356.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.056e-05/0.4511, allocations: 4 kB / 356.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.707e-06/0.4511, allocations: 4 kB / 356.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.4513, allocations: 15.89 kB / 356.2 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.907e-05/0.4514, allocations: 56 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.0002523/0.4517, allocations: 250.7 kB / 356.5 MB, free: 12.56 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.121e-05/0.4518, allocations: 39.56 kB / 356.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.452, allocations: 63.44 kB / 356.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.665e-06/0.452, allocations: 0 / 356.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.24e-06/0.452, allocations: 8 kB / 356.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.548e-06/0.452, allocations: 0 / 356.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.4534, allocations: 0.7979 MB / 357.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-06/0.4534, allocations: 0 / 357.4 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.247e-05/0.4534, allocations: 3.984 kB / 357.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.4534, allocations: 0 / 357.4 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.232e-05/0.4535, allocations: 19.98 kB / 357.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.133e-06/0.4535, allocations: 0 / 357.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.4535, allocations: 0 / 357.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009251/0.4545, allocations: 0.5249 MB / 358 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/0.4549, allocations: 248.4 kB / 358.2 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.438e-05/0.455, allocations: 12 kB / 358.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.4553, allocations: 11.98 kB / 358.3 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.4554, allocations: 27.97 kB / 358.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-05/0.4555, allocations: 59.92 kB / 358.3 MB, free: 10.61 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006655/0.4562, allocations: 388.9 kB / 358.7 MB, free: 10.23 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.4562, allocations: 4 kB / 358.7 MB, free: 10.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004116/0.4566, allocations: 40 kB / 358.8 MB, free: 10.18 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.0001864/0.4568, allocations: 118 kB / 358.9 MB, free: 10.06 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006594/0.4575, allocations: 429.6 kB / 359.3 MB, free: 9.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.4575, allocations: 0 / 359.3 MB, free: 9.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.458, allocations: 377.5 kB / 359.7 MB, free: 9.172 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005755/0.4586, allocations: 105.1 kB / 359.8 MB, free: 9.074 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.4599, allocations: 0.5235 MB / 360.3 MB, free: 8.527 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/0.4605, allocations: 0.8065 MB / 361.1 MB, free: 7.691 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.559e-05/0.4606, allocations: 4.672 kB / 361.1 MB, free: 7.684 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.463e-05/0.4606, allocations: 11.44 kB / 361.1 MB, free: 7.672 MB / 314.7 MB Notification: Performance of SimCode: time 1.681e-06/0.4607, allocations: 0 / 361.1 MB, free: 7.672 MB / 314.7 MB Notification: Performance of Templates: time 0.009728/0.4704, allocations: 4.086 MB / 365.2 MB, free: 3.508 MB / 314.7 MB