Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Digital.Examples.NXFER") Notification: Performance of loadModel(Modelica): time 1.56/1.56, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.269e-05/3.279e-05, allocations: 7.938 kB / 225 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2275, allocations: 38.76 MB / 263.7 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1288/0.3564, allocations: 71.72 MB / 335.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/0.3566, allocations: 67.97 kB / 335.5 MB, free: 1.98 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05227/0.4089, allocations: 16.46 MB / 352 MB, free: 1.535 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.726e-06/0.4089, allocations: 0 / 352 MB, free: 1.535 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.409, allocations: 8 kB / 352 MB, free: 1.527 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.000699/0.4097, allocations: 0.6135 MB / 352.6 MB, free: 0.8438 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.4097, allocations: 8.031 kB / 352.6 MB, free: 0.8359 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.053e-05/0.4098, allocations: 39.53 kB / 352.7 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003584/0.4102, allocations: 253.5 kB / 352.9 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.908e-05/0.4103, allocations: 7.938 kB / 352.9 MB, free: 0.5 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/0.4103, allocations: 8 kB / 352.9 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003292/0.4106, allocations: 125.6 kB / 353 MB, free: 372 kB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.609e-06/0.4107, allocations: 4 kB / 353 MB, free: 368 kB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.145e-05/0.4107, allocations: 8 kB / 353.1 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.842e-06/0.4107, allocations: 4 kB / 353.1 MB, free: 356 kB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.4109, allocations: 55.98 kB / 353.1 MB, free: 300 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008367/0.4118, allocations: 464.5 kB / 353.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.412, allocations: 90.56 kB / 353.7 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.4122, allocations: 84.91 kB / 353.7 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.4122, allocations: 4 kB / 353.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003576/0.4126, allocations: 205 kB / 353.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.062e-06/0.4126, allocations: 0 / 353.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008238/0.4134, allocations: 392.1 kB / 354.3 MB, free: 14.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.4136, allocations: 166.2 kB / 354.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007939/0.4144, allocations: 470.5 kB / 354.9 MB, free: 14.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.4145, allocations: 29.7 kB / 355 MB, free: 14.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.4146, allocations: 167.5 kB / 355.1 MB, free: 14.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.824e-05/0.4147, allocations: 31.64 kB / 355.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-05/0.4147, allocations: 0 / 355.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4149, allocations: 326.8 kB / 355.5 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.415, allocations: 55.92 kB / 355.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.4152, allocations: 59.98 kB / 355.6 MB, free: 13.63 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.4154, allocations: 165.9 kB / 355.8 MB, free: 13.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.898e-06/0.4155, allocations: 4 kB / 355.8 MB, free: 13.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007086/0.4162, allocations: 360.3 kB / 356.1 MB, free: 13.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/0.4163, allocations: 122.8 kB / 356.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.346e-06/0.4163, allocations: 0 / 356.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.4164, allocations: 0 / 356.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.255e-05/0.4164, allocations: 7.984 kB / 356.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.079e-06/0.4164, allocations: 0 / 356.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.4166, allocations: 15.94 kB / 356.3 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.213e-05/0.4167, allocations: 55.94 kB / 356.3 MB, free: 12.84 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.0002459/0.417, allocations: 253.9 kB / 356.6 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/0.4171, allocations: 35.62 kB / 356.6 MB, free: 12.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001605/0.4172, allocations: 67.42 kB / 356.7 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.653e-06/0.4172, allocations: 3.984 kB / 356.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.4173, allocations: 0 / 356.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.669e-06/0.4173, allocations: 64 / 356.7 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.4186, allocations: 0.798 MB / 357.5 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.341e-06/0.4187, allocations: 4 kB / 357.5 MB, free: 11.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.371e-06/0.4187, allocations: 4 kB / 357.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4187, allocations: 0 / 357.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.835e-05/0.4187, allocations: 12 kB / 357.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.227e-06/0.4188, allocations: 3.984 kB / 357.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.871e-06/0.4188, allocations: 0 / 357.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000883/0.4197, allocations: 0.5292 MB / 358 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004355/0.4201, allocations: 248.3 kB / 358.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.373e-05/0.4202, allocations: 12 kB / 358.3 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.4204, allocations: 12 kB / 358.3 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.4206, allocations: 27.97 kB / 358.3 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.417e-05/0.4207, allocations: 63.92 kB / 358.4 MB, free: 10.59 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006376/0.4213, allocations: 380.9 kB / 358.7 MB, free: 10.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.4214, allocations: 0 / 358.7 MB, free: 10.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003948/0.4218, allocations: 48 kB / 358.8 MB, free: 10.18 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.0001726/0.4219, allocations: 115 kB / 358.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006455/0.4226, allocations: 433.5 kB / 359.3 MB, free: 9.582 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.788e-06/0.4226, allocations: 0 / 359.3 MB, free: 9.582 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004342/0.4231, allocations: 373.6 kB / 359.7 MB, free: 9.168 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.4236, allocations: 96.77 kB / 359.8 MB, free: 9.078 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.4249, allocations: 0.5639 MB / 360.4 MB, free: 8.484 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000623/0.4256, allocations: 0.8104 MB / 361.2 MB, free: 7.645 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.558e-05/0.4256, allocations: 15.44 kB / 361.2 MB, free: 7.629 MB / 314.7 MB Notification: Performance of SimCode: time 1.653e-06/0.4256, allocations: 0 / 361.2 MB, free: 7.629 MB / 314.7 MB Notification: Performance of Templates: time 0.005486/0.4311, allocations: 2.628 MB / 363.8 MB, free: 4.941 MB / 314.7 MB