Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadModel(Modelica): time 1.869/1.869, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.925e-05/3.939e-05, allocations: 4 kB / 269.4 MB, free: 6.414 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0969/0.09698, allocations: 47.57 MB / 316.9 MB, free: 6.754 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3719/0.4689, allocations: 81.26 MB / 398.2 MB, free: 6.824 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002175/0.4692, allocations: 66.52 kB / 398.3 MB, free: 6.789 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05359/0.5228, allocations: 16.5 MB / 414.8 MB, free: 9.031 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.998e-06/0.5229, allocations: 0 / 414.8 MB, free: 9.031 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.5229, allocations: 4 kB / 414.8 MB, free: 9.027 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.0007273/0.5236, allocations: 0.6201 MB / 415.4 MB, free: 8.359 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.5237, allocations: 12.03 kB / 415.4 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.685e-05/0.5238, allocations: 31.62 kB / 415.4 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003671/0.5242, allocations: 249.4 kB / 415.7 MB, free: 8.043 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.5242, allocations: 11.94 kB / 415.7 MB, free: 8.031 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.188e-05/0.5243, allocations: 15.92 kB / 415.7 MB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003074/0.5246, allocations: 120.8 kB / 415.8 MB, free: 7.914 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.34e-06/0.5246, allocations: 0 / 415.8 MB, free: 7.914 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.5247, allocations: 8 kB / 415.8 MB, free: 7.906 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.791e-06/0.5247, allocations: 0 / 415.8 MB, free: 7.906 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.5248, allocations: 55.23 kB / 415.9 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008274/0.5257, allocations: 465.8 kB / 416.3 MB, free: 7.422 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.5259, allocations: 93.31 kB / 416.4 MB, free: 7.352 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001789/0.5261, allocations: 86.41 kB / 416.5 MB, free: 7.293 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.5261, allocations: 3.984 kB / 416.5 MB, free: 7.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003648/0.5265, allocations: 204.6 kB / 416.7 MB, free: 7.086 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 2.859e-06/0.5265, allocations: 0 / 416.7 MB, free: 7.086 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008378/0.5274, allocations: 399.5 kB / 417.1 MB, free: 6.715 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.5275, allocations: 177 kB / 417.3 MB, free: 6.512 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008467/0.5284, allocations: 461.8 kB / 417.7 MB, free: 6.121 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.5285, allocations: 37.19 kB / 417.8 MB, free: 6.082 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.5286, allocations: 102.3 kB / 417.9 MB, free: 5.984 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.5286, allocations: 22.72 kB / 417.9 MB, free: 5.965 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.5287, allocations: 0 / 417.9 MB, free: 5.965 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.5289, allocations: 326.2 kB / 418.2 MB, free: 5.645 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.529, allocations: 60.61 kB / 418.3 MB, free: 5.602 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.5292, allocations: 62.56 kB / 418.3 MB, free: 5.562 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002278/0.5294, allocations: 163.3 kB / 418.5 MB, free: 5.398 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.712e-06/0.5295, allocations: 0 / 418.5 MB, free: 5.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007216/0.5302, allocations: 378.6 kB / 418.8 MB, free: 5.051 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001204/0.5303, allocations: 125.2 kB / 419 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.782e-06/0.5303, allocations: 0 / 419 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.5304, allocations: 0 / 419 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.008e-05/0.5304, allocations: 0 / 419 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.557e-06/0.5304, allocations: 0 / 419 MB, free: 4.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/0.5306, allocations: 19.05 kB / 419 MB, free: 4.891 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.9e-05/0.5307, allocations: 59.89 kB / 419 MB, free: 4.832 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,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.0002511/0.531, allocations: 256.4 kB / 419.3 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.627e-05/0.5311, allocations: 39.53 kB / 419.3 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.5313, allocations: 66.17 kB / 419.4 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.005e-06/0.5313, allocations: 0 / 419.4 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.911e-06/0.5313, allocations: 0 / 419.4 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.5313, allocations: 0 / 419.4 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.5326, allocations: 0.7919 MB / 420.2 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.425e-06/0.5327, allocations: 0 / 420.2 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.756e-06/0.5327, allocations: 128 / 420.2 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.944e-06/0.5327, allocations: 4 kB / 420.2 MB, free: 3.691 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.345e-05/0.5328, allocations: 23.55 kB / 420.2 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.807e-06/0.5328, allocations: 0 / 420.2 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.965e-06/0.5328, allocations: 0 / 420.2 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008665/0.5337, allocations: 0.5143 MB / 420.7 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004433/0.5341, allocations: 247.5 kB / 421 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.556e-05/0.5342, allocations: 14.94 kB / 421 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.5344, allocations: 11.98 kB / 421 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.5346, allocations: 30.47 kB / 421 MB, free: 2.914 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.953e-05/0.5347, allocations: 59.19 kB / 421.1 MB, free: 2.859 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006589/0.5354, allocations: 383.8 kB / 421.5 MB, free: 2.547 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.66e-07/0.5354, allocations: 4 kB / 421.5 MB, free: 2.543 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004159/0.5358, allocations: 43.95 kB / 421.5 MB, free: 2.5 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,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.0001912/0.536, allocations: 120.4 kB / 421.6 MB, free: 2.375 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009494/0.537, allocations: 434.8 kB / 422 MB, free: 1.988 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.537, allocations: 4 kB / 422.1 MB, free: 1.984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006205/0.5376, allocations: 374.7 kB / 422.4 MB, free: 1.648 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006732/0.5383, allocations: 96.64 kB / 422.5 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.5397, allocations: 0.5258 MB / 423 MB, free: 1.074 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000641/0.5403, allocations: 0.809 MB / 423.8 MB, free: 252 kB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.873e-05/0.5404, allocations: 12.64 kB / 423.9 MB, free: 236 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.5405, allocations: 15.44 kB / 423.9 MB, free: 220 kB / 330.7 MB Notification: Performance of SimCode: time 1.835e-06/0.5405, allocations: 0 / 423.9 MB, free: 220 kB / 330.7 MB Notification: Performance of Templates: time 0.009882/0.5504, allocations: 4.071 MB / 427.9 MB, free: 12.07 MB / 346.7 MB