Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadModel(Modelica): time 1.882/1.882, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.984e-05/2.999e-05, allocations: 4 kB / 255.4 MB, free: 2.738 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07777/0.07783, allocations: 44.5 MB / 299.9 MB, free: 6.172 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3463/0.4242, allocations: 77.02 MB / 376.9 MB, free: 22.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.4245, allocations: 65.81 kB / 377 MB, free: 22.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04606/0.4705, allocations: 16.48 MB / 393.5 MB, free: 20.05 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.975e-06/0.4706, allocations: 0 / 393.5 MB, free: 20.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.4706, allocations: 3.906 kB / 393.5 MB, free: 20.05 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.0005023/0.4711, allocations: 0.6093 MB / 394.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4712, allocations: 7.812 kB / 394.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.4713, allocations: 39.11 kB / 394.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002654/0.4715, allocations: 251.6 kB / 394.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.4716, allocations: 7.812 kB / 394.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.4716, allocations: 11.75 kB / 394.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.4719, allocations: 129.9 kB / 394.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.82e-06/0.4719, allocations: 0 / 394.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/0.472, allocations: 3.906 kB / 394.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.472, allocations: 0 / 394.5 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001394/0.4721, allocations: 58.17 kB / 394.6 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006527/0.4728, allocations: 462.2 kB / 395 MB, free: 18.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.473, allocations: 96.14 kB / 395.1 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.4732, allocations: 81.23 kB / 395.2 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.4732, allocations: 0 / 395.2 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.4735, allocations: 206.9 kB / 395.4 MB, free: 18.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.772e-06/0.4735, allocations: 0 / 395.4 MB, free: 18.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006692/0.4742, allocations: 397.1 kB / 395.8 MB, free: 18.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.4743, allocations: 173.3 kB / 395.9 MB, free: 18.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006949/0.475, allocations: 463 kB / 396.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.475, allocations: 33.33 kB / 396.4 MB, free: 18.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.4751, allocations: 96.34 kB / 396.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.4751, allocations: 27.16 kB / 396.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.4752, allocations: 7.875 kB / 396.6 MB, free: 18.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.927e-05/0.4752, allocations: 321.7 kB / 396.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.4754, allocations: 56.27 kB / 396.9 MB, free: 17.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001267/0.4755, allocations: 60.69 kB / 397 MB, free: 17.74 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.4757, allocations: 169 kB / 397.2 MB, free: 17.61 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.538e-06/0.4757, allocations: 0 / 397.2 MB, free: 17.61 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005697/0.4763, allocations: 367.7 kB / 397.5 MB, free: 17.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.63e-05/0.4764, allocations: 124.5 kB / 397.6 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.293e-06/0.4764, allocations: 160 / 397.6 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.4764, allocations: 3.953 kB / 397.6 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.852e-05/0.4765, allocations: 3.812 kB / 397.6 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.94e-06/0.4765, allocations: 3.984 kB / 397.6 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.4767, allocations: 21.98 kB / 397.7 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/0.4768, allocations: 62.12 kB / 397.7 MB, free: 17.3 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.0001444/0.4769, allocations: 246.1 kB / 398 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.656e-05/0.477, allocations: 35.16 kB / 398 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001364/0.4771, allocations: 65.31 kB / 398.1 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.041e-06/0.4772, allocations: 3.969 kB / 398.1 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.948e-06/0.4772, allocations: 3.953 kB / 398.1 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.564e-06/0.4772, allocations: 0 / 398.1 MB, free: 17.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.4782, allocations: 0.7946 MB / 398.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.743e-06/0.4783, allocations: 0 / 398.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.03e-05/0.4783, allocations: 0 / 398.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-06/0.4783, allocations: 3.516 kB / 398.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.4784, allocations: 15.8 kB / 398.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.4784, allocations: 3.938 kB / 398.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.361e-06/0.4784, allocations: 0 / 398.9 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007285/0.4791, allocations: 0.5167 MB / 399.4 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004055/0.4796, allocations: 257.4 kB / 399.7 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.412e-05/0.4796, allocations: 11.34 kB / 399.7 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.4799, allocations: 15 kB / 399.7 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.48, allocations: 27.67 kB / 399.7 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.82e-05/0.4801, allocations: 58.66 kB / 399.8 MB, free: 16.11 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005639/0.4807, allocations: 388.6 kB / 400.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.85e-07/0.4807, allocations: 0 / 400.2 MB, free: 15.96 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004002/0.4811, allocations: 46.38 kB / 400.2 MB, free: 15.96 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.0001346/0.4813, allocations: 116.7 kB / 400.3 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005006/0.4818, allocations: 435.3 kB / 400.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.037e-06/0.4818, allocations: 0 / 400.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.4821, allocations: 377.6 kB / 401.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/0.4827, allocations: 91.58 kB / 401.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/0.4837, allocations: 0.5305 MB / 401.7 MB, free: 15.14 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.4842, allocations: 0.8106 MB / 402.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.871e-05/0.4843, allocations: 4.484 kB / 402.5 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.4844, allocations: 11.28 kB / 402.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of SimCode: time 2.276e-06/0.4844, allocations: 0 / 402.5 MB, free: 14.4 MB / 314.7 MB Notification: Performance of Templates: time 0.0129/0.4973, allocations: 4.066 MB / 406.6 MB, free: 13.84 MB / 314.7 MB