Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/2.999e-05, allocations: 6.031 kB / 292.1 MB, free: 8.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09202/0.09206, allocations: 50.42 MB / 342.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3654/0.4574, allocations: 82.45 MB / 425 MB, free: 11.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.4577, allocations: 64.66 kB / 425.1 MB, free: 11.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05294/0.5107, allocations: 16.71 MB / 441.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.22e-06/0.5107, allocations: 4 kB / 441.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.5107, allocations: 4 kB / 441.8 MB, free: 13.65 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.0007275/0.5115, allocations: 0.6143 MB / 442.4 MB, free: 12.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.5115, allocations: 8.031 kB / 442.4 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.345e-05/0.5116, allocations: 35.62 kB / 442.4 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003575/0.512, allocations: 251.8 kB / 442.7 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.512, allocations: 7.875 kB / 442.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.955e-05/0.5121, allocations: 8 kB / 442.7 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003128/0.5124, allocations: 127.2 kB / 442.8 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.553e-06/0.5125, allocations: 4 kB / 442.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.206e-05/0.5125, allocations: 7.984 kB / 442.8 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.314e-06/0.5125, allocations: 4 kB / 442.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.5127, allocations: 50.67 kB / 442.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008031/0.5135, allocations: 473.8 kB / 443.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002046/0.5137, allocations: 97.94 kB / 443.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.5139, allocations: 80.91 kB / 443.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.927e-06/0.5139, allocations: 0 / 443.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003579/0.5143, allocations: 210.3 kB / 443.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.668e-06/0.5143, allocations: 0 / 443.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008258/0.5152, allocations: 391.2 kB / 444.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.5153, allocations: 168.9 kB / 444.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007771/0.5161, allocations: 463.9 kB / 444.7 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.5162, allocations: 33.64 kB / 444.8 MB, free: 10.72 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.5163, allocations: 161.2 kB / 444.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.5164, allocations: 22.97 kB / 444.9 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.361e-05/0.5164, allocations: 7.812 kB / 445 MB, free: 10.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5166, allocations: 318.8 kB / 445.3 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.5167, allocations: 59.22 kB / 445.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.5169, allocations: 58.98 kB / 445.4 MB, free: 10.14 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.5171, allocations: 170.1 kB / 445.5 MB, free: 9.969 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.696e-06/0.5172, allocations: 3.953 kB / 445.6 MB, free: 9.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000697/0.5179, allocations: 364.2 kB / 445.9 MB, free: 9.629 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001219/0.518, allocations: 125.5 kB / 446 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.518, allocations: 4 kB / 446 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.5181, allocations: 0 / 446 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.128e-05/0.5181, allocations: 0 / 446 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.058e-06/0.5181, allocations: 3.938 kB / 446 MB, free: 9.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.5183, allocations: 12 kB / 446.1 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.785e-05/0.5184, allocations: 63.92 kB / 446.1 MB, free: 9.406 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.0002382/0.5187, allocations: 243.4 kB / 446.4 MB, free: 9.148 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/0.5187, allocations: 43.48 kB / 446.4 MB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.5189, allocations: 68.91 kB / 446.5 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.002e-06/0.519, allocations: 0 / 446.5 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.757e-06/0.519, allocations: 112 / 446.5 MB, free: 9.047 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.935e-06/0.519, allocations: 3.938 kB / 446.5 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.5203, allocations: 0.7924 MB / 447.3 MB, free: 8.277 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.549e-06/0.5203, allocations: 4 kB / 447.3 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.25e-06/0.5203, allocations: 7.938 kB / 447.3 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.628e-06/0.5203, allocations: 0 / 447.3 MB, free: 8.266 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-05/0.5204, allocations: 14.98 kB / 447.3 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.601e-06/0.5204, allocations: 4 kB / 447.3 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.635e-06/0.5204, allocations: 0 / 447.3 MB, free: 8.25 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008587/0.5213, allocations: 0.515 MB / 447.8 MB, free: 7.758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004369/0.5217, allocations: 248.8 kB / 448 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/0.5218, allocations: 11.88 kB / 448.1 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.5221, allocations: 12 kB / 448.1 MB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.5222, allocations: 36.27 kB / 448.1 MB, free: 7.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.133e-05/0.5223, allocations: 55.94 kB / 448.2 MB, free: 7.434 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006393/0.523, allocations: 386.6 kB / 448.5 MB, free: 7.121 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.523, allocations: 0 / 448.5 MB, free: 7.121 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004024/0.5234, allocations: 44 kB / 448.6 MB, free: 7.078 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.0001835/0.5236, allocations: 129.8 kB / 448.7 MB, free: 6.949 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006084/0.5242, allocations: 424.6 kB / 449.1 MB, free: 6.574 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.5242, allocations: 0 / 449.1 MB, free: 6.574 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004178/0.5247, allocations: 375.5 kB / 449.5 MB, free: 6.238 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005646/0.5252, allocations: 99.02 kB / 449.6 MB, free: 6.148 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.5265, allocations: 0.5609 MB / 450.1 MB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006499/0.5272, allocations: 0.8138 MB / 451 MB, free: 4.793 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.5272, allocations: 11.44 kB / 451 MB, free: 4.781 MB / 362.7 MB Notification: Performance of SimCode: time 3.907e-06/0.5273, allocations: 0 / 451 MB, free: 4.781 MB / 362.7 MB Notification: Performance of Templates: time 0.005536/0.5328, allocations: 2.628 MB / 453.6 MB, free: 2.125 MB / 362.7 MB