Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadModel(Modelica): time 1.772/1.772, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.024e-05/4.034e-05, allocations: 4 kB / 225 MB, free: 2.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.249, allocations: 38.76 MB / 263.8 MB, free: 9.852 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.3569, allocations: 71.72 MB / 335.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002309/0.3572, allocations: 67.95 kB / 335.6 MB, free: 1.961 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05389/0.4111, allocations: 16.46 MB / 352 MB, free: 1.516 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.145e-06/0.4112, allocations: 0 / 352 MB, free: 1.516 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.418e-05/0.4112, allocations: 4 kB / 352 MB, free: 1.512 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.0007239/0.4119, allocations: 0.6096 MB / 352.6 MB, free: 0.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.412, allocations: 8.031 kB / 352.6 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.425e-05/0.4121, allocations: 43.47 kB / 352.7 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.4125, allocations: 257.5 kB / 352.9 MB, free: 500 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.245e-05/0.4125, allocations: 12 kB / 352.9 MB, free: 488 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.668e-05/0.4126, allocations: 7.938 kB / 353 MB, free: 480 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.4129, allocations: 129.6 kB / 353.1 MB, free: 344 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.463e-06/0.4129, allocations: 0 / 353.1 MB, free: 344 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.149e-05/0.413, allocations: 4 kB / 353.1 MB, free: 340 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.5e-06/0.413, allocations: 0 / 353.1 MB, free: 340 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001694/0.4132, allocations: 59.97 kB / 353.1 MB, free: 280 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008367/0.414, allocations: 460.5 kB / 353.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.4142, allocations: 94.56 kB / 353.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001828/0.4144, allocations: 80.91 kB / 353.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.4145, allocations: 0 / 353.8 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003634/0.4148, allocations: 206.6 kB / 354 MB, free: 15.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.656e-06/0.4149, allocations: 0 / 354 MB, free: 15.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.00083/0.4157, allocations: 396.1 kB / 354.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.4159, allocations: 174.1 kB / 354.5 MB, free: 14.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008028/0.4167, allocations: 458.5 kB / 355 MB, free: 14.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.4167, allocations: 33.7 kB / 355 MB, free: 14.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.012e-05/0.4168, allocations: 97.05 kB / 355.1 MB, free: 14.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.899e-05/0.4169, allocations: 31.62 kB / 355.1 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.931e-05/0.4169, allocations: 4 kB / 355.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.4171, allocations: 334.8 kB / 355.5 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001697/0.4173, allocations: 56.52 kB / 355.5 MB, free: 13.72 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.4175, allocations: 59.92 kB / 355.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002272/0.4177, allocations: 168.6 kB / 355.7 MB, free: 13.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.499e-06/0.4177, allocations: 0 / 355.7 MB, free: 13.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007233/0.4184, allocations: 360.3 kB / 356.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.4186, allocations: 126.8 kB / 356.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.494e-06/0.4186, allocations: 0 / 356.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.4186, allocations: 0 / 356.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.85e-05/0.4187, allocations: 4 kB / 356.2 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.228e-06/0.4187, allocations: 160 / 356.2 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001915/0.4189, allocations: 19.91 kB / 356.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.522e-05/0.419, allocations: 59.92 kB / 356.3 MB, free: 12.86 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.0002493/0.4193, allocations: 250.7 kB / 356.5 MB, free: 12.59 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.003e-05/0.4193, allocations: 35.62 kB / 356.6 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001577/0.4195, allocations: 67.25 kB / 356.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-06/0.4195, allocations: 0 / 356.6 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.071e-06/0.4195, allocations: 4 kB / 356.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.731e-06/0.4195, allocations: 0 / 356.6 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001336/0.4209, allocations: 0.798 MB / 357.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.542e-06/0.4209, allocations: 3.938 kB / 357.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.702e-06/0.4209, allocations: 4 kB / 357.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.92e-06/0.421, allocations: 0 / 357.4 MB, free: 11.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.749e-05/0.421, allocations: 11.98 kB / 357.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.421, allocations: 4 kB / 357.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.267e-06/0.421, allocations: 0 / 357.5 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008817/0.4219, allocations: 0.521 MB / 358 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004514/0.4224, allocations: 256.4 kB / 358.2 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.492e-05/0.4225, allocations: 12 kB / 358.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002164/0.4227, allocations: 8 kB / 358.3 MB, free: 10.72 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.4229, allocations: 31.95 kB / 358.3 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.083e-05/0.423, allocations: 55.94 kB / 358.3 MB, free: 10.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000654/0.4236, allocations: 384.9 kB / 358.7 MB, free: 10.26 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.19e-07/0.4237, allocations: 4 kB / 358.7 MB, free: 10.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004094/0.4241, allocations: 48 kB / 358.8 MB, free: 10.21 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.0001801/0.4243, allocations: 119.1 kB / 358.9 MB, free: 10.08 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006533/0.4249, allocations: 429.5 kB / 359.3 MB, free: 9.613 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.782e-06/0.425, allocations: 0 / 359.3 MB, free: 9.613 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004355/0.4254, allocations: 377.6 kB / 359.7 MB, free: 9.195 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005658/0.426, allocations: 97.16 kB / 359.8 MB, free: 9.105 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.4272, allocations: 0.5194 MB / 360.3 MB, free: 8.562 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006387/0.4279, allocations: 0.8143 MB / 361.1 MB, free: 7.719 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.219e-05/0.428, allocations: 4.672 kB / 361.1 MB, free: 7.711 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.389e-05/0.428, allocations: 11.44 kB / 361.1 MB, free: 7.699 MB / 314.7 MB Notification: Performance of SimCode: time 1.839e-06/0.428, allocations: 0 / 361.1 MB, free: 7.699 MB / 314.7 MB Notification: Performance of Templates: time 0.009969/0.438, allocations: 4.078 MB / 365.2 MB, free: 3.543 MB / 314.7 MB