Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Digital.Examples.NRXFER") Notification: Performance of loadModel(Modelica): time 1.921/1.921, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.547e-05/3.552e-05, allocations: 7.984 kB / 292.1 MB, free: 8.855 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.08952, allocations: 50.41 MB / 342.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3577/0.4473, allocations: 82.46 MB / 425 MB, free: 11.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002078/0.4475, allocations: 64.5 kB / 425.1 MB, free: 11.67 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05139/0.4989, allocations: 16.7 MB / 441.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.947e-06/0.499, allocations: 0 / 441.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.499, allocations: 8 kB / 441.8 MB, free: 13.7 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.0007032/0.4997, allocations: 0.6151 MB / 442.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.4998, allocations: 8.031 kB / 442.4 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.424e-05/0.4999, allocations: 31.62 kB / 442.4 MB, free: 13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.5002, allocations: 258.2 kB / 442.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.759e-05/0.5003, allocations: 4 kB / 442.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.5003, allocations: 8 kB / 442.7 MB, free: 12.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003097/0.5006, allocations: 128.1 kB / 442.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.47e-06/0.5007, allocations: 4 kB / 442.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.974e-05/0.5007, allocations: 4 kB / 442.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-06/0.5007, allocations: 0 / 442.8 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.5009, allocations: 58.86 kB / 442.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008006/0.5017, allocations: 471.9 kB / 443.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.502, allocations: 99.31 kB / 443.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.5021, allocations: 77.09 kB / 443.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.5022, allocations: 0 / 443.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003568/0.5025, allocations: 211.3 kB / 443.7 MB, free: 11.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 5.436e-06/0.5026, allocations: 3.984 kB / 443.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007908/0.5034, allocations: 387.9 kB / 444.1 MB, free: 11.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.5035, allocations: 169.8 kB / 444.3 MB, free: 11.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007745/0.5043, allocations: 468.4 kB / 444.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.5044, allocations: 29.7 kB / 444.8 MB, free: 10.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.5045, allocations: 163.4 kB / 444.9 MB, free: 10.61 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.438e-05/0.5045, allocations: 27.45 kB / 445 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.331e-05/0.5046, allocations: 4 kB / 445 MB, free: 10.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.5048, allocations: 317.8 kB / 445.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.5049, allocations: 56.36 kB / 445.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.5051, allocations: 57.61 kB / 445.4 MB, free: 10.19 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.5053, allocations: 168.7 kB / 445.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.395e-06/0.5053, allocations: 3.953 kB / 445.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007247/0.5061, allocations: 372.6 kB / 445.9 MB, free: 9.676 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.5062, allocations: 121.8 kB / 446 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.5062, allocations: 0 / 446 MB, free: 9.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.5063, allocations: 7.938 kB / 446 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.688e-05/0.5063, allocations: 0 / 446 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.225e-06/0.5063, allocations: 0 / 446 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002048/0.5065, allocations: 15.23 kB / 446 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.399e-05/0.5066, allocations: 64 kB / 446.1 MB, free: 9.453 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,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.0002325/0.5069, allocations: 245 kB / 446.4 MB, free: 9.191 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.524e-05/0.507, allocations: 39.48 kB / 446.4 MB, free: 9.152 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.5071, allocations: 69.98 kB / 446.5 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.922e-06/0.5072, allocations: 0 / 446.5 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.455e-06/0.5072, allocations: 112 / 446.5 MB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.792e-06/0.5072, allocations: 3.938 kB / 446.5 MB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.5085, allocations: 0.795 MB / 447.3 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.022e-06/0.5085, allocations: 0 / 447.3 MB, free: 8.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-06/0.5085, allocations: 4 kB / 447.3 MB, free: 8.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.699e-06/0.5085, allocations: 4 kB / 447.3 MB, free: 8.312 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.5086, allocations: 15.11 kB / 447.3 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.347e-06/0.5086, allocations: 0 / 447.3 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.775e-06/0.5086, allocations: 4 kB / 447.3 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000849/0.5095, allocations: 0.5122 MB / 447.8 MB, free: 7.809 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004437/0.5099, allocations: 248.4 kB / 448 MB, free: 7.586 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.539e-05/0.51, allocations: 11.12 kB / 448 MB, free: 7.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.5103, allocations: 19.48 kB / 448.1 MB, free: 7.562 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.5104, allocations: 34.95 kB / 448.1 MB, free: 7.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-05/0.5105, allocations: 55.94 kB / 448.2 MB, free: 7.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006244/0.5111, allocations: 380.2 kB / 448.5 MB, free: 7.172 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.68e-07/0.5112, allocations: 3.938 kB / 448.5 MB, free: 7.168 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003936/0.5116, allocations: 47.88 kB / 448.6 MB, free: 7.125 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,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.0001756/0.5117, allocations: 121.2 kB / 448.7 MB, free: 7.004 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006072/0.5124, allocations: 432.8 kB / 449.1 MB, free: 6.621 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.5124, allocations: 0 / 449.1 MB, free: 6.621 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004188/0.5128, allocations: 368.8 kB / 449.5 MB, free: 6.289 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.5134, allocations: 101.4 kB / 449.6 MB, free: 6.199 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.5146, allocations: 0.565 MB / 450.1 MB, free: 5.668 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006211/0.5153, allocations: 0.8125 MB / 451 MB, free: 4.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.449e-05/0.5153, allocations: 11.44 kB / 451 MB, free: 4.828 MB / 362.7 MB Notification: Performance of SimCode: time 1.454e-06/0.5153, allocations: 0 / 451 MB, free: 4.828 MB / 362.7 MB Notification: Performance of Templates: time 0.005506/0.5209, allocations: 2.628 MB / 453.6 MB, free: 2.164 MB / 362.7 MB