Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NXFER,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Digital_Examples_NXFER",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.757/2.757, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.863e-05/2.868e-05, allocations: 2.688 kB / 249.8 MB, free: 5.281 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 44.51 MB / 294.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.541/0.6494, allocations: 76.37 MB / 370.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/0.6497, allocations: 65.59 kB / 370.7 MB, free: 7.246 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06955/0.7193, allocations: 16.37 MB / 387.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.7193, allocations: 7.969 kB / 387.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.7194, allocations: 3.875 kB / 387.1 MB, free: 19.52 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.0007306/0.7201, allocations: 0.6055 MB / 387.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.7202, allocations: 11.62 kB / 387.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.919e-05/0.7203, allocations: 34.41 kB / 387.7 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.7204, allocations: 39.11 kB / 387.8 MB, free: 18.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.7208, allocations: 260.3 kB / 388 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.134e-05/0.7209, allocations: 3.906 kB / 388 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.341e-05/0.721, allocations: 7.688 kB / 388 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002278/0.7212, allocations: 52.98 kB / 388.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.7216, allocations: 122.6 kB / 388.2 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.7216, allocations: 0 / 388.2 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/0.7216, allocations: 4.438 kB / 388.2 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.7217, allocations: 3.953 kB / 388.2 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.7227, allocations: 427.6 kB / 388.6 MB, free: 18.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002505/0.723, allocations: 93.5 kB / 388.7 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.7232, allocations: 76.34 kB / 388.8 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.7233, allocations: 0 / 388.8 MB, free: 18.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003801/0.7237, allocations: 199.3 kB / 389 MB, free: 18.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.747e-06/0.7237, allocations: 0 / 389 MB, free: 18.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009015/0.7246, allocations: 284.7 kB / 389.3 MB, free: 17.97 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/0.7247, allocations: 169.2 kB / 389.4 MB, free: 17.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009198/0.7256, allocations: 445.4 kB / 389.9 MB, free: 17.56 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.41e-05/0.7257, allocations: 33.59 kB / 389.9 MB, free: 17.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.75e-05/0.7258, allocations: 95.64 kB / 390 MB, free: 17.44 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.607e-05/0.7259, allocations: 38.64 kB / 390 MB, free: 17.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.7259, allocations: 3.969 kB / 390 MB, free: 17.42 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.7261, allocations: 325.6 kB / 390.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.7263, allocations: 50.91 kB / 390.4 MB, free: 17.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.7265, allocations: 55.77 kB / 390.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001512/0.7267, allocations: 48.92 kB / 390.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.7267, allocations: 0 / 390.5 MB, free: 17.08 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007592/0.7274, allocations: 240.4 kB / 390.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.7276, allocations: 124.8 kB / 390.9 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.7276, allocations: 0 / 390.9 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.436e-05/0.7277, allocations: 0 / 390.9 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.805e-05/0.7277, allocations: 3.875 kB / 390.9 MB, free: 16.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.7277, allocations: 7.953 kB / 390.9 MB, free: 16.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.728, allocations: 19.61 kB / 390.9 MB, free: 16.87 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001053/0.7281, allocations: 62.25 kB / 390.9 MB, free: 16.86 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.0002967/0.7285, allocations: 245.8 kB / 391.2 MB, free: 16.62 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.837e-05/0.7286, allocations: 39.12 kB / 391.2 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.7288, allocations: 65.55 kB / 391.3 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.7288, allocations: 0 / 391.3 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.7288, allocations: 0 / 391.3 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.7289, allocations: 7.891 kB / 391.3 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.7302, allocations: 0.6245 MB / 391.9 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.7303, allocations: 4 kB / 391.9 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.376e-05/0.7303, allocations: 3.844 kB / 391.9 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.7304, allocations: 0 / 391.9 MB, free: 16.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.568e-05/0.7304, allocations: 22.14 kB / 391.9 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.7305, allocations: 3.938 kB / 392 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.7305, allocations: 3.953 kB / 392 MB, free: 16.18 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009069/0.7314, allocations: 384.1 kB / 392.3 MB, free: 16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005923/0.732, allocations: 255.4 kB / 392.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.7321, allocations: 15.14 kB / 392.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003184/0.7325, allocations: 15.48 kB / 392.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.7326, allocations: 26.88 kB / 392.6 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001046/0.7328, allocations: 61.64 kB / 392.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007378/0.7335, allocations: 370.4 kB / 393.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.973e-06/0.7335, allocations: 0 / 393.1 MB, free: 15.62 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005192/0.7341, allocations: 45.75 kB / 393.1 MB, free: 15.61 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.001403/0.7355, allocations: 0.9452 MB / 394 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000697/0.7362, allocations: 412.1 kB / 394.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.7362, allocations: 0 / 394.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004634/0.7367, allocations: 371.2 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.0009642/0.7377, allocations: 92.33 kB / 394.9 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001928/0.7396, allocations: 0.5931 MB / 395.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006818/0.7404, allocations: 0.8134 MB / 396.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.649e-05/0.7404, allocations: 3.828 kB / 396.3 MB, free: 13.27 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.412e-05/0.7405, allocations: 27.14 kB / 396.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of SimCode: time 1.613e-06/0.7405, allocations: 3.219 kB / 396.3 MB, free: 13.25 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2075/0.9481, allocations: 5.084 MB / 401.4 MB, free: 10.66 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003701/0.9485, allocations: 128.6 kB / 401.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.053/4.002, allocations: 3.938 kB / 401.6 MB, free: 10.47 MB / 314.7 MB "" Variables in the reference:time,nXFERGATE.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,nXFERGATE.enable,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.tHL,nXFERGATE.inertialDelaySensitive.tLH,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y0,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.nextstate,nXFERGATE.tHL,nXFERGATE.tLH,nXFERGATE.x,nXFERGATE.y,nXFERGATE.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