Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.955e-05/2.966e-05, allocations: 4 kB / 292.7 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08984/0.08989, allocations: 50.41 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.414/0.504, allocations: 82.39 MB / 425.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.5042, allocations: 74.14 kB / 425.5 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05398/0.5582, allocations: 16.7 MB / 442.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.298e-06/0.5583, allocations: 0 / 442.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.643e-05/0.5583, allocations: 4 kB / 442.2 MB, free: 13.77 MB / 362.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.0007143/0.559, allocations: 0.6175 MB / 442.9 MB, free: 13.1 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.5591, allocations: 8.031 kB / 442.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.576e-05/0.5592, allocations: 35.62 kB / 442.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003754/0.5596, allocations: 259.6 kB / 443.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.5596, allocations: 7.938 kB / 443.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.026e-05/0.5597, allocations: 8 kB / 443.2 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.56, allocations: 130.8 kB / 443.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.203e-06/0.56, allocations: 0 / 443.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/0.5601, allocations: 11.19 kB / 443.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.938e-06/0.5601, allocations: 0 / 443.3 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.5603, allocations: 54.73 kB / 443.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008105/0.5611, allocations: 463.8 kB / 443.8 MB, free: 12.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002047/0.5613, allocations: 94 kB / 443.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000174/0.5615, allocations: 84.95 kB / 444 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.5615, allocations: 3.984 kB / 444 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003654/0.5619, allocations: 211.7 kB / 444.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.799e-06/0.5619, allocations: 0 / 444.2 MB, free: 11.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008067/0.5628, allocations: 391.2 kB / 444.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.5629, allocations: 164.9 kB / 444.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008206/0.5637, allocations: 468 kB / 445.2 MB, free: 10.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.192e-05/0.5638, allocations: 37.31 kB / 445.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.5639, allocations: 92.52 kB / 445.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.564, allocations: 30.77 kB / 445.4 MB, free: 10.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.693e-05/0.564, allocations: 4 kB / 445.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.5642, allocations: 322.8 kB / 445.7 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.5643, allocations: 54.44 kB / 445.7 MB, free: 10.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.5645, allocations: 54.23 kB / 445.8 MB, free: 10.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002241/0.5647, allocations: 168.3 kB / 446 MB, free: 10.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.472e-06/0.5648, allocations: 7.953 kB / 446 MB, free: 10.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007098/0.5655, allocations: 376.8 kB / 446.3 MB, free: 9.789 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001214/0.5656, allocations: 118.7 kB / 446.4 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.364e-06/0.5656, allocations: 0 / 446.4 MB, free: 9.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.5657, allocations: 4 kB / 446.4 MB, free: 9.648 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.173e-05/0.5657, allocations: 3.938 kB / 446.5 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.774e-06/0.5657, allocations: 0 / 446.5 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.5659, allocations: 11.98 kB / 446.5 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-05/0.566, allocations: 62.88 kB / 446.5 MB, free: 9.574 MB / 362.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.0002463/0.5663, allocations: 249.8 kB / 446.8 MB, free: 9.309 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.832e-05/0.5664, allocations: 39.48 kB / 446.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001627/0.5666, allocations: 70.48 kB / 446.9 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.098e-06/0.5666, allocations: 0 / 446.9 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.687e-06/0.5666, allocations: 112 / 446.9 MB, free: 9.211 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.283e-06/0.5666, allocations: 7.922 kB / 446.9 MB, free: 9.203 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.5679, allocations: 0.7958 MB / 447.7 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.518e-06/0.568, allocations: 0 / 447.7 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.569e-06/0.568, allocations: 0 / 447.7 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.215e-06/0.568, allocations: 11.94 kB / 447.7 MB, free: 8.422 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.673e-05/0.568, allocations: 8 kB / 447.7 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.827e-06/0.5681, allocations: 0 / 447.7 MB, free: 8.414 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.5681, allocations: 4 kB / 447.7 MB, free: 8.41 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008657/0.569, allocations: 0.5144 MB / 448.2 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004395/0.5694, allocations: 248.9 kB / 448.5 MB, free: 7.699 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.718e-05/0.5695, allocations: 11.5 kB / 448.5 MB, free: 7.691 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.5697, allocations: 15.98 kB / 448.5 MB, free: 7.676 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.5699, allocations: 26.72 kB / 448.5 MB, free: 7.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.148e-05/0.57, allocations: 59.92 kB / 448.6 MB, free: 7.598 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006405/0.5706, allocations: 380.7 kB / 448.9 MB, free: 7.289 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.5e-07/0.5706, allocations: 0 / 448.9 MB, free: 7.289 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004062/0.5711, allocations: 47.12 kB / 449 MB, free: 7.246 MB / 362.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.0001823/0.5713, allocations: 127.5 kB / 449.1 MB, free: 7.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006134/0.5719, allocations: 424.9 kB / 449.5 MB, free: 6.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.24e-06/0.5719, allocations: 4 kB / 449.5 MB, free: 6.738 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000406/0.5723, allocations: 370.4 kB / 449.9 MB, free: 6.406 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005792/0.5729, allocations: 103.1 kB / 450 MB, free: 6.312 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.5742, allocations: 0.5189 MB / 450.5 MB, free: 5.824 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006366/0.5748, allocations: 0.8144 MB / 451.3 MB, free: 4.996 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.363e-05/0.5749, allocations: 20.62 kB / 451.4 MB, free: 4.973 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.292e-05/0.5749, allocations: 11.44 kB / 451.4 MB, free: 4.961 MB / 362.7 MB Notification: Performance of SimCode: time 1.508e-06/0.5749, allocations: 0 / 451.4 MB, free: 4.961 MB / 362.7 MB Notification: Performance of Templates: time 0.009809/0.5848, allocations: 4.066 MB / 455.4 MB, free: 0.8555 MB / 362.7 MB