Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.566/2.566, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.265e-05, allocations: 4.5 kB / 249.7 MB, free: 5.23 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1149, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5347/0.6496, allocations: 76.36 MB / 370.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.6499, allocations: 69.05 kB / 370.7 MB, free: 7.254 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0656/0.7155, allocations: 16.36 MB / 387 MB, free: 19.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7156, allocations: 0 / 387 MB, free: 19.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.479e-05/0.7156, allocations: 3.781 kB / 387.1 MB, free: 19.54 MB / 314.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.0007063/0.7163, allocations: 0.6139 MB / 387.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/0.7164, allocations: 7.719 kB / 387.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.392e-05/0.7165, allocations: 43.8 kB / 387.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.7166, allocations: 35.14 kB / 387.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004058/0.717, allocations: 257.5 kB / 388 MB, free: 18.64 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.7171, allocations: 9.25 kB / 388 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-05/0.7171, allocations: 7.719 kB / 388 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002284/0.7174, allocations: 50.77 kB / 388.1 MB, free: 18.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003427/0.7177, allocations: 119.9 kB / 388.2 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.7178, allocations: 0 / 388.2 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.254e-05/0.7178, allocations: 7.938 kB / 388.2 MB, free: 18.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.654e-06/0.7179, allocations: 3.953 kB / 388.2 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009427/0.7188, allocations: 437.2 kB / 388.6 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.7191, allocations: 91.89 kB / 388.7 MB, free: 18.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.7193, allocations: 74.53 kB / 388.8 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.7194, allocations: 7.094 kB / 388.8 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003864/0.7198, allocations: 195.5 kB / 389 MB, free: 18.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.777e-06/0.7198, allocations: 3.938 kB / 389 MB, free: 18.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009035/0.7207, allocations: 274 kB / 389.3 MB, free: 17.98 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.201e-05/0.7208, allocations: 164.9 kB / 389.4 MB, free: 17.79 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000919/0.7217, allocations: 449.1 kB / 389.9 MB, free: 17.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.877e-05/0.7218, allocations: 33.61 kB / 389.9 MB, free: 17.53 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.7219, allocations: 97.23 kB / 390 MB, free: 17.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.793e-05/0.722, allocations: 34.52 kB / 390 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.722, allocations: 0 / 390 MB, free: 17.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.7222, allocations: 325.2 kB / 390.3 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/0.7224, allocations: 57.33 kB / 390.4 MB, free: 17.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.7226, allocations: 58.64 kB / 390.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.7227, allocations: 37.64 kB / 390.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.7228, allocations: 3.875 kB / 390.5 MB, free: 17.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008019/0.7236, allocations: 248.1 kB / 390.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.7237, allocations: 122.1 kB / 390.8 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.7238, allocations: 0 / 390.8 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.04e-05/0.7238, allocations: 0 / 390.8 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.846e-05/0.7238, allocations: 7.969 kB / 390.9 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.7239, allocations: 7.938 kB / 390.9 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002942/0.7242, allocations: 11.78 kB / 390.9 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/0.7243, allocations: 61.84 kB / 390.9 MB, free: 16.88 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,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.0002986/0.7246, allocations: 251.9 kB / 391.2 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.049e-05/0.7247, allocations: 38.84 kB / 391.2 MB, free: 16.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.7249, allocations: 61.84 kB / 391.3 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.725, allocations: 7.922 kB / 391.3 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.725, allocations: 0 / 391.3 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.725, allocations: 3.953 kB / 391.3 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.7264, allocations: 0.6225 MB / 391.9 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.7264, allocations: 0 / 391.9 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.375e-05/0.7265, allocations: 3.188 kB / 391.9 MB, free: 16.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.313e-06/0.7265, allocations: 15.86 kB / 391.9 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.123e-05/0.7265, allocations: 13.16 kB / 391.9 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.7266, allocations: 0 / 391.9 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.7266, allocations: 7.938 kB / 392 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009604/0.7275, allocations: 391.1 kB / 392.3 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006105/0.7282, allocations: 248.5 kB / 392.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.7283, allocations: 10.44 kB / 392.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003296/0.7286, allocations: 14.42 kB / 392.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.7288, allocations: 27.69 kB / 392.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/0.729, allocations: 63.09 kB / 392.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007874/0.7298, allocations: 368.5 kB / 393.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.633e-06/0.7298, allocations: 0 / 393.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005529/0.7304, allocations: 45.97 kB / 393.1 MB, free: 15.62 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,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.00147/0.7318, allocations: 0.9472 MB / 394 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007398/0.7326, allocations: 416 kB / 394.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.7326, allocations: 0 / 394.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.7331, allocations: 374.4 kB / 394.8 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009715/0.7341, allocations: 87.16 kB / 394.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.7362, allocations: 0.5948 MB / 395.5 MB, free: 14.04 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006736/0.7369, allocations: 0.8158 MB / 396.3 MB, free: 13.28 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.396e-05/0.737, allocations: 8.531 kB / 396.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.425e-05/0.7371, allocations: 18.88 kB / 396.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of SimCode: time 1.684e-06/0.7371, allocations: 3.875 kB / 396.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06011/0.7972, allocations: 5.092 MB / 401.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000361/0.7976, allocations: 129.8 kB / 401.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.282/4.08, allocations: 0 / 401.6 MB, free: 10.47 MB / 314.7 MB "" Variables in the reference:time,nRXFERGATE.y Variables in the result:_D_whenCondition1,_D_whenCondition2,e_table.n,e_table.t[1],e_table.t[2],e_table.t[3],e_table.x[1],e_table.x[2],e_table.x[3],e_table.y,e_table.y0,nRXFERGATE.enable,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.tHL,nRXFERGATE.inertialDelaySensitive.tLH,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y0,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.nextstate,nRXFERGATE.tHL,nRXFERGATE.tLH,nRXFERGATE.x,nRXFERGATE.y,nRXFERGATE.yy,time,x_table.n,x_table.t[1],x_table.t[2],x_table.x[1],x_table.x[2],x_table.y,x_table.y0